MCPcopy Index your code
hub / github.com/ImprintLab/MedSegDiff / Downsample

Class Downsample

guided_diffusion/unet.py:122–149  ·  view source on GitHub ↗

A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determining if a convolution is applied. :param dims: determines if the signal is 1D, 2D, or 3D. If 3D, then downsampling occurs in the i

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected