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

Method NumElements

tensorflow/core/common_runtime/eager/tensor_handle.cc:307–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307Status TensorHandle::NumElements(int64* num_elements) {
308 DCHECK(num_elements != nullptr);
309 TF_RETURN_IF_ERROR(WaitReady());
310 return tensor_handle_data_->NumElements(num_elements);
311}
312
313#if !defined(IS_MOBILE_PLATFORM)
314Status TensorHandle::RemoteAddress(Device* d, int64* op_id,

Callers 15

RunTestMethod · 0.45
ProcessSyncMethod · 0.45
CopyHostToDeviceFunction · 0.45
CopyDeviceToDeviceFunction · 0.45
CopyDeviceToHostFunction · 0.45
RunTestMethod · 0.45
CollectiveAdapterImplMethod · 0.45
RunTestMethod · 0.45

Calls

no outgoing calls

Tested by 6

RunTestMethod · 0.36
RunTestMethod · 0.36
RunTestMethod · 0.36
RandomInitializeFunction · 0.36
TEST_FFunction · 0.36
tensor_sizeMethod · 0.36