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

Function TFE_NewTensorHandleFromTFOutput

tensorflow/c/c_api_experimental.cc:812–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

810using tensorflow::getTF_OutputDebugString;
811
812TFE_TensorHandle* TFE_NewTensorHandleFromTFOutput(TF_Output t,
813 TF_DataType data_type) {
814 auto ret = new TFE_TensorHandle(t, data_type);
815 VLOG(1) << "Storing TFOutput " << getTF_OutputDebugString(t)
816 << " into tensor handle " << ret << " with internal handle "
817 << ret->handle;
818 return ret;
819}
820
821unsigned char TFE_TensorHandleIsConcrete(TFE_TensorHandle* handle) {
822 assert(handle->handle != nullptr);

Callers 2

TFE_AddEagerOpToGraphFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68