Tensor.explain: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor.bend as Tensor Lines 563-574 of stelliferous@0.0.2.0/tensor.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor.bend&start_line=563&end_line=574 import Base def explain(reason: Reason) -> String: match reason: case ShapeMismatch{left,right}: String.append("shapes ",String.append(show_shape(left),String.append(" and ",String.append(show_shape(right)," do not match")))) case InvalidShape{shape}: String.append("shape ",String.append(show_shape(shape)," is invalid or exceeds the machine capacity")) case InvalidArgument{shape}: String.append("invalid argument for shape ",show_shape(shape)) case FileFault{path,detail}: String.append("file ",String.append(path,String.append(" ",detail))) case MissingName{name}: String.append("no tensor named ",name) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=Reason https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=show_shape