Function marian::atleast_nd

Function Documentation

Expr marian::atleast_nd(Expr a, size_t dims)

Converts input to an expression with a least n-dimension dimensions.

Return

An expression with at least n-dimensions

Parameters
  • a: Expression

  • dims: Required number of dimensions