def reduce_to_dimensions

bendtorch-core@0.1.0.0 · src/autograd/reduce.bend:322

import bendtorch-core@0.1.0.0/src/autograd/reduce.bend as Reduce
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

322def reduce_to_dimensions(input: Core.Dynamic, +dimensions: List<&2, U32>) -> Core.Dynamic & Result<&2, &1, Error, Core.Dynamic>:
323  reduce_to_dimensions_result(input, dimensions, Shape.construct(dimensions))

Uses (8)

Used by (0)

No other definition uses this definition.