Home
last modified time | relevance | path

Searched refs:bias_val (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dbias_op_deterministic_test.py97 bias_val = self._randomDataOp(bias_shape, data_type)
106 tape.watch(bias_val)
108 input_val, bias_val, data_format=data_format)
110 return tape.gradient(gradient_injector_output, bias_val)
121 input_val, bias_val, data_format=data_format)
129 bias_val,
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Ddepthwise_conv_3x3_stride_h2.h134 T bias_val; in RearrangeWeightsAndBiasesData() local
137 bias_val[i] = dst_ch >= biases.shape.v ? 0.0f : biases.data[dst_ch]; in RearrangeWeightsAndBiasesData()
139 dst[counter++] = bias_val; in RearrangeWeightsAndBiasesData()
Ddepthwise_conv_3x3.h140 T bias_val; in RearrangeWeightsAndBiasesData() local
143 bias_val[i] = dst_ch >= biases.shape.v ? 0.0f : biases.data[dst_ch]; in RearrangeWeightsAndBiasesData()
145 dst[counter++] = bias_val; in RearrangeWeightsAndBiasesData()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dfuse_binary_into_preceding_affine.cc88 float& bias_val = bias_data[i]; in FuseAddOrSubParamsIntoPrecedingAffine() local
91 bias_val += operand_val; in FuseAddOrSubParamsIntoPrecedingAffine()
93 bias_val -= operand_val; in FuseAddOrSubParamsIntoPrecedingAffine()
95 bias_val = operand_val - bias_val; in FuseAddOrSubParamsIntoPrecedingAffine()
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md3706 %bias_val = tosa.CONST() {value=[0] * %filter.shape[3]} : () -> bias_type
3709 %bias_val = %bias
3717 …LLY_CONNECTED(%input_val, %filter, %bias_val) : (tensor<%input_val.type>, tensor<%filter_val.type>…
3747 %bias_val = tosa.CONST() {value=[0] * %filter.shape[3]} : () -> bias_type
3750 %bias_val = %bias
3758 %fc = tosa.FULLY_CONNECTED(%input_val, %filter, %bias_val) : (input_type, tensor<%filter_val.type>,…
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_tfl.cc1485 Value bias_val; in matchAndRewrite() local
1516 bias_val = bias_op.getResult(); in matchAndRewrite()
1518 bias_val = getUnquantizedBias(rewriter, op, tfl_fc_op.bias()); in matchAndRewrite()
1522 op->getLoc(), output_type, input_val, tfl_fc_op.filter(), bias_val); in matchAndRewrite()