Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/
Dquantized_conv_ops_test.py91 number_of_steps = 1 << number_of_bits
92 range_adjust = (number_of_steps / (number_of_steps - 1.0))
94 range_scale = (quantized_range / number_of_steps)
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5FmaAccuracy.cpp398 glw::GLuint number_of_steps = getNumberOfStepsForIndex(i); in executePass() local
401 gl.uniform1ui(uniform_location, number_of_steps); in executePass()
439 glw::GLuint number_of_steps = 10; in getNumberOfStepsForIndex() local
443 number_of_steps *= 2; in getNumberOfStepsForIndex()
446 return number_of_steps; in getNumberOfStepsForIndex()
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils.h54 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in FloatToQuantizedUnclamped() local
55 const double range_adjust = (number_of_steps / (number_of_steps - 1.0)); in FloatToQuantizedUnclamped()
57 const double range_scale = (number_of_steps / range); in FloatToQuantizedUnclamped()
102 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in QuantizedToFloat() local
103 const double range_adjust = (number_of_steps / (number_of_steps - 1.0)); in QuantizedToFloat()
105 const double range_scale = (range / number_of_steps); in QuantizedToFloat()
169 static constexpr int64 number_of_steps = static_cast<int64>(1) member
178 range_scale((range_max - range_min) / (number_of_steps - 1.0)), in QuantizedToFloatStruct()
193 static constexpr int64 number_of_steps = static_cast<int64>(1) member
196 (number_of_steps / (number_of_steps - 1.0));
[all …]
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_quantize_op.cc291 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in ComputeScalar() local
292 scale_factor = (number_of_steps - 1.0) / (max_range - min_range); in ComputeScalar()
464 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in Compute() local
465 scale_factor = (number_of_steps - 1.0) / (max_range - min_range); in Compute()
/external/libtextclassifier/native/tensorflow_models/seq_flow_lite/tflite_ops/
Dlayer_norm.cc78 int number_of_steps = 1; in GetNumberOfSteps() local
80 number_of_steps *= input->dims->data[i]; in GetNumberOfSteps()
82 return number_of_steps; in GetNumberOfSteps()
/external/tensorflow/tensorflow/python/distribute/
Dcustom_training_loop_input_test.py313 number_of_steps = constant_op.constant(0.0)
316 number_of_steps += 1
323 return number_of_steps, product_of_means
328 number_of_steps, product_of_means = f_train_step(dist_dataset)
329 self.assertEqual(2, number_of_steps.numpy())