Create custom unet architecture
architecture
number of out features
imgage shape
pretrained or not
cut
number of input
blur is used to avoid checkerboard artifacts at each layer.
blur final is specific to the last layer.
self_attention determines if we use a self attention layer at the third block before the end.
If y_range is passed, the last activations go through a sigmoid rescaled to that range.
last_cross
bottle
activation
initialzier
normalization type
None