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

Method Compute

tensorflow/python/framework/test_ops.cc:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 explicit ResourceUsingOp(OpKernelConstruction* context) : OpKernel(context) {}
185
186 void Compute(OpKernelContext* ctx) override {
187 StubResource* unused;
188 OP_REQUIRES_OK(ctx, LookupResource<StubResource>(
189 ctx, HandleFromInput(ctx, 0), &unused));
190 }
191};
192
193REGISTER_KERNEL_BUILDER(Name("ResourceUsingOp").Device(DEVICE_CPU),

Callers

nothing calls this directly

Calls 1

HandleFromInputFunction · 0.85

Tested by

no test coverage detected