def cloned

bendtorch-core@0.1.0.0 · src/autograd/sum_to_size.bend:13

import bendtorch-core@0.1.0.0/src/autograd/sum_to_size.bend as SumToSize
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/autograd/reduce.bend as Reduce

13def cloned(+shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>) ->
14  Core.Dynamic & Result<&2, &1, Reduce.Error, Core.Dynamic>:
15  (kept, copy) = pair
16  (Core.Packed{shape, kept}, Done{Core.Packed{shape, copy}})

Uses (7)

Used by (5)