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