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

Method Compute

tensorflow/python/framework/test_ops.cc:172–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 explicit ResourceCreateOp(OpKernelConstruction* c) : OpKernel(c) {}
171
172 void Compute(OpKernelContext* c) override {
173 OP_REQUIRES_OK(c,
174 CreateResource(c, HandleFromInput(c, 0), new StubResource));
175 }
176};
177
178REGISTER_KERNEL_BUILDER(Name("ResourceCreateOp").Device(DEVICE_CPU),

Callers

nothing calls this directly

Calls 2

CreateResourceFunction · 0.85
HandleFromInputFunction · 0.85

Tested by

no test coverage detected