File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
runtime/libs/circle-schema Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 3737// ROPE op is added. MXFP4, MXINT8 types are added.
3838// MXQuantization is added.
3939// Version 0.10: Base up to TensorFlow Lite v2.20.0 schema. RUN_MODEL op is added.
40+ // ATTENTION op is added.
4041
4142namespace circle ;
4243
@@ -317,6 +318,7 @@ table Tensor {
317318// set of acceptable options.
318319// LINT.IfChange
319320enum BuiltinOperator : int32 {
321+ ATTENTION = - 9 ,
320322 RUN_MODEL = - 8 ,
321323 ROPE = - 7 ,
322324 RMS_NORM = - 6 ,
@@ -673,6 +675,7 @@ union BuiltinOptions {
673675 BitcastOptions ,
674676 BitwiseXorOptions ,
675677 RightShiftOptions ,
678+ AttentionOptions = 247 ,
676679 RunModelOptions = 248 ,
677680 RoPEOptions = 249 ,
678681 RmsNormOptions = 250 ,
@@ -1588,6 +1591,9 @@ table RunModelOptions {
15881591 signature :string ;
15891592}
15901593
1594+ table AttentionOptions {
1595+ }
1596+
15911597// An OperatorCode can be an enum value (BuiltinOperator) if the operator is a
15921598// builtin, or a string if the operator is custom.
15931599table OperatorCode {
Original file line number Diff line number Diff line change 3737// ROPE op is added. MXFP4, MXINT8 types are added.
3838// MXQuantization is added.
3939// Version 0.10: Base up to TensorFlow Lite v2.20.0 schema. RUN_MODEL op is added.
40+ // ATTENTION op is added.
4041
4142namespace circle ;
4243
@@ -317,6 +318,7 @@ table Tensor {
317318// set of acceptable options.
318319// LINT.IfChange
319320enum BuiltinOperator : int32 {
321+ ATTENTION = - 9 ,
320322 RUN_MODEL = - 8 ,
321323 ROPE = - 7 ,
322324 RMS_NORM = - 6 ,
@@ -673,6 +675,7 @@ union BuiltinOptions {
673675 BitcastOptions ,
674676 BitwiseXorOptions ,
675677 RightShiftOptions ,
678+ AttentionOptions = 247 ,
676679 RunModelOptions = 248 ,
677680 RoPEOptions = 249 ,
678681 RmsNormOptions = 250 ,
@@ -1588,6 +1591,9 @@ table RunModelOptions {
15881591 signature :string ;
15891592}
15901593
1594+ table AttentionOptions {
1595+ }
1596+
15911597// An OperatorCode can be an enum value (BuiltinOperator) if the operator is a
15921598// builtin, or a string if the operator is custom.
15931599table OperatorCode {
You can’t perform that action at this time.
0 commit comments