Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 611717964
  • Loading branch information
tensorflower-gardener authored and tflite-support-robot committed Mar 1, 2024
1 parent 3c280ea commit 483c45d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ REGISTER_OP("TFSentencepieceDetokenizeOp")
shape_inference::DimensionHandle dim;
TF_RETURN_IF_ERROR(c->Subtract(c->NumElements(c->input(2)), 1, &dim));
c->set_output(0, c->Vector(dim));
return OkStatus();
return absl::OkStatus();
});

template <typename Tsplits>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ REGISTER_OP("TFSentencepieceTokenizeOp")
tensorflow::shape_inference::DimensionHandle num_splits;
TF_RETURN_IF_ERROR(c->Add(c->NumElements(c->input(1)), 1, &num_splits));
c->set_output(1, c->Vector(num_splits));
return tensorflow::OkStatus();
return absl::OkStatus();
});

class TFSentencepieceOp : public tensorflow::OpKernel {
Expand Down

0 comments on commit 483c45d

Please sign in to comment.