Skip to content

Commit

Permalink
update logs
Browse files Browse the repository at this point in the history
Co-authored-by: Wanming Lin <[email protected]>
  • Loading branch information
shiyi9801 and Honry authored Dec 4, 2024
1 parent 8b23f09 commit 2fc56d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions onnxruntime/core/providers/webnn/builders/helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ bool IsDataTypeSupportedByWebNNOp(const std::string& onnx_op_type,
return false;
}
if (!IsSupportedDataType(onnx_data_type, wnn_limits[webnn_op_type][webnn_input_output_name]["dataTypes"])) {
LOGS(logger, VERBOSE) << "[" << onnx_op_type << "] WebNN op [" << webnn_op_type << "] " << onnx_input_output_name
<< " data type: [" << onnx_data_type << "] is not supported by WebNN for now";
LOGS(logger, VERBOSE) << "[" << onnx_op_type << "] " << onnx_input_output_name
<< "'s data type: [" << onnx_data_type
<< "] is not supported by WebNN op ["
<< webnn_op_type << "] for now";
return false;
}
return true;
Expand Down

0 comments on commit 2fc56d3

Please sign in to comment.