From c68cbb568c737f4284c1ab69062c653bc59a7f4b Mon Sep 17 00:00:00 2001 From: Austin Sullivan Date: Thu, 15 Feb 2024 08:49:05 -0800 Subject: [PATCH] remove MLBufferView and MLResource See https://github.com/webmachinelearning/webnn/issues/560 --- index.bs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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;