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

Function TEST_F

tensorflow/core/framework/op_kernel_test.cc:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196};
197
198TEST_F(OpKernelTest, SuccessCpu) {
199 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT, DT_INT32}, {DT_UINT8});
200 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT_REF, DT_INT32}, {DT_UINT8});
201}
202
203TEST_F(OpKernelTest, SuccessGpu) {
204 foo::match_signature_ = false;

Callers

nothing calls this directly

Calls 15

ExpectSuccessFunction · 0.85
DeviceTypesFunction · 0.85
DeviceTypeClass · 0.85
ExpectFailureFunction · 0.85
DefaultFunction · 0.85
CreateOpKernelFunction · 0.85
cpu_allocatorFunction · 0.85
TensorValueClass · 0.85
num_allocationsMethod · 0.80
output_listMethod · 0.80

Tested by

no test coverage detected