Rate this Page

Typedef torch::nn::activation_t#

Typedef Documentation#

using torch::nn::activation_t = std::variant<enumtype::kReLU, enumtype::kGELU, std::function<Tensor(const Tensor&)>>#