message: Add TensorScatter{Min,Max} ops to the TF dialect
diff: @@ -15321,6 +15321,40 @@ On GPU, if an out of bound index is found, the index is ignored.
  TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
  }
  +def TF_TensorScatterMaxOp : TF_Op<"TensorScatterMax", [NoSideEffect]> {
  + let summary = "";
  +
  + let arguments = (ins
  + TF_Tensor:$tensor,
  + TF_I32OrI64Tensor:$indices,
  + TF_Tensor:$updates
  + );
  +
  + let results = (outs
  + TF_Tensor:$output
  + );
  +
  + TF_DerivedOperandTypeAttr Tindices = TF_DerivedOperandTypeAttr<1>;
  + TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
  +}
  +
  +def TF_TensorScatterMinOp : TF_Op<"TensorScatterMin", [NoSideEffect]> {
  + let summary = "";
  +
  + let arguments = (ins
  + TF_Tensor:$tensor,
  + TF_I32OrI64Tensor:$indices,
  + TF_Tensor:$updates
  + );
  +
  + let results = (outs
  + TF_Tensor:$output
  + );
  +
  + TF_DerivedOperandTypeAttr Tindices = TF_DerivedOperandTypeAttr<1>;
  + TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
  +}
  +
  def TF_TensorScatterSubOp : TF_Op<"TensorScatterSub", [NoSideEffect]> {
  let summary = [{
  Subtracts sparse `updates` from an existing tensor according to `indices`.
  