diffusion_
rs_
common
0.1.0
In diffusion_
rs_
common::
core::
safetensors
diffusion_rs_common
::
core
::
safetensors
Function
load
Copy item path
source
pub fn load<P:
AsRef
<
Path
>>( filename: P, device: &
Device
, ) ->
Result
<
HashMap
<
String
,
Tensor
>>