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

Function TestManualScalar

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

Source from the content-addressed store, hash-verified

183}
184
185void TestManualScalar() {
186 TestMul(
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 {10.0f, 20.0f, 30.0f, 40.0f, 50.0f, 60.0f, 70.0f, 80.0f, 90.0f, 100.0f},
190 3.0f);
191 TestMul(
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 {10.0f, 20.0f, 30.0f, 40.0f, 50.0f, 60.0f, 70.0f, 80.0f, 90.0f, 100.0f},
196 3.0f);
197}
198
199void TestScalar() {
200 TestMulShape({100}, {1});

Callers

nothing calls this directly

Calls 1

TestMulFunction · 0.85

Tested by

no test coverage detected