Class CrossMapLRN2dImpl#
Defined in File normalization.h
Page Contents
Inheritance Relationships#
Base Type#
public torch::nn::Cloneable< CrossMapLRN2dImpl >
(Template Class Cloneable)
Class Documentation#
-
class CrossMapLRN2dImpl : public torch::nn::Cloneable<CrossMapLRN2dImpl>#
See the documentation for
torch::nn::CrossMapLRN2dOptions
class to learn what constructor arguments are supported for this module.Example:
CrossMapLRN2d model(CrossMapLRN2dOptions(3).alpha(1e-5).beta(0.1).k(10));
Public Functions
-
inline CrossMapLRN2dImpl(int64_t size)#
-
inline explicit CrossMapLRN2dImpl(const CrossMapLRN2dOptions &options_)#
-
virtual void reset() override#
reset()
must perform initialization of all members with reference semantics, most importantly parameters, buffers and submodules.
-
virtual void pretty_print(std::ostream &stream) const override#
Pretty prints the
CrossMapLRN2d
module into the givenstream
.
-
torch::Tensor forward(const torch::Tensor &input)#
Public Members
-
CrossMapLRN2dOptions options#
-
inline CrossMapLRN2dImpl(int64_t size)#