def reshape

bendtorch@1.3.0.0 · tensor.bend:451

import bendtorch@1.3.0.0/tensor.bend as Tensor
import Base

451def reshape(+s: List<&2, Nat>, +t: List<&2, Nat>, -e: {numel(s) == numel(t) : Nat}, x: Tensor<s>) -> Tensor<t>:
452  match x:
453    case Tensor{d}:
454      Tensor{d}

Uses (4)

Used by (1)