LogSigmoid activation function.
More...
#include </home/runner/work/iganet/iganet/include/layer.hpp>
|
virtual const std::string & | name () const noexcept |
| Returns the full qualified name of the object.
|
|
at::optional< std::string > | name_ |
| String storing the full qualified name of the object.
|
|
LogSigmoid activation function.
\[
\text{LogSigmoid}(x) = \log \left( \frac{1}{1+\exp(-x)} \right)
\]
◆ LogSigmoid()
iganet::LogSigmoid::LogSigmoid |
( |
| ) |
|
|
explicitdefault |
◆ ~LogSigmoid()
iganet::LogSigmoid::~LogSigmoid |
( |
| ) |
|
|
overridedefault |
◆ apply()
torch::Tensor iganet::LogSigmoid::apply |
( |
const torch::Tensor & |
input | ) |
const |
|
inlineoverridevirtual |
◆ pretty_print()
|
inlineoverridevirtualnoexcept |
◆ read()
torch::serialize::InputArchive & iganet::LogSigmoid::read |
( |
torch::serialize::InputArchive & |
archive, |
|
|
const std::string & |
key = "logsigmoid" |
|
) |
| |
|
inlineoverridevirtual |
◆ write()
torch::serialize::OutputArchive & iganet::LogSigmoid::write |
( |
torch::serialize::OutputArchive & |
archive, |
|
|
const std::string & |
key = "logsigmoid" |
|
) |
| const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: