Searched refs:val0 (Results 1 - 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
H A Dresolve_constant_binary.cc132 const auto val0 = input0_data[Offset(input0_shape, input0_indices)]; local
137 outval = val0 + val1;
139 outval = val0 * val1;
141 outval = val0 - val1;
143 outval = val0 / val1;
145 outval = floor(val0 / val1);
147 outval = val0 - (floor(val0 / val1) * val1);
149 outval = std::min(val0, val1);
151 outval = std::max(val0, val
[all...]
/external/libvpx/libvpx/vpx_dsp/mips/
H A Dintrapred_msa.c156 uint32_t val0, val1; local
162 val0 = LW(src_top);
164 INSERT_W2_SB(val0, val1, src);
170 val0 = __msa_copy_u_w((v4i32)store, 0);
172 SW4(val0, val0, val0, val0, dst, dst_stride);
177 uint32_t val0; local
182 val0
205 uint64_t val0, val1; local
231 uint64_t val0; local
[all...]
/external/opencv/cv/src/
H A Dcvcalccontrasthistogram.cpp123 int val0 = chdims[t + 128];
125 array[val0] += MIN( t - v1_r, v2_r - t );
126 n[val0]++;
137 int val0 = chdims[t + 128];
139 array[val0] += MIN( t - v1_d, v2_d - t );
140 n[val0]++;
243 int val0 = chdims[t + 128];
245 array[val0] += MIN( t - v1_r, v2_r - t );
246 n[val0]++;
261 int val0
[all...]
H A Dcvfloodfill.cpp102 int val0[] = {0,0,0}; local
112 val0[0] = img[L];
117 while( ++R < roi.width && img[R] == val0[0] )
120 while( --L >= 0 && img[L] == val0[0] )
126 ICV_SET_C3( val0, img + L*3 );
131 while( --L >= 0 && ICV_EQ_C3( img + L*3, val0 ))
134 while( ++R < roi.width && ICV_EQ_C3( img + R*3, val0 ))
177 if( (unsigned)i < (unsigned)roi.width && img[i] == val0[0] )
181 while( --j >= 0 && img[j] == val0[0] )
184 while( ++i < roi.width && img[i] == val0[
234 int val0[] = {0,0,0}; local
382 int sum[] = {0,0,0}, val0[] = {0,0,0}; local
688 double sum[] = {0,0,0}, val0[] = {0,0,0}; local
[all...]
H A Dcvsurf.cpp200 float val0 = hessian[j]; local
201 if( val0 > params->hessianThreshold )
220 if( val0 < hessian[0] || val0 < hessian[1] || val0 < hessian[2] ||
221 val0 < hessian[hcols_z] || val0 < hessian[hcols_z+1] ||
222 val0 < hessian[hcols_z+2] || val0 < hessian[hcols_z*2] ||
223 val0 < hessia
[all...]
/external/eigen/Eigen/src/Core/
H A DArray.h178 EIGEN_STRONG_INLINE Array(const T0& val0, const T1& val1) argument
181 this->template _init2<T0,T1>(val0, val1);
203 Array(const Scalar& val0, const Scalar& val1);
208 EIGEN_STRONG_INLINE Array(const Scalar& val0, const Scalar& val1, const Scalar& val2) argument
212 m_storage.data()[0] = val0;
218 EIGEN_STRONG_INLINE Array(const Scalar& val0, const Scalar& val1, const Scalar& val2, const Scalar& val3) argument
222 m_storage.data()[0] = val0;
H A DPlainObjectBase.h744 EIGEN_STRONG_INLINE void _init2(const T0& val0, const T1& val1, typename internal::enable_if<Base::SizeAtCompileTime==2,T0>::type* = 0) argument
747 m_storage.data()[0] = Scalar(val0);
753 EIGEN_STRONG_INLINE void _init2(const Index& val0, const Index& val1, argument
760 m_storage.data()[0] = Scalar(val0);
782 EIGEN_STRONG_INLINE void _init1(const Scalar& val0, typename internal::enable_if<Base::SizeAtCompileTime==1 && internal::is_convertible<T, Scalar>::value,T>::type* = 0) argument
785 m_storage.data()[0] = val0;
791 EIGEN_STRONG_INLINE void _init1(const Index& val0, argument
798 m_storage.data()[0] = Scalar(val0);
847 EIGEN_STRONG_INLINE void _init1(const Scalar& val0, argument
853 Base::setConstant(val0);
859 _init1(const Index& val0, typename internal::enable_if< (!internal::is_same<Index,Scalar>::value) && (internal::is_same<Index,T>::value) && Base::SizeAtCompileTime!=Dynamic && Base::SizeAtCompileTime!=1 && internal::is_convertible<T, Scalar>::value && internal::is_same<typename internal::traits<Derived>::XprKind,ArrayXpr>::value,T*>::type* = 0) argument
[all...]
/external/tensorflow/tensorflow/core/kernels/
H A Dmerge_v2_checkpoints_op_test.cc96 Tensor val0; local
97 TF_EXPECT_OK(reader.Lookup("tensor0", &val0));
99 val0);
H A Dremote_fused_graph_execute_op_test_utils.h32 static Status BuildAddGraph(const string& name0, const float val0,
H A Dremote_fused_graph_execute_op_test_utils.cc44 const string& name0, const float val0, const string& name1,
47 Output node0 = ops::Const(root.WithOpName(name0), val0);
43 BuildAddGraph( const string& name0, const float val0, const string& name1, const float val1, const string& name_out, GraphDef* graph_def) argument
/external/libldac/src/
H A Dbitalloc_sub_ldac.c94 int bitlen, vmin, vmax, val0, val1; local
101 vmin = vmax = val0 = p_idsf[0] + p_tbl[0];
110 p_idsf_dif[iqu] = val1 - val0;
111 val0 = val1;
117 val0 = p_idsf_dif[iqu] & p_hcsf->mask;
118 val1 += hc_len_ldac(p_hcsf->p_tbl+val0);
H A Dpack_ldac.c168 int dif, val0, val1; local
178 val0 = p_ac->a_idsf[0] + p_tbl[0];
180 pack_store_ldac(val0-p_ac->sfc_offset, p_ac->sfc_bitlen, p_stream, p_loc);
185 dif = (val1 - val0) & p_hcsf->mask;
187 val0 = val1;
/external/tensorflow/tensorflow/contrib/opt/python/training/
H A Dmoving_average_optimizer_test.py135 val0 = var0.eval()
141 for i in six.moves.range(len(val0)):
142 self.assertLess(val0[i], avg_val0[i])
153 val0 = var0.eval()
155 self.assertAllCloseAccordingToType([0.6, 1.6], val0)
161 for i in six.moves.range(len(val0)):
162 self.assertLess(val0[i], avg_val0[i])
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
H A DPropertiesTest.java129 Object val0 = getSampleValueForType(field.getType(), 0);
132 assertNotEquals(val0, val1);
133 setter.invoke(p1, val0);
134 setter.invoke(p2, val0);
138 assertEquals(getter.invoke(p1), val0);
144 assertNotEquals(getter.invoke(p1), val0);
146 setter.invoke(p1, val0);
169 setter.invoke(p1, val0);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DPropertiesTest.java126 Object val0 = getSampleValueForType(field.getType(), 0);
129 assertNotEquals(val0, val1);
130 setter.invoke(p1, val0);
131 setter.invoke(p2, val0);
135 assertEquals(getter.invoke(p1), val0);
141 assertNotEquals(getter.invoke(p1), val0);
143 setter.invoke(p1, val0);
166 setter.invoke(p1, val0);
/external/tensorflow/tensorflow/python/training/
H A Dftrl_test.py268 val0, val1 = self.applyOptimizer(
283 self.assertAllCloseAccordingToType(val0, val2)
289 val0, val1 = self.applyOptimizer(
307 self.assertAllCloseAccordingToType(val0, val2)
313 val0, val1 = self.applyOptimizer(
330 self.assertAllCloseAccordingToType(val0, val2)
336 val0, val1 = self.applyOptimizer(
350 self.assertAllCloseAccordingToType(val0, val2)
H A Dproximal_gradient_descent_test.py178 val0, val1 = self.applyOptimizer(
189 self.assertAllClose(val0, val2)
194 val0, val1 = self.applyOptimizer(
204 self.assertAllClose(val0, val2)
H A Dproximal_adagrad_test.py210 val0, val1 = self.applyOptimizer(
222 self.assertAllClose(val0, val2)
227 val0, val1 = self.applyOptimizer(
241 self.assertAllClose(val0, val2)
/external/opencv/cvaux/src/
H A Dcamshift.cpp122 int val0 = color_data[x*3]; local
125 if( m_min_ch_val[0] <= val0 && val0 <= m_max_ch_val[0] &&
132 planes[0][x] = (uchar)val0;
H A Dcvsegment.cpp100 int val0[3]; local
107 val0[0] = img[seed.x*3];
108 val0[1] = img[seed.x*3 + 1];
109 val0[2] = img[seed.x*3 + 2];
111 while( DIFF( img + (R+1)*3, /*img + R*3*/val0 ) && !mask[R + 1] )
114 while( DIFF( img + (L-1)*3, /*img + L*3*/val0 ) && !mask[L - 1] )
152 if( !mask[i] && DIFF( img + i*3, /*img - curstep + i*3*/val0 ))
156 while( !mask[j - 1] && DIFF( img + (j - 1)*3, /*img + j*3*/val0 ))
160 (DIFF( img + (i+1)*3, /*img + i*3*/val0 ) ||
161 (DIFF( img + (i+1)*3, /*img + (i+1)*3 - curstep*/val0)
[all...]
/external/ltp/testcases/kernel/fs/ftest/
H A Dftest04.c214 char val, val0; local
280 val0 = 0;
305 /* Have to fill the val0 and val iov buffers in a different manner */
307 memset(val0_iovec[i].iov_base, val0,
353 me, CHUNK(chunk), val0,
461 val0 = val++;
H A Dftest08.c227 char val, val0; local
290 val0 = 0;
315 /* Have to fill the val0 and val iov buffers in a different manner
318 memset(val0_iovec[i].iov_base, val0,
368 me, CHUNK(chunk), val0,
481 val0 = val++;
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_from_tgsi.cpp2326 Value *val0 = NULL;
2336 val0 = getScratch();
2337 mkOp2(OP_MAX, TYPE_F32, val0, fetchSrc(0, 0), zero);
2339 mkMov(dst0[1], val0);
2354 mkCmp(OP_SLCT, CC_GT, TYPE_F32, dst0[2], TYPE_F32, val3, zero, val0);
2987 Value *val0, *val1;
3067 val0 = getScratch();
3068 mkOp1(OP_ABS, TYPE_F32, val0, src0);
3069 mkOp1(OP_RSQ, TYPE_F32, val0, val0);
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_stipple.c78 const float *val0 = v0->data[attr]; local
83 newv[i] = val0[i] + t * (val1[i] - val0[i]);
/external/opencv/cxcore/src/
H A Dcxmathfuncs.cpp829 int val0, val1, val2, val3, t; local
843 val0 = cvRound(x0);
848 x0 = (x0 - val0)*exp_postscale;
853 t = (val0 >> EXPTAB_SCALE) + 1023;
869 x0 = buf[0].d * icvExpTab[val0 & EXPTAB_MASK] * EXPPOLY( x0 );
885 int val0, t; local
890 val0 = cvRound(x0);
891 t = (val0 >> EXPTAB_SCALE) + 1023;
895 x0 = (x0 - val0)*exp_postscale;
897 y[i] = (float)(buf[0].d * icvExpTab[val0
936 int val0, val1, val2, val3, t; local
996 int val0, t; local
[all...]

Completed in 885 milliseconds

12