Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
179
void* TF_TensorData(const TF_Tensor* t) {
180
return tensorflow::TensorCApi::Buffer(t->tensor)->data();
181
}
182
183
int64_t TF_TensorElementCount(const TF_Tensor* t) {
184
int64_t result = 1;
Callers
15
TFE_Py_TensorShapeSlice
Function · 0.85
CopyTF_TensorStringsToPyArray
Function · 0.85
TF_TensorToMaybeAliasedPyArray
Function · 0.85
TF_TensorToPyArray
Function · 0.85
SetTensorProto
Function · 0.85
StringTensorWriter
Method · 0.85
StringTensorReader
Method · 0.85
Java_org_tensorflow_Tensor_allocateScalarBytes
Function · 0.85
Java_org_tensorflow_Tensor_buffer
Function · 0.85
Java_org_tensorflow_Tensor_setValue
Function · 0.85
Java_org_tensorflow_Tensor_scalarBytes
Function · 0.85
Java_org_tensorflow_Tensor_readNDArray
Function · 0.85
Calls
2
Buffer
Class · 0.50
data
Method · 0.45
Tested by
15
SetTensorProto
Function · 0.68
ExpectOutputValue
Method · 0.68
Run
Method · 0.68
CompareInt32Tensor
Method · 0.68
TEST_F
Function · 0.68
TEST
Function · 0.68
TEST_F
Function · 0.68
Int8Tensor
Function · 0.68
Int32Tensor
Function · 0.68
TEST
Function · 0.68
RunMinTest
Function · 0.68
CompareTensors
Method · 0.68