tensorflow::Tensor::bit_casted_tensor()

TTypes< T, NDIMS >::ConstTensor tensorflow::Tensor::bit_casted_tensor() const

Return the tensor data to an Eigen::Tensor with the same size but a bitwise cast to the specified dtype T.

Using a bitcast is useful for move and copy operations. NOTE: this is the same as tensor() except a bitcast is allowed.

doc_TensorFlow
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.