SumDimsLAWS.sum_dims_every_axis: law of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/autograd/sum_dims_LAWS.bend as SumDimsLAWS Lines 51-55 of bendtorch-core@0.1.0.0/src/autograd/sum_dims_LAWS.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/autograd/sum_dims_LAWS.bend&start_line=51&end_line=55 import Base import bendtorch-core@0.1.0.0/src/autograd/sum_dims.bend as SumDims # An empty axis list reduces every axis, as PyTorch's dim=[]; a listed axis # is reduced exactly when it is in the list. law sum_dims_every_axis: for +axis: U32 {SumDims.reduces([], axis) == True{} : Bool} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/autograd/sum_dims.bend&name=reduces