diff --git a/index.bs b/index.bs index dcdb48d..b58e51c 100644 --- a/index.bs +++ b/index.bs @@ -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;