File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -1460,22 +1460,22 @@ Error defineGeluNode(
1460
1460
const fb_xnnpack::XNNGraph* graph) noexcept {
1461
1461
MAYBE_UNUSED (graph);
1462
1462
1463
- auto graph_node = node->xnode_union_as_XNNGelu ();
1464
-
1465
- xnn_status status = xnn_define_gelu (
1466
- subgraph_ptr,
1467
- remapped_ids.at (graph_node->input_id ()),
1468
- remapped_ids.at (graph_node->output_id ()),
1469
- graph_node->flags ());
1470
-
1471
- ET_CHECK_OR_RETURN_ERROR (
1472
- status == xnn_status_success,
1473
- Internal,
1474
- " Failed to create gelu node %i with code: %s" ,
1475
- node->debug_handle (),
1476
- xnn_status_to_string (status));
1477
-
1478
- return Error::Ok;
1463
+ auto graph_node = node->xnode_union_as_XNNGelu ();
1464
+
1465
+ xnn_status status = xnn_define_gelu (
1466
+ subgraph_ptr,
1467
+ remapped_ids.at (graph_node->input_id ()),
1468
+ remapped_ids.at (graph_node->output_id ()),
1469
+ graph_node->flags ());
1470
+
1471
+ ET_CHECK_OR_RETURN_ERROR (
1472
+ status == xnn_status_success,
1473
+ Internal,
1474
+ " Failed to create gelu node %i with code: %s" ,
1475
+ node->debug_handle (),
1476
+ xnn_status_to_string (status));
1477
+
1478
+ return Error::Ok;
1479
1479
}
1480
1480
1481
1481
/*
You can’t perform that action at this time.
0 commit comments