Skip to content

Commit a653968

Browse files
mingmingtasdshiyi9801
authored andcommitted
refactor codes of inserting cast (chromium#95)
Fix otcshare#87 1. refactor codes for inserting cast node 2. support logical not and fix bugs for all logical operators
1 parent b2622ba commit a653968

File tree

3 files changed

+269
-170
lines changed

3 files changed

+269
-170
lines changed

services/webnn/ort/context_impl_ort.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ ContextProperties ContextImplOrt::GetContextProperties() {
8080
/*logical_and_input=*/DataTypeConstraint::kUint8,
8181
/*logical_or_input=*/DataTypeConstraint::kUint8,
8282
/*logical_xor_input=*/DataTypeConstraint::kUint8,
83-
/*logical_not_input=*/{},
83+
/*logical_not_input=*/DataTypeConstraint::kUint8,
8484
/*logical_output=*/DataTypeConstraint::kUint8,
8585
/*abs_input=*/DataTypeConstraint::kAllDataTypesAtLeast8bits,
8686
/*ceil_input=*/DataTypeConstraint::kFloat16To32,

0 commit comments

Comments
 (0)