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

Method resource_handle

tensorflow/core/kernels/tensor_array.h:349–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347 Tensor* handle() { return &handle_; }
348
349 ResourceHandle resource_handle(OpKernelContext* ctx) {
350 return ctx->step_container()->MakeResourceHandle<TensorArray>(
351 key_, *ctx->device());
352 }
353
354 private:
355 Status LockedWrite(OpKernelContext* ctx, const int32 index,

Callers 1

ComputeMethod · 0.45

Calls 2

step_containerMethod · 0.80
deviceMethod · 0.45

Tested by

no test coverage detected