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

Function save_upsample

python/unet.py:90–94  ·  view source on GitHub ↗
(upsample, path)

Source from the content-addressed store, hash-verified

88 save_conv2d(downsample.op, path)
89
90def save_upsample(upsample, path):
91 pathlib.Path(path).mkdir(parents=True, exist_ok=True)
92
93 # Save Conv2d instance
94 save_conv2d(upsample.conv, os.path.join(path, 'conv'))
95
96
97def save_res_transformer_res(block, path):

Callers 2

save_res_upsampleFunction · 0.85

Calls 1

save_conv2dFunction · 0.85

Tested by

no test coverage detected