Skip to content

Commit

Permalink
Allow QI8 for tfl.gather_nd
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 601618817
  • Loading branch information
paulinesho authored and tensorflower-gardener committed Jan 26, 2024
1 parent 80fdef5 commit bcb7e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow/compiler/mlir/lite/ir/tfl_ops.td
Original file line number Diff line number Diff line change
Expand Up @@ -1219,12 +1219,12 @@ def TFL_GatherNdOp : TFL_Op<"gather_nd", [
}];

let arguments = (ins
TFL_TensorOf<[F32, I1, I8, I16, I64, I32, UI8, TFL_Str]>:$params,
TFL_TensorOf<[F32, I1, I8, I16, I64, I32, UI8, QI8, TFL_Str]>:$params,
TFL_TensorOf<[I16, I32, I64]>:$indices
);

let results = (outs
TFL_TensorOf<[F32, I1, I8, I16, I64, I32, UI8, TFL_Str]>:$output
TFL_TensorOf<[F32, I1, I8, I16, I64, I32, UI8, QI8, TFL_Str]>:$output
);
}

Expand Down

0 comments on commit bcb7e8c

Please sign in to comment.