Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions nnpackage/schema/circle_schema.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
// ROPE op is added. MXFP4, MXINT8 types are added.
// MXQuantization is added.
// Version 0.10: Base up to TensorFlow Lite v2.20.0 schema. RUN_MODEL op is added.
// ATTENTION op is added.

namespace circle;

Expand Down Expand Up @@ -317,6 +318,7 @@ table Tensor {
// set of acceptable options.
// LINT.IfChange
enum BuiltinOperator : int32 {
ATTENTION = -9,
RUN_MODEL = -8,
ROPE = -7,
RMS_NORM = -6,
Expand Down Expand Up @@ -673,6 +675,7 @@ union BuiltinOptions {
BitcastOptions,
BitwiseXorOptions,
RightShiftOptions,
AttentionOptions = 247,
RunModelOptions = 248,
RoPEOptions = 249,
RmsNormOptions = 250,
Expand Down Expand Up @@ -1588,6 +1591,9 @@ table RunModelOptions {
signature:string;
}

table AttentionOptions {
}

// An OperatorCode can be an enum value (BuiltinOperator) if the operator is a
// builtin, or a string if the operator is custom.
table OperatorCode {
Expand Down
6 changes: 6 additions & 0 deletions runtime/libs/circle-schema/circle_schema.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
// ROPE op is added. MXFP4, MXINT8 types are added.
// MXQuantization is added.
// Version 0.10: Base up to TensorFlow Lite v2.20.0 schema. RUN_MODEL op is added.
// ATTENTION op is added.

namespace circle;

Expand Down Expand Up @@ -317,6 +318,7 @@ table Tensor {
// set of acceptable options.
// LINT.IfChange
enum BuiltinOperator : int32 {
ATTENTION = -9,
RUN_MODEL = -8,
ROPE = -7,
RMS_NORM = -6,
Expand Down Expand Up @@ -673,6 +675,7 @@ union BuiltinOptions {
BitcastOptions,
BitwiseXorOptions,
RightShiftOptions,
AttentionOptions = 247,
RunModelOptions = 248,
RoPEOptions = 249,
RmsNormOptions = 250,
Expand Down Expand Up @@ -1588,6 +1591,9 @@ table RunModelOptions {
signature:string;
}

table AttentionOptions {
}

// An OperatorCode can be an enum value (BuiltinOperator) if the operator is a
// builtin, or a string if the operator is custom.
table OperatorCode {
Expand Down