Class MaxUnpool3dImpl¶
Defined in File pooling.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::MaxUnpoolImpl< 3, MaxUnpool3dImpl >
(Template Class MaxUnpoolImpl)
Class Documentation¶
-
class MaxUnpool3dImpl : public torch::nn::MaxUnpoolImpl<3, MaxUnpool3dImpl>¶
Applies maxunpool over a 3-D input.
See https://pytorch.org/docs/main/nn.html#torch.nn.MaxUnpool3d to learn about the exact behavior of this module.
See the documentation for
torch::nn::MaxUnpool3dOptions
class to learn what constructor arguments are supported for this module.Example:
MaxUnpool3d model(MaxUnpool3dOptions(3).stride(2).padding(1));
Public Functions
-
Tensor forward(const Tensor &input, const Tensor &indices, const std::optional<std::vector<int64_t>> &output_size = std::nullopt)¶
Protected Functions
-
inline virtual bool _forward_has_default_args() override¶
The following three functions allow a module with default arguments in its forward method to be used in a Sequential module.
You should NEVER override these functions manually. Instead, you should use the
FORWARD_HAS_DEFAULT_ARGS
macro.
-
inline virtual unsigned int _forward_num_required_args() override¶
Friends
- friend struct torch::nn::AnyModuleHolder
-
Tensor forward(const Tensor &input, const Tensor &indices, const std::optional<std::vector<int64_t>> &output_size = std::nullopt)¶