Function torch::nn::functional::dropout3d¶
Defined in File dropout.h
Function Documentation¶
-
inline Tensor torch::nn::functional::dropout3d(Tensor input, const Dropout3dFuncOptions &options = {})¶
See https://pytorch.org/docs/main/nn.functional.html#torch.nn.functional.dropout3d about the exact behavior of this functional.
See the documentation for
torch::nn::functional::Dropout3dFuncOptions
class to learn what optional arguments are supported for this functional.Example:
namespace F = torch::nn::functional; F::dropout3d(input, F::Dropout3dFuncOptions().p(0.5));