tensorflow::Tensor::bit_casted_shaped()

TTypes< T, NDIMS >::Tensor tensorflow::Tensor::bit_casted_shaped(gtl::ArraySlice< int64 > new_sizes)

Return the tensor data to an Eigen::Tensor with the new shape specified in new_sizes and cast to a new dtype T.

Using a bitcast is useful for move and copy operations. The allowed bitcast is the only difference from shaped().

doc_TensorFlow
2016-10-14 18:57:13
Comments
Leave a Comment

Please login to continue.