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

Function PyEagerTensor_ID

tensorflow/python/eager/pywrap_tensor.cc:923–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921}
922
923tensorflow::int64 PyEagerTensor_ID(const PyObject* tensor) {
924 DCHECK(EagerTensor_CheckExact(tensor));
925 return reinterpret_cast<const EagerTensor*>(tensor)->id;
926}
927
928tensorflow::DataType PyEagerTensor_Dtype(const PyObject* tensor) {
929 DCHECK(EagerTensor_CheckExact(tensor));

Callers 2

FastTensorIdFunction · 0.85
TapeTensorFromTensorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected