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

Function ArrayFloatNear

tensorflow/lite/kernels/test_util.cc:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44} // namespace
45
46std::vector<Matcher<float>> ArrayFloatNear(const std::vector<float>& values,
47 float max_abs_error) {
48 std::vector<Matcher<float>> matchers;
49 matchers.reserve(values.size());
50 for (const float& v : values) {
51 matchers.emplace_back(FloatNear(v, max_abs_error));
52 }
53 return matchers;
54}
55
56std::vector<Matcher<std::complex<float>>> ArrayComplex64Near(
57 const std::vector<std::complex<float>>& values, float max_abs_error) {

Callers 15

TESTFunction · 0.70
VerifyGoldensMethod · 0.70
TESTFunction · 0.70
TESTFunction · 0.70
TESTFunction · 0.70
QuantizedNoActivationFunction · 0.70
QuantizedWithBroadcastFunction · 0.70
TESTFunction · 0.70
VerifyGoldensMethod · 0.70

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected