MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DequantizedArrayNear

Function DequantizedArrayNear

tensorflow/lite/kernels/pad_test.cc:310–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310std::vector<Matcher<float>> DequantizedArrayNear(
311 const std::vector<float>& values, const float min, const float max) {
312 const float quantization_tolerance = (max - min) / 255.0;
313 return ArrayFloatNear(values, quantization_tolerance);
314}
315
316class QuantizedPadOpTest : public ::testing::Test {};
317

Callers 13

TEST_FFunction · 0.70
SimpleConstTestFunction · 0.70
SimpleDynamicTestFunction · 0.70
AdvancedConstTestFunction · 0.70
AdvancedDynamicTestFunction · 0.70
SimpleConstTestV2Function · 0.70
SimpleDynamicTestV2Function · 0.70
AdvancedConstTestV2Function · 0.70
AdvancedDynamicTestV2Function · 0.70
SimpleConstValuedTestFunction · 0.70
SimpleDynamicValuedTestFunction · 0.70
AdvancedConstValuedTestFunction · 0.70

Calls 1

ArrayFloatNearFunction · 0.70

Tested by

no test coverage detected