Rate this Page

Class LogSigmoidImpl#

Inheritance Relationships#

Base Type#

Class Documentation#

classLogSigmoidImpl:publictorch::nn::Cloneable<LogSigmoidImpl>#

Applies theLogSigmoid function element-wise.

Seehttps://pytorch.org/docs/main/nn.html#torch.nn.LogSigmoid to learn about the exact behavior of this module.

Public Functions

Tensorforward(constTensor&input)#
virtualvoidreset()override#

reset() must perform initialization of all members with reference semantics, most importantly parameters, buffers and submodules.

virtualvoidpretty_print(std::ostream&stream)constoverride#

Pretty prints theLogSigmoid module into the givenstream.