Skip to content

Commit

Permalink
Disable data type option until the image is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
reillyeon committed Jul 26, 2024
1 parent 4174485 commit 660e4eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webnn-conv2d.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</select>
</p>
<p>
Data type:
<select id="dataType">
<label for="dataType">Data type:</label>
<select id="dataType" disabled>
<option value="float16">float16</option>
<option selected value="float32">float32</option>
</select>
Expand Down Expand Up @@ -283,6 +283,7 @@
}

deviceTypeElement.disabled = false;
dataTypeOption.disabled = false;
filterTypeElement.disabled = false;
blurRadiusElement.disabled = false;
inputLayoutElement.disabled = false;
Expand Down

0 comments on commit 660e4eb

Please sign in to comment.