Skip to content

Commit

Permalink
Add simplified layer norm ops
Browse files Browse the repository at this point in the history
  • Loading branch information
TedThemistokleous committed Oct 11, 2024
1 parent 85769ad commit 8ea4371
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ static bool IsTypeSupported(const NodeArg* node_arg) {
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_FLOAT16:
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_FLOAT:
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_DOUBLE:
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_INT4:
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_UINT4:
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_INT8:
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_INT16:
case ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_INT32:
Expand Down Expand Up @@ -906,8 +908,10 @@ GetUnsupportedNodeIndices(const GraphViewer& graph_viewer,
"Shape",
"Sigmoid",
"Sign",
"SimplifiedLayerNormalization",
"Sin",
"Sinh",
"SkipSimplifiedLayerNormalization",
"Slice",
"Softmax",
"SoftmaxCrossEntropyLoss",
Expand Down

0 comments on commit 8ea4371

Please sign in to comment.