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().