SliceLAWS.axis_part: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/slice_LAWS.bend as SliceLAWS Lines 114-118 of bendtorch-core@0.1.0.0/src/tensor/slice_LAWS.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/slice_LAWS.bend&start_line=114&end_line=118 import Base import bendtorch-core@0.1.0.0/src/tensor/slice.bend as Slice # What a plan holds along its axis (the extent, the clamped start, the step # and the length) and around it (the element counts before and after it). def axis_part(+plan: Slice.Plan) -> Nat & Nat & Nat & Nat: Slice.Plan{outer, extent, inner, start, step, length} = plan (extent, start, step, length) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/slice.bend&name=Plan