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

Function TF_TensorData

tensorflow/c/tf_tensor.cc:179–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void* TF_TensorData(const TF_Tensor* t) {
180 return tensorflow::TensorCApi::Buffer(t->tensor)->data();
181}
182
183int64_t TF_TensorElementCount(const TF_Tensor* t) {
184 int64_t result = 1;

Calls 2

BufferClass · 0.50
dataMethod · 0.45

Tested by 15

SetTensorProtoFunction · 0.68
ExpectOutputValueMethod · 0.68
RunMethod · 0.68
CompareInt32TensorMethod · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
Int8TensorFunction · 0.68
Int32TensorFunction · 0.68
TESTFunction · 0.68
RunMinTestFunction · 0.68
CompareTensorsMethod · 0.68