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