Add two new functions to tensor C API.
This change adds two functions:
* TF_TensorElementCount - returns the number of elements in the tensor
* TF_TensorUnsafeCopyFromInternal - a utility function for making
shape-changing copies of tensors. This is used for implementing
BitcastOp in C in a subsequent change.
PiperOrigin-RevId: 230640042
Loading
Please sign in to comment