Atleast2dΒΆ

Convert inputs to arrays with at least 2 dimensions.

Abstract Signature:

Atleast2d(arys: Tensor)

PyTorch

API: torch.atleast_2d
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.atleast_2d
Strategy: Direct Mapping

NumPy

API: numpy.atleast_2d
Strategy: Direct Mapping