Skip to content

Commit 32aa4ca

Browse files
Enhance documentation on customizable sparse formats
Clarify the optional nature of custom formats for parsers and specify error handling for unsupported tensor formats.
1 parent b096546 commit 32aa4ca

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

spec/latest/index.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ Coordinate format is an alias for [[#coor_format]] format.
289289
### Custom Formats ### {#custom_formats}
290290

291291
The contents of this section are optional for all parsers, but enable
292-
customizable sparse formats for matrices and tensors.
292+
customizable sparse formats for matrices and tensors. If the parser
293+
does not implement tensor formats, it should error when the "custom" key
294+
is present.
293295

294296
Binsparse describes custom multidimensional formats hierarchically. We can
295297
understand these formats as arrays of arrays, where the parent array and

0 commit comments

Comments
 (0)