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

Method TestOp2

tensorflow/core/framework/op_kernel_test.cc:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58class TestOp2 : public ::tensorflow::OpKernel {
59 public:
60 explicit TestOp2(::tensorflow::OpKernelConstruction* context)
61 : OpKernel(context) {
62 ::tensorflow::Status status = context->MatchSignature(
63 {::tensorflow::DT_INT32}, {::tensorflow::DT_INT32});
64 match_signature_ = status.ok();
65 context->SetStatus(status);
66 }
67 void Compute(::tensorflow::OpKernelContext* context) override {}
68};
69

Callers

nothing calls this directly

Calls 3

MatchSignatureMethod · 0.80
okMethod · 0.45
SetStatusMethod · 0.45

Tested by

no test coverage detected