law slice_stop_clamped
import bendtorch-core@0.1.0.0/src/tensor/slice_LAWS.bend as SliceLAWSimport 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.