Template Class ConvTransposeNdImpl

Inheritance Relationships

Base Type

Class Documentation

template<size_t D, typename Derived>
class torch::nn::ConvTransposeNdImpl : public torch::nn::ConvNdImpl<D, Derived>

Base class for all (dimension-specialized) convolution transpose modules.

Public Functions

ConvTransposeNdImpl(detail::ConvNdOptions<D> options_)
void pretty_print(std::ostream &stream) const override

Pretty prints the ConvTranspose{1,2,3}d module into the given stream.

Protected Functions

const ExpandingArray<D> &padding() const
std::vector<int64_t> _output_padding(const Tensor &input, const c10::optional<at::IntArrayRef> &output_size, const ExpandingArray<D> &stride, const ExpandingArray<D> &padding, const ExpandingArray<D> &kernel_size)


Access comprehensive developer documentation for PyTorch

View Docs


Get in-depth tutorials for beginners and advanced developers

View Tutorials


Find development resources and get your questions answered

View Resources