Home
last modified time | relevance | path

Searched refs:GetOneFloatParameter (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges.cc116 context.GetOneFloatParameter("min_percentile", 5.0f, &min_percentile)); in FreezeRequantizationRanges()
119 context.GetOneFloatParameter("max_percentile", 5.0f, &max_percentile)); in FreezeRequantizationRanges()
Dtransform_utils.h249 Status GetOneFloatParameter(const string& name, float default_value,
Dtransform_utils_test.cc1025 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()
Dquantize_nodes.cc180 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()
Dtransform_utils.cc667 Status TransformFuncContext::GetOneFloatParameter(const string& name, in GetOneFloatParameter() function in tensorflow::graph_transforms::TransformFuncContext