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

Class NoOp

tensorflow/core/kernels/no_op.h:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace tensorflow {
22
23class NoOp : public OpKernel {
24 public:
25 explicit NoOp(OpKernelConstruction* context) : OpKernel(context) {}
26 void Compute(OpKernelContext* context) override {}
27 bool IsExpensive() override { return false; }
28};
29
30} // namespace tensorflow
31

Callers 5

TEST_FFunction · 0.50
TESTFunction · 0.50
BM_executorFunction · 0.50
BM_executorFunction · 0.50
BuildGraphMethod · 0.50

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.40
TESTFunction · 0.40
BM_executorFunction · 0.40
BM_executorFunction · 0.40