torch_atleast_3d function

Atleast_3d

Atleast_3d

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

torch_atleast_3d(self)

Arguments

  • self: (Tensor or list of Tensors)
  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14