Learn R Programming

torch (version 0.8.1)

torch_atleast_3d: Atleast_3d

Description

Returns a 3-dimensional view of each each input tensor with zero dimensions. Input tensors with three or more dimensions are returned as-is.

Usage

torch_atleast_3d(self)

Arguments

self

(Tensor or list of Tensors)