Skip to main content
get_dtype
hyprstream_
inference
0.5.0
In hyprstream_
inference::
runtime::
tensor_
helpers
hyprstream_inference
::
runtime
::
tensor_helpers
Function
get_
dtype
Copy item path
Source
pub fn get_dtype(tensor: &Tensor) -> Kind
Expand description
Helper for getting tensor dtype (Tch uses kind())