Skip to content

Commit

Permalink
remove MLBufferView and MLResource
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sully committed Feb 15, 2024
1 parent aab4dbf commit c68cbb5
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,10 @@ enum MLDataType {
};

dictionary MLTensor {
required MLResource data;
required ArrayBufferView data;
required sequence<unsigned long> dimensions;
};

// This should be aligned with WebNN. It is different from the spec of WebNN
// because in the first version we do not involve any hardware acceleration. We
// should update it later.
typedef ArrayBufferView MLBufferView;

// This should be aligned with WebNN. It is different from the spec of WebNN
// because in the first version we do not involve any hardware acceleration. We
// should update it later.
typedef MLBufferView MLResource;

dictionary MLTensorInfo {
required DOMString name;
required MLDataType type;
Expand Down

0 comments on commit c68cbb5

Please sign in to comment.