Commit fc63d8b2 authored by James Ring's avatar James Ring Committed by TensorFlower Gardener
Browse files

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
parent 529a00a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment