Skip to main content

to_dtype

Function to_dtype 

Source
pub fn to_dtype(tensor: &Tensor, dtype: Kind) -> Result<Tensor>
Expand description

Helper for converting to dtype with proper arguments