torch_atleast_3d {torch}R Documentation

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)


[Package torch version 0.13.0 Index]