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

Method Compute

tensorflow/core/kernels/reader_ops.cc:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 using OpKernel::OpKernel;
31
32 void Compute(OpKernelContext* context) override {
33 ReaderInterface* reader;
34 OP_REQUIRES_OK(context,
35 GetResourceFromContext(context, "reader_handle", &reader));
36 ComputeWithReader(context, reader);
37 reader->Unref();
38 }
39
40 protected:
41 virtual void ComputeWithReader(OpKernelContext* context,

Callers

nothing calls this directly

Calls 2

GetResourceFromContextFunction · 0.85
UnrefMethod · 0.45

Tested by

no test coverage detected