Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit 3291abc

Browse files
committed
Marking indptrBuffers, indicesBuffers and axisOrder required.
1 parent d9ff47e commit 3291abc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

format/SparseTensor.fbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,33 +146,33 @@ table SparseTensorIndexCSF {
146146
/// 2 3 1 3 1 1 2 3
147147

148148
/// The type of values in indptrBuffers
149-
indptrType: Int;
149+
indptrType: Int (required);
150150

151151
/// indptrBuffers stores the sparsity structure.
152152
/// Position in the indptrBuffers vector signifies the dimension.
153153
/// For example, the indptrBuffers for the above X is:
154154
///
155155
/// indptrBuffer(X) = [[0, 2, 3], [0, 1, 3, 4], [0, 2, 4, 5, 8]].
156156
///
157-
indptrBuffers: [Buffer];
157+
indptrBuffers: [Buffer] (required);
158158

159159
/// The type of values in indicesBuffers
160-
indicesType: Int;
160+
indicesType: Int (required);
161161

162162
/// indicesBuffers stores the label of each node.
163163
/// Position in the indicesBuffers vector signifies the dimension.
164164
/// For example, the indicesBuffers for the above X is:
165165
///
166166
/// indicesBuffer(X) = [[1, 2], [1, 2, 2], [1, 1, 2, 2], [2, 3, 1, 3, 1, 1, 2, 3]].
167167
///
168-
indicesBuffers: [Buffer];
168+
indicesBuffers: [Buffer] (required);
169169

170170
/// axisOrder stores the sequence in which dimensions were traversed to produce the prefix tree.
171171
/// For example, the axisOrder for the above X is:
172172
///
173173
/// axisOrder(X) = [0, 1, 2, 3].
174174
///
175-
axisOrder: [Int];
175+
axisOrder: [Int] (required);
176176
}
177177

178178
union SparseTensorIndex {

0 commit comments

Comments
 (0)