Typedef torch::nn::functional::ReLUFuncOptions#
Defined in File activation.h
Typedef Documentation#
-
using torch::nn::functional::ReLUFuncOptions = ReLUOptions#
Options for
torch::nn::functional::relu
.See the documentation for
torch::nn::ReLUOptions
class to learn what arguments are supported.Example:
namespace F = torch::nn::functional; F::relu(x, F::ReLUFuncOptions().inplace(true));