Home
last modified time | relevance | path

Searched refs:bias_ (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dlrn_op.cc78 : depth_radius_(depth_radius), bias_(bias), alpha_(alpha), beta_(beta) {} in LaunchLRN()
106 auto tmp = in_shaped.square().contract(multiplier, dims) * alpha_ + bias_; in launch()
146 data_out(i, r) = bias_ + accumulated_scale; in SingleThreadedLRN()
162 T bias_; member
172 : depth_radius_(depth_radius), bias_(bias), alpha_(alpha), beta_(beta) {} in LaunchLRN()
185 context, bias_ >= 1e-5, in launch()
186 errors::InvalidArgument("cuDNN requires bias >= 1e-5, got: ", bias_)); in launch()
202 normalize_desc.set_bias(bias_) in launch()
223 T bias_; member
244 bias_ = T(tmp); in LRNOp()
[all …]
Dmkl_lrn_op.cc81 OP_REQUIRES_OK(context, context->GetAttr("bias", &bias_)); in MklLRNOp()
145 kernel_size, new_alpha, beta_, bias_); in Compute()
255 auto tmp = in_shaped.square().contract(multiplier, dims) * alpha_ + bias_; in MklDefaultToEigen()
313 float bias_; member in tensorflow::MklLRNOp
330 OP_REQUIRES_OK(context, context->GetAttr("bias", &bias_)); in MklLRNGradOp()
403 new_alpha, beta_, bias_); in Compute()
408 kernel_size, new_alpha, beta_, bias_); in Compute()
587 norm = alpha_ * norm + bias_; in MklDefaultToEigen()
669 float bias_; member in tensorflow::MklLRNGradOp
/external/tensorflow/tensorflow/lite/kernels/
Ddepthwise_conv_test.cc54 bias_ = AddInput({TensorType_FLOAT32, {bias_size}}); in BaseDepthwiseConvolutionOpModel()
81 bias_ = AddInput(bias); in BaseDepthwiseConvolutionOpModel()
86 bias_ = AddInput(bias); in BaseDepthwiseConvolutionOpModel()
107 BuildInterpreter({GetShape(input_), GetShape(filter_), GetShape(bias_)}); in BaseDepthwiseConvolutionOpModel()
113 int bias_; member in tflite::__anona84de9d30111::BaseDepthwiseConvolutionOpModel
123 void SetBias(std::initializer_list<float> f) { PopulateTensor(bias_, f); } in SetBias()
275 QuantizeAndPopulate<int32_t>(bias_, data); in SetBias()
480 PerChannelQuantizeBias(bias_, data); in SetBias()
Dfully_connected_test.cc155 bias_ = AddNullInput();
157 bias_ = AddInput({TensorType_FLOAT32, {units_}});
164 bias_ = AddInput(bias);
180 (bias_ == kOptionalTensor) ? std::vector<int>() : GetShape(bias_)});
190 int bias_; member in tflite::__anon3e7c6b6f0111::BaseFullyConnectedOpModel
202 void SetBias(const std::vector<float>& f) { PopulateTensor(bias_, f); } in SetBias()
221 QuantizeAndPopulate<int32_t>(bias_, data); in SetBias()
290 bias_ = AddInput(bias);
301 BuildInterpreter({GetShape(input_), GetShape(weights_), GetShape(bias_)});
303 void SetBias(const std::vector<float>& f) { PopulateTensor(bias_, f); } in SetBias()
[all …]
Dconv_test.cc56 bias_ = AddInput({TensorType_FLOAT32, {bias_size}}); in BaseConvolutionOpModel()
83 bias_ = AddInput(bias); in BaseConvolutionOpModel()
88 bias_ = AddInput(bias); in BaseConvolutionOpModel()
102 BuildInterpreter({GetShape(input_), GetShape(filter_), GetShape(bias_)}); in BaseConvolutionOpModel()
108 int bias_; member in tflite::__anon8d129a670111::BaseConvolutionOpModel
118 void SetBias(std::initializer_list<float> f) { PopulateTensor(bias_, f); } in SetBias()
605 QuantizeAndPopulate<int32_t>(bias_, data); in SetBias()
804 PopulateTensor(bias_, data); in SetBias()
1123 PerChannelQuantizeBias(bias_, data); in SetBias()
Dbasic_rnn_test.cc183 bias_ = AddInput(TensorType_FLOAT32); in RNNOpModel()
196 void SetBias(std::initializer_list<float> f) { PopulateTensor(bias_, f); } in SetBias()
224 int bias_; member in tflite::__anon35c533a00111::RNNOpModel
Dunidirectional_sequence_rnn_test.cc185 bias_ = AddInput(TensorType_FLOAT32); in UnidirectionalRNNOpModel()
208 void SetBias(std::initializer_list<float> f) { PopulateTensor(bias_, f); } in SetBias()
237 int bias_; member in tflite::__anon2f8e60700111::UnidirectionalRNNOpModel
Dsvdf_test.cc143 bias_ = AddNullInput(); in BaseSVDFOpModel()
187 int bias_; member in tflite::__anond1a0a9e40111::BaseSVDFOpModel
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dlrn_ops.cc32 OP_REQUIRES_OK(ctx, ctx->GetAttr("bias", &bias_)); in LRNOp()
62 xla::Add(xla::ConstantR0<float>(builder, bias_), in Compile()
71 float bias_; member in tensorflow::__anon7f429b5c0111::LRNOp
84 OP_REQUIRES_OK(ctx, ctx->GetAttr("bias", &bias_)); in LRNGradOp()
149 xla::Add(xla::ConstantR0<float>(builder, bias_), in Compile()
175 float bias_; member in tensorflow::__anon7f429b5c0111::LRNGradOp
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc277 bias_ = AddInput({TensorType_FLOAT32, {bias_size}}); in ConvolutionOpModel()
284 bias_ = AddInput(bias); in ConvolutionOpModel()
302 BuildInterpreter({GetShape(input_), GetShape(filter_), GetShape(bias_)}); in ConvolutionOpModel()
316 SetData(bias_, bias_type, data); in SetBias()
339 int bias_; member in tflite::__anon6d004b400111::ConvolutionOpModel
456 bias_ = AddInput({TensorType_FLOAT32, {bias_size}}); in DepthwiseConvolutionOpModel()
463 bias_ = AddInput(bias); in DepthwiseConvolutionOpModel()
479 BuildInterpreter({GetShape(input_), GetShape(filter_), GetShape(bias_)}); in DepthwiseConvolutionOpModel()
484 void SetBias(std::initializer_list<float> f) { PopulateTensor(bias_, f); } in SetBias()
495 int bias_; member in tflite::__anon6d004b400111::DepthwiseConvolutionOpModel
[all …]
/external/webp/src/dsp/
Denc_sse41.c241 const __m128i bias_00 = _mm_loadu_si128((const __m128i*)&mtx->bias_[0]); in DoQuantizeBlock_SSE41()
242 const __m128i bias_04 = _mm_loadu_si128((const __m128i*)&mtx->bias_[4]); in DoQuantizeBlock_SSE41()
243 const __m128i bias_08 = _mm_loadu_si128((const __m128i*)&mtx->bias_[8]); in DoQuantizeBlock_SSE41()
244 const __m128i bias_12 = _mm_loadu_si128((const __m128i*)&mtx->bias_[12]); in DoQuantizeBlock_SSE41()
Denc_sse2.c1268 const __m128i bias_00 = _mm_loadu_si128((const __m128i*)&mtx->bias_[0]); in DoQuantizeBlock_SSE2()
1269 const __m128i bias_04 = _mm_loadu_si128((const __m128i*)&mtx->bias_[4]); in DoQuantizeBlock_SSE2()
1270 const __m128i bias_08 = _mm_loadu_si128((const __m128i*)&mtx->bias_[8]); in DoQuantizeBlock_SSE2()
1271 const __m128i bias_12 = _mm_loadu_si128((const __m128i*)&mtx->bias_[12]); in DoQuantizeBlock_SSE2()
Denc_neon.c827 const uint32x4_t bias0 = vld1q_u32(&mtx->bias_[offset + 0]); in Quantize_NEON()
828 const uint32x4_t bias1 = vld1q_u32(&mtx->bias_[offset + 4]); in Quantize_NEON()
Denc_mips32.c203 const uint32_t* ppbias = &mtx->bias_[0]; in QuantizeBlock_MIPS32()
Denc.c664 const uint32_t B = mtx->bias_[j]; in QuantizeBlock_C()
Denc_mips_dsp_r2.c1289 const uint32_t* ppbias = &mtx->bias_[0]; in QuantizeBlock_MIPSdspR2()
Denc_msa.c826 LD_SW4(&mtx->bias_[0], 4, b0, b1, b2, b3); // bias in QuantizeBlock_MSA()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc555 : bias_(0.0), in NormalizeDescriptor()
563 bias_ = other.bias_; in CloneFrom()
575 bias_, range_, alpha_, beta_, wrap_around_, segment_size_); in ToString()
579 return absl::StrCat("bias:", bias_, "_range:", range_, "_alpha:", alpha_, in ToShortString()
Ddnn.h854 bias_ = bias;
888 float bias() const { return bias_; }
896 float bias_;
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c373 LLVMValueRef bias_; in lp_build_unsigned_norm_to_float() local
420 bias_ = lp_build_const_vec(gallivm, dst_type, bias); in lp_build_unsigned_norm_to_float()
424 LLVMBuildBitCast(builder, bias_, int_vec_type, ""), ""); in lp_build_unsigned_norm_to_float()
428 res = LLVMBuildFSub(builder, res, bias_, ""); in lp_build_unsigned_norm_to_float()
/external/webp/src/enc/
Dquant_enc.c215 m->bias_[i] = BIAS(bias); in ExpandMatrix()
219 m->zthresh_[i] = ((1 << QFIX) - 1 - m->bias_[i]) / m->iq_[i]; in ExpandMatrix()
224 m->bias_[i] = m->bias_[1]; in ExpandMatrix()
847 const int qV = QUANTDIV(V, mtx->iq_[0], mtx->bias_[0]) * mtx->q_[0]; in QuantizeSingle()
Dvp8i_enc.h184 uint32_t bias_[16]; // rounding bias member
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp152 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} in TexTypeCoordParams()
162 …TypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), bias… in TexTypeCoordParams()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp185 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} in TexTypeCoordParams()
195 …TypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), bias… in TexTypeCoordParams()
/external/ImageMagick/Magick++/lib/Magick++/
DImage.h565 const double bias_=0.0);

12