MCPcopy Create free account
hub / github.com/Gadersd/stable-diffusion-burn / load_downsample

Function load_downsample

src/model/unet/load.rs:139–144  ·  view source on GitHub ↗
(
    path: &str,
    device: &B::Device,
)

Source from the content-addressed store, hash-verified

137}
138
139pub fn load_downsample<B: Backend>(
140 path: &str,
141 device: &B::Device,
142) -> Result<Downsample<B>, Box<dyn Error>> {
143 load_conv2d(path, device)
144}
145
146pub fn load_res_transformer_res<B: Backend>(
147 path: &str,

Callers

nothing calls this directly

Calls 1

load_conv2dFunction · 0.85

Tested by

no test coverage detected