Torchélie
latest
Pytorch Utils
torchelie.nn
Convolutions
Normalization
AdaIN2d
FiLM2d
PixelNorm
ImageNetInputNorm
ConditionalBN2d
Spade2d
AttenNorm2d
GhostBatchNorm2d
Misc
Blocks
Sequential
Activations
torchelie.nn.utils
torchelie.optim
torchelie.lr_scheduler
torchelie.utils
torchelie.data_learning
torchelie.loss
torchelie.models
torchelie.distributions
torchelie.datasets
torchelie.transforms
torchelie.recipes
Algorithms and training
Understanding recipes
Using the predefined recipes and callbacks
torchelie.callbacks
torchelie.hyper
Torchélie
Docs
»
torchelie.nn
»
ConditionalBN2d
Edit on GitHub
ConditionalBN2d
¶
class
torchelie.nn.
ConditionalBN2d
(
channels
,
cond_channels
,
momentum
=
0.8
)
¶
condition
(
z
)
¶
forward
(
x
,
z
=
None
)
¶
training
:
bool
¶
Read the Docs
v: latest
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.