(downsample, path)
| 82 | |
| 83 | |
| 84 | def save_downsample(downsample, path): |
| 85 | pathlib.Path(path).mkdir(parents=True, exist_ok=True) |
| 86 | |
| 87 | # Save Conv2d instance |
| 88 | save_conv2d(downsample.op, path) |
| 89 | |
| 90 | def save_upsample(upsample, path): |
| 91 | pathlib.Path(path).mkdir(parents=True, exist_ok=True) |
no test coverage detected