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

Function GetTolerance

tensorflow/lite/kernels/reduce_test.cc:232–232  ·  view source on GitHub ↗

for quantized Add, the error shouldn't exceed step

Source from the content-addressed store, hash-verified

230
231// for quantized Add, the error shouldn't exceed step
232float GetTolerance(int min, int max) { return (max - min) / 255.0; }
233
234// Tests for reduce_mean
235TEST(ConstFloatMeanOpTest, NotKeepDims) {

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected