law slice_stop_clamped

bendtorch-core@0.1.0.0 · src/tensor/slice_LAWS.bend:54

import bendtorch-core@0.1.0.0/src/tensor/slice_LAWS.bend as SliceLAWS
import Base
import bendtorch-core@0.1.0.0/src/tensor/slice.bend as Slice

54law slice_stop_clamped:
55  for +extent: Nat
56  for +start: Nat
57  for +stop: Nat
58  for past: {Nat.is_le(extent, stop) == True{} : Bool}
59  {high(Slice.bounds(extent, start, stop)) == extent : Nat}

Uses (11)

Used by (0)

No other definition uses this definition.