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
2016-10-14 18:57:14
Comments
Leave a Comment

Please login to continue.