law gather_index_shaped

bendtorch-core@0.1.0.0 · src/tensor/gather_LAWS.bend:199

import bendtorch-core@0.1.0.0/src/tensor/gather_LAWS.bend as GatherLAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/gather.bend as Gather

199law gather_index_shaped:
200  for +dimensions: List<&2, U32>
201  for +entries: List<&2, U32>
202  {Gather.index(dimensions, entries) == index_of(entries, dimensions, Shape.construct(dimensions)) : Result<&2, &2, Gather.Error, Gather.Index>}

Uses (9)

Used by (0)

No other definition uses this definition.