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

Function TestManualScalar

tensorflow/core/kernels/quantized_add_op_test.cc:185–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void TestManualScalar() {
186 TestAdd(
187 {10}, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f}, 0.0f,
188 10.0f, {1}, {10.0f}, -100.0f, 100.0f, {10},
189 {11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f},
190 1.0f);
191 TestAdd(
192 {1}, {10.0f}, -100.0f, 100.0f, {10},
193 {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f}, 0.0f,
194 10.0f, {10},
195 {11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f, 19.0f, 20.0f},
196 1.0f);
197}
198
199void TestScalar() {
200 TestAddShape({100}, {1});

Callers

nothing calls this directly

Calls 1

TestAddFunction · 0.85

Tested by

no test coverage detected