/external/tensorflow/tensorflow/contrib/fused_conv/kernels/ |
fused_conv2d_bias_activation_op.cc | 81 // BiasType is the element type of the bias tensor, which can be different. 182 // Input bias is a 1-D tensor, with size matching output depth. 183 const Tensor& bias = context->input(kBias); variable 184 OP_REQUIRES_OK(context, CheckShape(bias, "bias")); 242 side_input, side_input_scale, bias, activation_mode_, 314 const Tensor& bias, const Tensor* side_input, 326 bias.shape().AsProto(instr.mutable_bias()->mutable_tensor_shape()); 327 instr.mutable_bias()->set_dtype(bias.dtype()); 445 ScaleType side_input_scale, const Tensor& bias, [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
conv_ops_fused_impl.h | 153 // depends only on a channel value (e.g. add channel bias). 169 typename Unaligned<T>::ConstTensor bias(bias_base, num_rows); 174 const auto expr = output + bias; 393 // Bias of the following dimensions: [ output_depth ] 394 const Tensor& bias = context->input(2); local 396 TF_REQUIRES(bias.dims() == 1, 397 errors::InvalidArgument("bias must be 1-dimensional", 398 bias.shape().DebugString())); 400 InitDataPtr(bias, &args->bias_add_data); 597 // Bias of the following dimensions: [ output_depth 598 const Tensor& bias = context->input(2); local [all...] |
conv_ops_test.cc | 622 ops::Const(root.WithOpName("bias"), Input::Initializer(bias_data))); 641 ops::Const(root.WithOpName("bias"), Input::Initializer(bias_data))); 760 Tensor bias(dtype, {bias_size}); 761 bias.flat<T>() = bias.flat<T>().setRandom(); 762 bias.flat<T>() += bias.flat<T>().constant(static_cast<T>(0.5f)); 767 run_default(image, filter, bias, &conv_2d); 768 run_fused(image, filter, bias, &fused_conv_2d); 1074 Node* bias; member in struct:tensorflow::Conv2DWithBiasGraph 1080 Node* bias; member in struct:tensorflow::Conv2DWithBiasAndReluGraph 1137 Node* bias = test::graph::Constant(graph, bias_t, "bias"); local 1161 Node* bias = conv_graph.bias; local 1242 Node* bias = test::graph::Constant(graph, bias_t, "bias"); local [all...] |
/external/tensorflow/tensorflow/lite/c/ |
builtin_op_data.h | 185 float bias; member in struct:__anon45861
|
/external/tensorflow/tensorflow/lite/kernels/ |
lstm.cc | 81 // Gates bias tensors of size {n_cell} 89 // Projection bias tensor of size {n_output} 214 // Make sure the input gate bias is present only when not a CIFG-LSTM. 254 // 1) If projection weight is not present, then projection bias should not be 256 // 2) If projection weight is present, then projection bias is optional. 678 const TfLiteTensor* bias = GetInput(context, node, kInputBiases); local 694 TF_LITE_ENSURE_EQ(context, bias->dims->size, 1); 695 TF_LITE_ENSURE_EQ(context, bias->dims->data[0], 4 * activation_depth); 738 const TfLiteTensor* bias = GetInput(context, node, kInputBiases); local [all...] |
/external/webp/src/enc/ |
predictor_enc.c | 158 const int bias = ((boundary - value) & 0xff) < boundary_residual; local 159 if (residual - lower < upper - residual + bias) {
|
/external/wpa_supplicant_8/hostapd/ |
config_file.c | 2190 struct acs_bias *bias = NULL, *tmp; local [all...] |
/device/google/contexthub/sensorhal/ |
hubconnection.cpp | 155 ALOGW("Mag bias file open failed: %s", strerror(errno)); 694 // accel is enabled, but no enabled bias. Store latest bias and use 697 // "The bias and scale calibration must only be updated while the sensor is deactivated, 704 // samples arrive using latest bias 705 // adjust for enabled bias being different from lastest bias 719 // No enabled bias (which means accel is disabled). Use latest bias. 724 // enabled bias is valid, so use i 1091 uint32_t type, sensor, bias, currSensor; local 1512 float bias = atof(buf); local [all...] |
/external/ImageMagick/MagickCore/ |
accelerate.c | 3586 bias; local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fVertexTextureTests.cpp | 150 Vec2 bias; member in struct:deqp::gles2::Functional::__anon19692::TexTypeCoordParams 152 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} 159 Vec2 bias; member in struct:deqp::gles2::Functional::__anon19692::TexTypeCoordParams 162 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), bias(bias_), face(face_) {} 281 Vec2 rawCoord = Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) * texCoordParams.scale + texCoordParams.bias; 305 const Vec2 rawFaceCoord = texCoordParams.scale * Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) + texCoordParams.bias; [all...] |
/external/deqp/modules/gles3/functional/ |
es3fVertexTextureTests.cpp | 183 Vec2 bias; member in struct:deqp::gles3::Functional::__anon19903::TexTypeCoordParams 185 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} 192 Vec2 bias; member in struct:deqp::gles3::Functional::__anon19903::TexTypeCoordParams 195 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), bias(bias_), face(face_) {} 330 Vec2 rawCoord = Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) * texCoordParams.scale + texCoordParams.bias; 354 const Vec2 rawFaceCoord = texCoordParams.scale * Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) + texCoordParams.bias; [all...] |
/external/deqp-deps/glslang/SPIRV/ |
SpvBuilder.h | 387 Id bias; member in struct:spv::Builder::TextureParameters [all...] |
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
ParseHelper.cpp | 1754 bool bias = false; local 1778 bool bias = false; local [all...] |
/external/elfutils/src/ |
nm.c | 1189 Dwarf_Addr bias; local 1190 *get->dbg = dwfl_module_getdwarf (dwflmod, &bias); [all...] |
unstrip.c | 833 const size_t nent, const GElf_Addr bias, 858 s->value = sym->st_value + bias; 979 find_alloc_section (const GElf_Shdr *shdr, GElf_Addr bias, const char *name, 982 const GElf_Addr addr = shdr->sh_addr + bias; 1062 Elf_Data *main_shstrtab, GElf_Addr bias, 2099 GElf_Addr bias = 0; local 2238 GElf_Addr bias; local 2333 GElf_Addr bias; local 2356 GElf_Addr bias; local 2419 GElf_Addr bias; local [all...] |
/external/libopus/celt/ |
bands.c | 766 /* Bias quantization towards itheta=0 and itheta=16384. */ 767 int bias = itheta > 8192 ? 32767/qn : -32767/qn; local 768 down = IMIN(qn-1, IMAX(0, (itheta*(opus_int32)qn + bias)>>14)); [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
rasterizer_impl.h | 489 float bias = pState->depthBias; local 492 bias *= ComputeBiasFactor(pState, pTri, z); 494 bias += scale; 498 bias = std::min(bias, pState->depthBiasClamp); 502 bias = std::max(bias, pState->depthBiasClamp); 505 return bias; [all...] |
/external/mesa3d/src/intel/vulkan/ |
genX_cmd_buffer.c | 1555 uint32_t bias, state_offset; local [all...] |
/external/skia/tests/ |
ImageFilterTest.cpp | 182 const SkScalar gain = SK_Scalar1, bias = 0; local 187 kernelSize, kernel, gain, bias, SkIPoint::Make(1, 1), 1070 SkScalar gain = SK_Scalar1, bias = 0; local 1098 SkScalar gain = SK_Scalar1, bias = 0; local 1135 SkScalar gain = SK_Scalar1, bias = 0; local 1308 SkScalar gain = SK_Scalar1, bias = 0; local [all...] |
/external/skqp/tests/ |
ImageFilterTest.cpp | 182 const SkScalar gain = SK_Scalar1, bias = 0; local 187 kernelSize, kernel, gain, bias, SkIPoint::Make(1, 1), 1072 SkScalar gain = SK_Scalar1, bias = 0; local 1100 SkScalar gain = SK_Scalar1, bias = 0; local 1137 SkScalar gain = SK_Scalar1, bias = 0; local 1310 SkScalar gain = SK_Scalar1, bias = 0; local [all...] |
/external/swiftshader/src/Renderer/ |
Context.hpp | 300 void setGlobalMipmapBias(float bias); 488 // Global mipmap bias 489 float bias; member in class:sw::Context
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
ir_emitter_unnested.cc | 1796 const HloInstruction* bias = nullptr; local [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
types.h | 842 double bias; member in struct:tflite::LocalResponseNormalizationParams
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
op_level_cost_estimator.cc | 1176 auto& bias = op_context.op_info.inputs(2); local [all...] |
/external/tensorflow/tensorflow/lite/kernels/internal/ |
types.h | 865 double bias; member in struct:tflite::LocalResponseNormalizationParams [all...] |