def sum_dynamic

bendtorch-core@0.1.0.0 · src/tensor/reduction.bend:176

import bendtorch-core@0.1.0.0/src/tensor/reduction.bend as Reduction
import Base
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

176def sum_dynamic(dynamic: Core.Dynamic) -> Result<&2, &1, Core.Error, Core.Dynamic & Core.Dynamic>:
177  Core.Packed{+shape, tensor} = dynamic
178  pack_result(shape, sum(shape, tensor))

Uses (6)

Used by (6)