Skip to content

Commit 8e08db8

Browse files
committed
Automated Code Change
PiperOrigin-RevId: 627623216
1 parent ec19386 commit 8e08db8

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

struct2tensor/ops/decode_proto_map_op.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ REGISTER_OP("DecodeProtoMapV2")
3636
for (int i = 0; i < 2 * num_keys; ++i) {
3737
c->set_output(i, c->Vector(c->UnknownDim()));
3838
}
39-
return tensorflow::OkStatus();
39+
return absl::OkStatus();
4040
})
4141
.Doc(R"doc(
4242
An op to decode serialized protobuf map entries with given keys into Tensors.
@@ -107,5 +107,5 @@ REGISTER_OP("DecodeProtoMap")
107107
for (int i = 0; i < 2 * num_keys; ++i) {
108108
c->set_output(i, c->Vector(c->UnknownDim()));
109109
}
110-
return tensorflow::OkStatus();
110+
return absl::OkStatus();
111111
});

struct2tensor/ops/decode_proto_sparse_op.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ REGISTER_OP("DecodeProtoSparseV4")
4747
c->set_output(i, c->Vector(c->UnknownDim()));
4848
}
4949

50-
return tensorflow::OkStatus();
50+
return absl::OkStatus();
5151
})
5252
.Doc(R"doc(
5353
The `decode_proto_sparse` op extracts fields from a serialized protocol
@@ -157,7 +157,7 @@ REGISTER_OP("DecodeProtoSparseV3")
157157
c->set_output(i, c->Vector(c->UnknownDim()));
158158
}
159159

160-
return tensorflow::OkStatus();
160+
return absl::OkStatus();
161161
});
162162

163163
// See DecodeProtoSparseV3. DecodeProtoSparseV2 omits `backing_string` and
@@ -184,5 +184,5 @@ REGISTER_OP("DecodeProtoSparseV2")
184184
c->set_output(i, c->Vector(c->UnknownDim()));
185185
}
186186

187-
return tensorflow::OkStatus();
187+
return absl::OkStatus();
188188
});

struct2tensor/ops/equi_join_any_indices_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ REGISTER_OP("EquiJoinAnyIndices")
2727
.SetShapeFn([](InferenceContext* c) {
2828
c->set_output(0, c->Vector(InferenceContext::kUnknownDim));
2929
c->set_output(1, c->Vector(InferenceContext::kUnknownDim));
30-
return tensorflow::OkStatus();
30+
return absl::OkStatus();
3131
})
3232
.Doc(R"doc(
3333
This op is similiar to EquiJoinIndices. However this op does not assume that

struct2tensor/ops/equi_join_indices_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ REGISTER_OP("EquiJoinIndices")
2727
.SetShapeFn([](InferenceContext* c) {
2828
c->set_output(0, c->Vector(InferenceContext::kUnknownDim));
2929
c->set_output(1, c->Vector(InferenceContext::kUnknownDim));
30-
return tensorflow::OkStatus();
30+
return absl::OkStatus();
3131
})
3232
.Doc(R"doc(
3333
An op on two 1-D int64 tensors a,b that

struct2tensor/ops/run_length_before_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ REGISTER_OP("RunLengthBefore")
2121
.Output("run_length_before: int64")
2222
.SetShapeFn([](::tensorflow::shape_inference::InferenceContext* context) {
2323
context->set_output(0, context->input(0));
24-
return tensorflow::OkStatus();
24+
return absl::OkStatus();
2525
})
2626
.Doc(R"doc(
2727
The `run_length_before` op, given [a_0,...,a_n], returns [b_0,...,b_n] where:

0 commit comments

Comments
 (0)