Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ TF_TensorByteSize
Function
TF_TensorByteSize
tensorflow/c/tf_tensor.cc:175–177 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
173
}
174
175
size_t TF_TensorByteSize(const TF_Tensor* t) {
176
return tensorflow::TensorCApi::Buffer(t->tensor)->size();
177
}
178
179
void* TF_TensorData(const TF_Tensor* t) {
180
return tensorflow::TensorCApi::Buffer(t->tensor)->data();
Callers
15
CopyTF_TensorStringsToPyArray
Function · 0.85
GetPyArrayDimensionsForTensor
Function · 0.85
TF_TensorToPyArray
Function · 0.85
SetTensorProto
Function · 0.85
StringTensorWriter
Method · 0.85
StringTensorReader
Method · 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
ExpectOutputValue
Method · 0.85
Run
Method · 0.85
Calls
2
Buffer
Class · 0.50
size
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
RunMinTest
Function · 0.68
ScalarFloatFromTensor
Function · 0.68
TEST_F
Function · 0.68
TEST
Function · 0.68
TestScalarTensorHandle
Function · 0.68
DoubleTestMatrixTensorHandle
Function · 0.68