Skip to content

Commit c68cbb5

Browse files
committed
remove MLBufferView and MLResource
See webmachinelearning/webnn#560
1 parent aab4dbf commit c68cbb5

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

index.bs

+1-11
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,10 @@ enum MLDataType {
104104
};
105105

106106
dictionary MLTensor {
107-
required MLResource data;
107+
required ArrayBufferView data;
108108
required sequence<unsigned long> dimensions;
109109
};
110110

111-
// This should be aligned with WebNN. It is different from the spec of WebNN
112-
// because in the first version we do not involve any hardware acceleration. We
113-
// should update it later.
114-
typedef ArrayBufferView MLBufferView;
115-
116-
// This should be aligned with WebNN. It is different from the spec of WebNN
117-
// because in the first version we do not involve any hardware acceleration. We
118-
// should update it later.
119-
typedef MLBufferView MLResource;
120-
121111
dictionary MLTensorInfo {
122112
required DOMString name;
123113
required MLDataType type;

0 commit comments

Comments
 (0)