Skip to main content
estimate_tensor_size_mb
hyprstream_
inference
0.5.0
In hyprstream_
inference::
runtime::
torch_
utils
hyprstream_inference
::
runtime
::
torch_utils
Function
estimate_
tensor_
size_
mb
Copy item path
Source
pub fn estimate_tensor_size_mb(shape: &[
i64
], dtype: Kind) ->
f64
Expand description
Estimate tensor size in megabytes