Searched refs:GetOneFloatParameter (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | freeze_requantization_ranges.cc | 115 context.GetOneFloatParameter("min_percentile", 5.0f, &min_percentile)); in FreezeRequantizationRanges() 118 context.GetOneFloatParameter("max_percentile", 5.0f, &max_percentile)); in FreezeRequantizationRanges()
|
D | transform_utils.h | 249 Status GetOneFloatParameter(const string& name, float default_value,
|
D | transform_utils_test.cc | 1025 TF_EXPECT_OK(context.GetOneFloatParameter("bar", 0, &value)); in TestGetOneFloatParameter() 1027 EXPECT_FALSE(context.GetOneFloatParameter("foo", 0, &value).ok()); in TestGetOneFloatParameter() 1028 TF_EXPECT_OK(context.GetOneFloatParameter("not_present", 10.5f, &value)); in TestGetOneFloatParameter() 1030 EXPECT_FALSE(context.GetOneFloatParameter("not_a_number", 0, &value).ok()); in TestGetOneFloatParameter()
|
D | quantize_nodes.cc | 180 TF_RETURN_IF_ERROR(context.GetOneFloatParameter(min_name, 0.0f, min_value)); in ExtractRangeFromParams() 181 TF_RETURN_IF_ERROR(context.GetOneFloatParameter(max_name, 0.0f, max_value)); in ExtractRangeFromParams()
|
D | transform_utils.cc | 675 Status TransformFuncContext::GetOneFloatParameter(const string& name, in GetOneFloatParameter() function in tensorflow::graph_transforms::TransformFuncContext
|