Class TanhImpl#
Defined in File activation.h
Page Contents
Inheritance Relationships#
Base Type#
public torch::nn::Cloneable< TanhImpl >
(Template Class Cloneable)
Class Documentation#
-
class TanhImpl : public torch::nn::Cloneable<TanhImpl>#
Applies Tanh over a given input.
See https://pytorch.org/docs/main/nn.html#torch.nn.Tanh to learn about the exact behavior of this module.