Searched refs:number_of_steps (Results 1 – 6 of 6) sorted by relevance
91 number_of_steps = 1 << number_of_bits92 range_adjust = (number_of_steps / (number_of_steps - 1.0))94 range_scale = (quantized_range / number_of_steps)
398 glw::GLuint number_of_steps = getNumberOfStepsForIndex(i); in executePass() local401 gl.uniform1ui(uniform_location, number_of_steps); in executePass()439 glw::GLuint number_of_steps = 10; in getNumberOfStepsForIndex() local443 number_of_steps *= 2; in getNumberOfStepsForIndex()446 return number_of_steps; in getNumberOfStepsForIndex()
54 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in FloatToQuantizedUnclamped() local55 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() local103 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) member178 range_scale((range_max - range_min) / (number_of_steps - 1.0)), in QuantizedToFloatStruct()193 static constexpr int64 number_of_steps = static_cast<int64>(1) member196 (number_of_steps / (number_of_steps - 1.0));[all …]
291 const int64 number_of_steps = static_cast<int64>(1) << number_of_bits; in ComputeScalar() local292 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() local465 scale_factor = (number_of_steps - 1.0) / (max_range - min_range); in Compute()
78 int number_of_steps = 1; in GetNumberOfSteps() local80 number_of_steps *= input->dims->data[i]; in GetNumberOfSteps()82 return number_of_steps; in GetNumberOfSteps()
313 number_of_steps = constant_op.constant(0.0)316 number_of_steps += 1323 return number_of_steps, product_of_means328 number_of_steps, product_of_means = f_train_step(dist_dataset)329 self.assertEqual(2, number_of_steps.numpy())