Home
last modified time | relevance | path

Searched refs:flat (Results 1 – 25 of 1383) sorted by relevance

12345678910>>...56

/external/llvm/lib/Target/AMDGPU/
DCIInstructions.td114 flat<0x8, 0x10>, "flat_load_ubyte", VGPR_32
117 flat<0x9, 0x11>, "flat_load_sbyte", VGPR_32
120 flat<0xa, 0x12>, "flat_load_ushort", VGPR_32
123 flat<0xb, 0x13>, "flat_load_sshort", VGPR_32>
126 flat<0xc, 0x14>, "flat_load_dword", VGPR_32
129 flat<0xd, 0x15>, "flat_load_dwordx2", VReg_64
132 flat<0xe, 0x17>, "flat_load_dwordx4", VReg_128
135 flat<0xf, 0x16>, "flat_load_dwordx3", VReg_96
138 flat<0x18>, "flat_store_byte", VGPR_32
141 flat <0x1a>, "flat_store_short", VGPR_32
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dquantized_batch_norm_op.cc39 auto input_flat = input.flat<T1>(); in ReferenceBatchNorm()
40 auto mean_flat = mean.flat<T1>(); in ReferenceBatchNorm()
41 auto var_flat = var.flat<T1>(); in ReferenceBatchNorm()
42 auto beta_flat = beta.flat<T1>(); in ReferenceBatchNorm()
43 auto gamma_flat = gamma.flat<T1>(); in ReferenceBatchNorm()
44 auto output_flat = output->flat<T2>(); in ReferenceBatchNorm()
102 auto input_flat = input.flat<T1>(); in FixedPointBatchNorm()
103 auto mean_flat = mean.flat<T1>(); in FixedPointBatchNorm()
104 auto var_flat = var.flat<T1>(); in FixedPointBatchNorm()
105 auto beta_flat = beta.flat<T1>(); in FixedPointBatchNorm()
[all …]
Dquantized_activation_ops.cc35 const float min_input = context->input(1).flat<float>()(0); in Compute()
36 const float max_input = context->input(2).flat<float>()(0); in Compute()
43 auto input_ui8_array = input.flat<quint8>(); in Compute()
45 min_as_quantized, 255, output->flat<quint8>().data()); in Compute()
47 output->flat<T>().device(context->eigen_cpu_device()) = in Compute()
48 input.flat<T>().cwiseMax(min_as_quantized).template cast<T>(); in Compute()
53 output_min->flat<float>()(0) = min_input; in Compute()
56 output_max->flat<float>()(0) = max_input; in Compute()
68 const float min_input = context->input(1).flat<float>()(0); in Compute()
69 const float max_input = context->input(2).flat<float>()(0); in Compute()
[all …]
Drelu_op.h40 functor(context->eigen_device<Device>(), input.flat<T>(), in Operate()
41 output->flat<T>()); in Operate()
88 functor(context->eigen_device<Device>(), g.flat<T>(), a.flat<T>(), in OperateNoTemplate()
89 output->flat<T>()); in OperateNoTemplate()
99 functor(context->eigen_device<Device>(), input.flat<T>(), in Operate()
100 output->flat<T>()); in Operate()
130 functor(context->eigen_device<Device>(), g.flat<T>(), a.flat<T>(), in OperateNoTemplate()
131 output->flat<T>()); in OperateNoTemplate()
146 functor(context->eigen_device<Device>(), input.flat<T>(), alpha_, in Operate()
147 output->flat<T>()); in Operate()
[all …]
Drestore_v2_op_test.cc210 EXPECT_EQ(i != 0, output->flat<bool>()(i)); in RunTest()
216 (*mutable_input(1).tensor).flat<string>()(0) = tensor_names[1]; in RunTest()
222 EXPECT_EQ(i + 1, output->flat<int32>()(i)); in RunTest()
228 (*mutable_input(1).tensor).flat<string>()(0) = tensor_names[2]; in RunTest()
234 EXPECT_EQ(static_cast<float>(i) / 10, output->flat<float>()(i)); in RunTest()
240 (*mutable_input(1).tensor).flat<string>()(0) = tensor_names[3]; in RunTest()
246 EXPECT_EQ(static_cast<double>(i) / 20, output->flat<double>()(i)); in RunTest()
252 (*mutable_input(1).tensor).flat<string>()(0) = tensor_names[4]; in RunTest()
258 EXPECT_EQ(*reinterpret_cast<qint8*>(&i), output->flat<qint8>()(i)); in RunTest()
264 (*mutable_input(1).tensor).flat<string>()(0) = tensor_names[5]; in RunTest()
[all …]
Dencode_wav_op_test.cc64 const int sample_rate = outputs[1].flat<int32>()(0); in TEST()
69 EXPECT_NEAR(0.0f, audio.flat<float>()(0), 1e-4f); in TEST()
70 EXPECT_NEAR(0.5f, audio.flat<float>()(1), 1e-4f); in TEST()
71 EXPECT_NEAR(1.0f, audio.flat<float>()(2), 1e-4f); in TEST()
72 EXPECT_NEAR(-1.0f, audio.flat<float>()(3), 1e-4f); in TEST()
73 EXPECT_NEAR(0.25f, audio.flat<float>()(4), 1e-4f); in TEST()
74 EXPECT_NEAR(0.75f, audio.flat<float>()(5), 1e-4f); in TEST()
75 EXPECT_NEAR(1.0f, audio.flat<float>()(6), 1e-4f); in TEST()
76 EXPECT_NEAR(-0.5f, audio.flat<float>()(7), 1e-4f); in TEST()
Drequantize.cc42 const float input_min_float = ctx->input(1).flat<float>()(0); in Compute()
43 const float input_max_float = ctx->input(2).flat<float>()(0); in Compute()
44 const float requested_output_min_float = ctx->input(3).flat<float>()(0); in Compute()
45 const float requested_output_max_float = ctx->input(4).flat<float>()(0); in Compute()
64 auto input_array = input.flat<T1>(); in Compute()
68 auto output_array = output->flat<T2>(); in Compute()
79 auto input_i32_array = input.flat<qint32>(); in Compute()
83 output->flat<quint8>().data()); in Compute()
92 output_min->flat<float>().setConstant(requested_output_min_float); in Compute()
93 output_max->flat<float>().setConstant(requested_output_max_float); in Compute()
Dparameterized_truncated_normal_op_test.cc30 shape_t.flat<int32>().setValues({num_batches, samples_per_batch}); in PTruncatedNormal()
34 means_t.flat<float>().setConstant(0.0); in PTruncatedNormal()
36 stdevs_t.flat<float>().setConstant(1.0); in PTruncatedNormal()
39 minvals_t.flat<float>().setRandom(); in PTruncatedNormal()
41 maxvals_t.flat<float>().setConstant(5.0); in PTruncatedNormal()
59 shape_t.flat<int32>().setValues({num_batches, samples_per_batch}); in PTruncatedNormal2SD()
62 means_t.flat<float>().setConstant(0.0); in PTruncatedNormal2SD()
64 stdevs_t.flat<float>().setConstant(1.0); in PTruncatedNormal2SD()
66 minvals_t.flat<float>().setConstant(-2.0); in PTruncatedNormal2SD()
68 maxvals_t.flat<float>().setConstant(2.0); in PTruncatedNormal2SD()
[all …]
Dquantized_pooling_ops.cc63 const float min_input = context->input(1).flat<float>()(0); in Compute()
64 const float max_input = context->input(2).flat<float>()(0); in Compute()
84 int32_input.flat<int32>() = tensor_in.flat<T>().template cast<int32>(); in Compute()
89 output->flat<T>() = int32_output.flat<int32>() in Compute()
96 output_min->flat<float>()(0) = min_input; in Compute()
99 output_max->flat<float>()(0) = max_input; in Compute()
115 const float min_input = context->input(1).flat<float>()(0); in Compute()
116 const float max_input = context->input(2).flat<float>()(0); in Compute()
120 output_min->flat<float>()(0) = min_input; in Compute()
123 output_max->flat<float>()(0) = max_input; in Compute()
/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil.h41 std::copy_n(vals.data(), vals.size(), ret.flat<T>().data()); in AsTensor()
58 auto flat = tensor->flat<T>(); in FillValues() local
59 CHECK_EQ(flat.size(), vals.size()); in FillValues()
60 if (flat.size() > 0) { in FillValues()
61 std::copy_n(vals.data(), vals.size(), flat.data()); in FillValues()
68 auto flat = tensor->flat<T>(); in FillValues() local
69 CHECK_EQ(flat.size(), vals.size()); in FillValues()
70 if (flat.size() > 0) { in FillValues()
73 flat(i) = T(*itr); in FillValues()
83 auto flat = tensor->flat<T>(); in FillIota() local
[all …]
Dtensor_util_test.cc78 x.flat<float>()(0) = 10.0; in TEST()
82 y.flat<float>()(0) = 20.0; in TEST()
85 EXPECT_EQ(10.0, x.flat<float>()(0)); in TEST()
88 x.flat<float>()(0) = 30.0; in TEST()
91 EXPECT_EQ(20.0, y.flat<float>()(0)); in TEST()
96 y.flat<float>()(0) = 40.0; in TEST()
99 EXPECT_EQ(20.0, z.flat<float>()(0)); in TEST()
100 EXPECT_EQ(30.0, x.flat<float>()(0)); in TEST()
101 EXPECT_EQ(40.0, y.flat<float>()(0)); in TEST()
114 str1.flat<string>()(0) = "foo1"; in TEST()
[all …]
/external/libaom/libaom/aom_dsp/mips/
Dloopfilter_8_msa.c19 v16u8 mask, hev, flat, thresh, b_limit, limit; in aom_lpf_horizontal_8_msa() local
34 mask, flat); in aom_lpf_horizontal_8_msa()
35 AOM_FLAT4(p3, p2, p0, q0, q2, q3, flat); in aom_lpf_horizontal_8_msa()
38 flat = (v16u8)__msa_ilvr_d((v2i64)zero, (v2i64)flat); in aom_lpf_horizontal_8_msa()
40 if (__msa_test_bz_v(flat)) { in aom_lpf_horizontal_8_msa()
58 p2_out = __msa_bmnz_v(p2, (v16u8)p2_filter8, flat); in aom_lpf_horizontal_8_msa()
59 p1_out = __msa_bmnz_v(p1_out, (v16u8)p1_filter8, flat); in aom_lpf_horizontal_8_msa()
60 p0_out = __msa_bmnz_v(p0_out, (v16u8)p0_filter8, flat); in aom_lpf_horizontal_8_msa()
61 q0_out = __msa_bmnz_v(q0_out, (v16u8)q0_filter8, flat); in aom_lpf_horizontal_8_msa()
62 q1_out = __msa_bmnz_v(q1_out, (v16u8)q1_filter8, flat); in aom_lpf_horizontal_8_msa()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dloopfilter_8_msa.c19 v16u8 mask, hev, flat, thresh, b_limit, limit; in vpx_lpf_horizontal_8_msa() local
34 mask, flat); in vpx_lpf_horizontal_8_msa()
35 VP9_FLAT4(p3, p2, p0, q0, q2, q3, flat); in vpx_lpf_horizontal_8_msa()
38 flat = (v16u8)__msa_ilvr_d((v2i64)zero, (v2i64)flat); in vpx_lpf_horizontal_8_msa()
40 if (__msa_test_bz_v(flat)) { in vpx_lpf_horizontal_8_msa()
58 p2_out = __msa_bmnz_v(p2, (v16u8)p2_filter8, flat); in vpx_lpf_horizontal_8_msa()
59 p1_out = __msa_bmnz_v(p1_out, (v16u8)p1_filter8, flat); in vpx_lpf_horizontal_8_msa()
60 p0_out = __msa_bmnz_v(p0_out, (v16u8)p0_filter8, flat); in vpx_lpf_horizontal_8_msa()
61 q0_out = __msa_bmnz_v(q0_out, (v16u8)q0_filter8, flat); in vpx_lpf_horizontal_8_msa()
62 q1_out = __msa_bmnz_v(q1_out, (v16u8)q1_filter8, flat); in vpx_lpf_horizontal_8_msa()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dany_extend_vector_inreg.ll9 ; GCN: {{buffer|flat}}_store_byte
10 ; GCN: {{buffer|flat}}_store_byte
11 ; GCN: {{buffer|flat}}_store_byte
12 ; GCN: {{buffer|flat}}_store_byte
14 ; GCN: {{buffer|flat}}_store_byte
15 ; GCN: {{buffer|flat}}_store_byte
16 ; GCN: {{buffer|flat}}_store_byte
17 ; GCN: {{buffer|flat}}_store_byte
19 ; GCN: {{buffer|flat}}_store_byte
20 ; GCN: {{buffer|flat}}_store_byte
[all …]
Dattr-unparseable.ll24 ; CHECK: can't parse first integer attribute amdgpu-flat-work-group-size
29 attributes #3 = {"amdgpu-flat-work-group-size"}
31 ; CHECK: can't parse first integer attribute amdgpu-flat-work-group-size
36 attributes #4 = {"amdgpu-flat-work-group-size"="k"}
38 ; CHECK: can't parse second integer attribute amdgpu-flat-work-group-size
43 attributes #5 = {"amdgpu-flat-work-group-size"="1"}
45 ; CHECK: can't parse second integer attribute amdgpu-flat-work-group-size
50 attributes #6 = {"amdgpu-flat-work-group-size"="1,k"}
52 ; CHECK: can't parse second integer attribute amdgpu-flat-work-group-size
57 attributes #7 = {"amdgpu-flat-work-group-size"="1,2,3"}
/external/libaom/libaom/aom_dsp/x86/
Dloopfilter_sse2.c249 __m128i mask, flat, hev; in lpf_internal_4_sse2() local
259 flat = abs_diff(q1p1, q0p0); in lpf_internal_4_sse2()
264 flat = _mm_max_epu8(flat, _mm_srli_si128(flat, 4)); in lpf_internal_4_sse2()
265 hev = _mm_unpacklo_epi8(flat, zero); in lpf_internal_4_sse2()
279 mask = _mm_unpacklo_epi32(mask, flat); in lpf_internal_4_sse2()
302 __m128i flat = abs_diff(q1p1, q0p0); in lpf_internal_4_dual_sse2() local
307 flat = _mm_max_epu8(flat, _mm_srli_si128(flat, 8)); in lpf_internal_4_dual_sse2()
308 hev = _mm_unpacklo_epi8(flat, zero); in lpf_internal_4_dual_sse2()
321 mask = _mm_unpacklo_epi64(mask, flat); in lpf_internal_4_dual_sse2()
400 __m128i mask, hev, flat, flat2; in lpf_internal_14_dual_sse2() local
[all …]
Dhighbd_loopfilter_sse2.c158 int start, int end, __m128i *flat) { in flat_mask_internal() argument
172 *flat = _mm_cmpeq_epi16(ft, zero); in flat_mask_internal()
177 __m128i *flat) { in flat_mask_internal_dual() argument
191 *flat = _mm_cmpeq_epi16(ft, zero); in flat_mask_internal_dual()
194 static INLINE void highbd_flat_mask4_sse2(__m128i *pq, __m128i *flat, in highbd_flat_mask4_sse2() argument
199 flat_mask_internal(&th, pq, 1, 4, flat); in highbd_flat_mask4_sse2()
204 const __m128i *q, __m128i *flat, in highbd_flat_mask4_dual_sse2() argument
209 flat_mask_internal_dual(&th, p, q, 1, 4, flat); in highbd_flat_mask4_dual_sse2()
348 __m128i flat, flat2; in highbd_lpf_internal_14_sse2() local
349 highbd_flat_mask4_sse2(pq, &flat, &flat2, bd); in highbd_lpf_internal_14_sse2()
[all …]
/external/libcap/libcap/
Dcap_file.c78 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
80 result->u[i].flat[CAP_PERMITTED] in _fcaps_load()
83 result->u[i].flat[CAP_EFFECTIVE] in _fcaps_load()
84 = result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
85 | result->u[i].flat[CAP_PERMITTED]; in _fcaps_load()
89 result->u[i].flat[CAP_INHERITABLE] in _fcaps_load()
90 = result->u[i].flat[CAP_PERMITTED] in _fcaps_load()
91 = result->u[i].flat[CAP_EFFECTIVE] = 0; in _fcaps_load()
142 eff_not_zero |= cap_d->u[i].flat[CAP_EFFECTIVE]; in _fcaps_save()
145 if ((cap_d->u[i].flat[CAP_EFFECTIVE] in _fcaps_save()
[all …]
/external/swiftshader/src/Renderer/
DSetupProcessor.cpp112 state.gradient[interpolant][component].flat = false; in update()
118 state.fog.flat = false; in update()
146 bool flat = point; in update() local
150 case Shader::USAGE_TEXCOORD: flat = point && !sprite; break; in update()
151 case Shader::USAGE_COLOR: flat = semantic.flat || flatShading; break; in update()
155 state.gradient[interpolant][component].flat = flat; in update()
174 state.gradient[interpolant][component].flat = semantic.flat || (point && !sprite); in update()
178 state.gradient[interpolant][component].flat = semantic.flat || flatShading; in update()
195 state.texture[coordinate][component].flat = point && !sprite; in update()
208 state.color[color][component].flat = flatShading; in update()
[all …]
/external/deqp/data/gles31/shaders/es32/
Dlinkage_tessellation_geometry_varying_types.test916 flat out mediump int vtx_var;
927 flat in mediump int vtx_var[];
928 flat out mediump int tc_out[];
938 flat in mediump int tc_out[];
939 flat out mediump int te_out;
949 flat in mediump int te_out[];
950 flat out mediump int geo_out;
964 flat in int geo_out;
984 flat out mediump ivec2 vtx_var;
995 flat in mediump ivec2 vtx_var[];
[all …]
Dlinkage_tessellation_varying_types.test721 flat out mediump int vtx_var;
732 flat in mediump int vtx_var[];
733 flat out mediump int tc_out[];
743 flat in mediump int tc_out[];
744 flat out mediump int te_out;
754 flat in int te_out;
774 flat out mediump ivec2 vtx_var;
785 flat in mediump ivec2 vtx_var[];
786 flat out mediump ivec2 tc_out[];
796 flat in mediump ivec2 tc_out[];
[all …]
/external/deqp/data/gles31/shaders/es31/
Dlinkage_tessellation_varying_types.test717 flat out mediump int vtx_var;
728 flat in mediump int vtx_var[];
729 flat out mediump int tc_out[];
739 flat in mediump int tc_out[];
740 flat out mediump int te_out;
750 flat in int te_out;
771 flat out mediump ivec2 vtx_var;
782 flat in mediump ivec2 vtx_var[];
783 flat out mediump ivec2 tc_out[];
793 flat in mediump ivec2 tc_out[];
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.intrinsics.double.frag.out38 0:? 'inDV1a' (layout( location=0) flat in double)
41 0:? 'inDV1b' (layout( location=1) flat in double)
44 0:? 'inDV1c' (layout( location=2) flat in double)
47 0:? 'inDV2' (layout( location=3) flat in 2-component vector of double)
50 0:? 'inDV3' (layout( location=4) flat in 3-component vector of double)
53 0:? 'inDV4' (layout( location=6) flat in 4-component vector of double)
56 0:? 'inU1a' (layout( location=8) flat in uint)
59 0:? 'inU1b' (layout( location=9) flat in uint)
73 0:? 'inDV1a' (layout( location=0) flat in double)
74 0:? 'inDV1b' (layout( location=1) flat in double)
[all …]
/external/deqp-deps/glslang/Test/
Dspv.bitCast.frag3 flat in int i1;
4 flat in ivec2 i2;
5 flat in ivec3 i3;
6 flat in ivec4 i4;
8 flat in uint u1;
9 flat in uvec2 u2;
10 flat in uvec3 u3;
11 flat in uvec4 u4;
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_loopfilter_sse2.c58 __m128i mask, hev, flat, flat2, abs_p1p0, abs_q1q0; in vpx_highbd_lpf_horizontal_16_sse2() local
113 flat = _mm_max_epi16(abs_p1p0, abs_q1q0); in vpx_highbd_lpf_horizontal_16_sse2()
114 hev = _mm_subs_epu16(flat, thresh_v); in vpx_highbd_lpf_horizontal_16_sse2()
186 flat = _mm_max_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
192 flat = _mm_max_epi16(work, flat); in vpx_highbd_lpf_horizontal_16_sse2()
194 flat = _mm_max_epi16(work, flat); in vpx_highbd_lpf_horizontal_16_sse2()
197 flat = _mm_subs_epu16(flat, one); in vpx_highbd_lpf_horizontal_16_sse2()
199 flat = _mm_subs_epu16(flat, _mm_slli_epi16(one, 2)); in vpx_highbd_lpf_horizontal_16_sse2()
201 flat = _mm_subs_epu16(flat, _mm_slli_epi16(one, 4)); in vpx_highbd_lpf_horizontal_16_sse2()
203 flat = _mm_cmpeq_epi16(flat, zero); in vpx_highbd_lpf_horizontal_16_sse2()
[all …]

12345678910>>...56