Class InstanceNorm1dImpl¶
Defined in File instancenorm.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::InstanceNormImpl< 1, InstanceNorm1dImpl >
(Template Class InstanceNormImpl)
Class Documentation¶
-
class
torch::nn
::
InstanceNorm1dImpl
: public torch::nn::InstanceNormImpl<1, InstanceNorm1dImpl>¶ Applies the InstanceNorm1d function.
See https://pytorch.org/docs/master/nn.html#torch.nn.InstanceNorm1d to learn about the exact behavior of this module.
See the documentation for
torch::nn::InstanceNorm1dOptions
class to learn what constructor arguments are supported for this module.Example:
InstanceNorm1d model(InstanceNorm1dOptions(4).eps(0.5).momentum(0.1).affine(false).track_running_stats(true));
Protected Functions
-
void
_check_input_dim
(const Tensor &input) override¶
-
void