Function marian::reshape

Function Documentation

Expr marian::reshape(Expr a, Shape shape)

Reshape expression to a given shape.

Return

An expression with shape shape.

Parameters
  • a: The expression to be reshaped

  • shape: The new shape