Home
last modified time | relevance | path

Searched refs:bias (Results 1 – 25 of 1147) sorted by relevance

12345678910>>...46

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconv_test.cc40 Tensor<Linear, DataType::FLOAT32> bias; in TEST() local
41 bias.shape.v = 2; in TEST()
42 bias.id = 1; in TEST()
43 bias.data = {1, 1}; in TEST()
44 attr.bias = std::move(bias); in TEST()
78 Tensor<Linear, DataType::FLOAT32> bias; in TEST() local
79 bias.shape.v = 2; in TEST()
80 bias.id = 1; in TEST()
81 bias.data.push_back(0.0); in TEST()
82 attr.bias = std::move(bias); in TEST()
[all …]
Dtranspose_conv_test.cc40 Tensor<Linear, DataType::FLOAT32> bias; in TEST() local
41 bias.shape.v = 2; in TEST()
42 bias.id = 1; in TEST()
43 bias.data = {1, 1}; in TEST()
44 attr.bias = std::move(bias); in TEST()
79 Tensor<Linear, DataType::FLOAT32> bias; in TEST() local
80 bias.shape.v = 2; in TEST()
81 bias.id = 1; in TEST()
82 bias.data.push_back(0.0); in TEST()
83 attr.bias = std::move(bias); in TEST()
[all …]
Ddepthwise_conv_test.cc40 Tensor<Linear, DataType::FLOAT32> bias; in TEST() local
41 bias.shape.v = 4; in TEST()
42 bias.id = 1; in TEST()
43 bias.data = {1, 2, 3, 4}; in TEST()
44 attr.bias = std::move(bias); in TEST()
78 Tensor<Linear, DataType::FLOAT32> bias; in TEST() local
79 bias.shape.v = 4; in TEST()
80 bias.id = 1; in TEST()
81 bias.data = {0, 0}; in TEST()
82 attr.bias = std::move(bias); in TEST()
[all …]
/external/u-boot/arch/arm/dts/
Dmeson-gxl.dtsi119 bias-disable;
128 bias-disable;
136 bias-disable;
144 bias-disable;
153 bias-disable;
161 bias-disable;
170 bias-disable;
178 bias-disable;
186 bias-disable;
194 bias-disable;
[all …]
Dmeson-g12-common.dtsi206 bias-disable;
214 bias-disable;
230 bias-pull-up;
237 bias-disable;
246 bias-pull-down;
255 bias-pull-down;
265 bias-disable;
274 bias-disable;
283 bias-disable;
293 bias-disable;
[all …]
Dhikey960-pinctrl.dtsi333 pinctrl-single,bias-pulldown = <
339 pinctrl-single,bias-pullup = <
355 pinctrl-single,bias-pulldown = <
361 pinctrl-single,bias-pullup = <
376 pinctrl-single,bias-pulldown = <
382 pinctrl-single,bias-pullup = <
397 pinctrl-single,bias-pulldown = <
403 pinctrl-single,bias-pullup = <
420 pinctrl-single,bias-pulldown = <
426 pinctrl-single,bias-pullup = <
[all …]
Dat91-sama5d2_xplained.dts146 bias-disable;
154 bias-disable;
159 bias-disable;
181 bias-disable;
186 bias-disable;
200 bias-disable;
206 bias-disable;
215 bias-pull-up;
229 bias-pull-up;
238 bias-disable;
[all …]
/external/angle/third_party/glslang/src/Test/
Dspv.textureGatherBiasLod.frag16 in float bias;
27 texel += textureGather(s2D, c2, 0, bias);
28 texel += textureGather(s2DArray, c3, 1, bias);
29 texel += textureGather(sCube, c3, 2, bias);
30 texel += textureGather(sCubeArray, c4, 3, bias);
32 texel += textureGatherOffset(s2D, c2, offsets[0], 0, bias);
33 texel += textureGatherOffset(s2DArray, c3, offsets[1], 1, bias);
35 texel += textureGatherOffsets(s2D, c2, offsets, 0, bias);
36 texel += textureGatherOffsets(s2DArray, c3, offsets, 1, bias);
38 sparseTextureGatherARB(s2D, c2, result, 0, bias);
[all …]
Dtexture.frag20 float bias = 2.0;
29 color += texture1D (texSampler1D, coords1D, bias);
32 color += texture1DProj(texSampler1D, coords2D, bias);
33 color += texture1DProj(texSampler1D, coords4D, bias);
36 color += texture2D (texSampler2D, coords2D, bias);
38 color += texture2DProj (texSampler2D, coords4D, bias);
41 color += texture3D (texSampler3D, coords3D, bias);
43 color += texture3DProj (texSampler3D, coords4D, bias);
46 color += textureCube (texSamplerCube, coords3D, bias);
49 color += shadow1D (shadowSampler1D, coords3D, bias);
[all …]
Dspv.texture.frag20 float bias = 2.0;
29 color += texture (texSampler1D, coords1D, bias);
32 color += textureProj(texSampler1D, coords2D, bias);
33 color += textureProj(texSampler1D, coords4D, bias);
36 color += texture (texSampler2D, coords2D, bias);
38 color += textureProj (texSampler2D, coords4D, bias);
41 color += texture (texSampler3D, coords3D, bias);
43 color += textureProj (texSampler3D, coords4D, bias);
46 color += texture (texSamplerCube, coords3D, bias);
49 color += texture (shadowSampler1D, coords3D, bias);
[all …]
/external/deqp-deps/glslang/Test/
Dspv.textureGatherBiasLod.frag16 in float bias;
27 texel += textureGather(s2D, c2, 0, bias);
28 texel += textureGather(s2DArray, c3, 1, bias);
29 texel += textureGather(sCube, c3, 2, bias);
30 texel += textureGather(sCubeArray, c4, 3, bias);
32 texel += textureGatherOffset(s2D, c2, offsets[0], 0, bias);
33 texel += textureGatherOffset(s2DArray, c3, offsets[1], 1, bias);
35 texel += textureGatherOffsets(s2D, c2, offsets, 0, bias);
36 texel += textureGatherOffsets(s2DArray, c3, offsets, 1, bias);
38 sparseTextureGatherARB(s2D, c2, result, 0, bias);
[all …]
Dtexture.frag20 float bias = 2.0;
29 color += texture1D (texSampler1D, coords1D, bias);
32 color += texture1DProj(texSampler1D, coords2D, bias);
33 color += texture1DProj(texSampler1D, coords4D, bias);
36 color += texture2D (texSampler2D, coords2D, bias);
38 color += texture2DProj (texSampler2D, coords4D, bias);
41 color += texture3D (texSampler3D, coords3D, bias);
43 color += texture3DProj (texSampler3D, coords4D, bias);
46 color += textureCube (texSamplerCube, coords3D, bias);
49 color += shadow1D (shadowSampler1D, coords3D, bias);
[all …]
Dspv.texture.frag20 float bias = 2.0;
29 color += texture (texSampler1D, coords1D, bias);
32 color += textureProj(texSampler1D, coords2D, bias);
33 color += textureProj(texSampler1D, coords4D, bias);
36 color += texture (texSampler2D, coords2D, bias);
38 color += textureProj (texSampler2D, coords4D, bias);
41 color += texture (texSampler3D, coords3D, bias);
43 color += textureProj (texSampler3D, coords4D, bias);
46 color += texture (texSamplerCube, coords3D, bias);
49 color += texture (shadowSampler1D, coords3D, bias);
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/
Dfuse_mul_to_conv_test.cc43 conv_attr.bias.shape = Linear(16); in TEST()
44 conv_attr.bias.data.resize(16); in TEST()
100 conv_attr.bias.shape = Linear(16); in TEST()
101 conv_attr.bias.data.resize(16); in TEST()
137 attr.bias.shape = Linear(2); in TEST()
138 attr.bias.data = {1.5f, 2.5f}; in TEST()
151 EXPECT_THAT(attr.bias.data, Pointwise(FloatNear(1e-6), {0.75f, 5.0f})); in TEST()
158 attr.bias.shape = Linear(4); in TEST()
159 attr.bias.data = {1.5f, 2.5f, 1.0f, 2.0f}; in TEST()
172 EXPECT_THAT(attr.bias.data, in TEST()
[all …]
Dfuse_add_to_conv_test.cc42 conv_attr.bias.shape = Linear(16); in TEST()
43 conv_attr.bias.data.resize(16); in TEST()
93 conv_attr.bias.shape = Linear(16); in TEST()
94 conv_attr.bias.data.resize(16); in TEST()
136 attr.bias.shape = Linear(2); in TEST()
137 attr.bias.data = {1.1f, 1.2f}; in TEST()
150 EXPECT_THAT(attr.bias.data, Pointwise(FloatNear(1e-6), {1.4f, 1.9f})); in TEST()
157 attr.bias.shape = Linear(4); in TEST()
158 attr.bias.data = {1.1f, 1.2f, 1.3f, 1.4f}; in TEST()
171 EXPECT_THAT(attr.bias.data, in TEST()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dfully_connected.cc70 const TfLiteTensor* bias, TfLiteTensor* output, in CheckTypes() argument
80 const bool is_optional_bias_float = !bias || (bias->type == kTfLiteFloat32); in CheckTypes()
82 !bias || (bias->type == kTfLiteInt32) || (bias->type == kTfLiteInt64); in CheckTypes()
143 const TfLiteTensor* bias = in PrepareImpl() local
151 CheckTypes(context, input, filter, bias, output, params)); in PrepareImpl()
164 if (bias) { in PrepareImpl()
165 TF_LITE_ENSURE_EQ(context, NumElements(bias), SizeOfDimension(filter, 0)); in PrepareImpl()
174 context, input, filter, bias, output, &real_multiplier)); in PrepareImpl()
279 const TfLiteTensor* bias, TfLiteTensor* output) { in EvalPie() argument
290 if (bias) { in EvalPie()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/
Dconv_test.mm59 Tensor<Linear, DataType::FLOAT32> bias;
60 bias.shape.v = 2;
61 bias.id = 1;
62 bias.data = {1, 1};
63 attr.bias = std::move(bias);
97 Tensor<Linear, DataType::FLOAT32> bias;
98 bias.shape.v = 2;
99 bias.id = 1;
100 bias.data.push_back(0.0);
101 attr.bias = std::move(bias);
[all …]
Dtranspose_conv_test.mm58 Tensor<Linear, DataType::FLOAT32> bias;
59 bias.shape.v = 2;
60 bias.id = 1;
61 bias.data = {1, 1};
62 attr.bias = std::move(bias);
97 Tensor<Linear, DataType::FLOAT32> bias;
98 bias.shape.v = 2;
99 bias.id = 1;
100 bias.data.push_back(0.0);
101 attr.bias = std::move(bias);
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp64 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference() argument
87 … float r = projectedTriInterpolate(triR[triNdx], triW[triNdx], triNx, triNy) * scale[0] + bias[0]; in renderReference()
88 … float g = projectedTriInterpolate(triG[triNdx], triW[triNdx], triNx, triNy) * scale[1] + bias[1]; in renderReference()
89 … float b = projectedTriInterpolate(triB[triNdx], triW[triNdx], triNx, triNy) * scale[2] + bias[2]; in renderReference()
213 tcu::Vec3 bias = -1.0f*m_min*scale; in iterate() local
216 (0.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (1.0f - bias[2])/scale[2], in iterate()
217 (0.5f - bias[0])/scale[0], (1.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
218 (0.5f - bias[0])/scale[0], (0.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
219 (1.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (0.0f - bias[2])/scale[2] in iterate()
222 …g::Message << "a_coords = " << ((tcu::Vec3(0.0f) - bias)/scale) << " -> " << ((tcu::Vec3(1.0f) - b… in iterate()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp66 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference() argument
89 … float r = projectedTriInterpolate(triR[triNdx], triW[triNdx], triNx, triNy) * scale[0] + bias[0]; in renderReference()
90 … float g = projectedTriInterpolate(triG[triNdx], triW[triNdx], triNx, triNy) * scale[1] + bias[1]; in renderReference()
91 … float b = projectedTriInterpolate(triB[triNdx], triW[triNdx], triNx, triNy) * scale[2] + bias[2]; in renderReference()
219 tcu::Vec3 bias = -1.0f*m_min*scale; in iterate() local
222 (0.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (1.0f - bias[2])/scale[2], in iterate()
223 (0.5f - bias[0])/scale[0], (1.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
224 (0.5f - bias[0])/scale[0], (0.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
225 (1.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (0.0f - bias[2])/scale[2] in iterate()
228 …g::Message << "a_coords = " << ((tcu::Vec3(0.0f) - bias)/scale) << " -> " << ((tcu::Vec3(1.0f) - b… in iterate()
[all …]
/external/elfutils/libdwfl/
Ddwfl_report_elf.c63 GElf_Addr start = 0, end = 0, bias = 0; in __libdwfl_elf_address_range() local
90 || (bias == 0 && end > start && end != next)) in __libdwfl_elf_address_range()
143 if (first || bias > shdr->sh_addr) in __libdwfl_elf_address_range()
145 bias = shdr->sh_addr; in __libdwfl_elf_address_range()
147 if ((shdr->sh_addr - bias + base) & (align - 1)) in __libdwfl_elf_address_range()
152 + (bias & (align - 1))); in __libdwfl_elf_address_range()
159 if (bias != 0) in __libdwfl_elf_address_range()
165 end = end - bias + start; in __libdwfl_elf_address_range()
166 bias = start - bias; in __libdwfl_elf_address_range()
198 bias = base; in __libdwfl_elf_address_range()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/
Dfully_connected.cc54 const TfLiteTensor* bias, TfLiteTensor* output, in CalculateOpData() argument
60 context, input, filter, bias, output, &real_multiplier)); in CalculateOpData()
87 const TfLiteTensor* bias, TfLiteTensor* output) { in EvalQuantizedInt8() argument
101 GetTensorShape(bias), GetTensorData<int32_t>(bias), in EvalQuantizedInt8()
109 const TfLiteTensor* filter, const TfLiteTensor* bias, in EvalQuantized() argument
129 GetTensorShape(bias), GetTensorData<int32_t>(bias), \ in EvalQuantized()
151 const TfLiteTensor* bias, TfLiteTensor* output) { in EvalFloat() argument
161 GetTensorShape(bias), GetTensorData<float>(bias), GetTensorShape(output), in EvalFloat()
172 const TfLiteTensor* bias = GetOptionalInputTensor(context, node, kBiasTensor); in Eval() local
179 filter, bias, output, data)); in Eval()
[all …]
/external/libaom/libaom/test/
Dcnn_test.cc115 float *bias) { in AssignLayerWeightsBiases() argument
121 layer_config->bias = bias + bias_offset; in AssignLayerWeightsBiases()
128 ASSERT_NE(layer_config->bias, nullptr); in AssignLayerWeightsBiases()
177 float bias[] = { in TEST_F() local
311 AssignLayerWeightsBiases(&cnn_config, weights, bias); in TEST_F()
362 float bias[] = { -3 }; in TEST_F() local
378 bias, in TEST_F()
412 float bias[] = { 2 }; in TEST_F() local
429 bias, in TEST_F()
526 float bias[] = { in TEST_F() local
[all …]
/external/arm-trusted-firmware/fdts/
Dstm32mp157-pinctrl.dtsi153 bias-disable;
159 bias-pull-up;
169 bias-disable;
175 bias-pull-up;
187 bias-disable;
193 bias-pull-up;
202 bias-disable;
217 bias-disable;
223 bias-disable;
234 bias-pull-up;
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/arc/
Dfully_connected.cc56 const TfLiteTensor* bias, TfLiteTensor* output, in CalculateOpData() argument
62 context, input, filter, bias, output, &real_multiplier)); in CalculateOpData()
89 const TfLiteTensor* bias, TfLiteTensor* output) { in EvalQuantizedInt8() argument
105 ConvertToMliTensor<int32_t>(bias, &mli_bias); in EvalQuantizedInt8()
141 GetTensorShape(bias), GetTensorData<int32_t>(bias), in EvalQuantizedInt8()
150 const TfLiteTensor* filter, const TfLiteTensor* bias, in EvalQuantized() argument
170 GetTensorShape(bias), GetTensorData<int32_t>(bias), \ in EvalQuantized()
192 const TfLiteTensor* bias, TfLiteTensor* output) { in EvalFloat() argument
202 GetTensorShape(bias), GetTensorData<float>(bias), GetTensorShape(output), in EvalFloat()
213 const TfLiteTensor* bias = GetOptionalInputTensor(context, node, kBiasTensor); in Eval() local
[all …]

12345678910>>...46