Skip to content

Commit 3fbcdda

Browse files
Googlercopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 610330367 Change-Id: Ibd9e02d117f541bfe166d842235096d7a65aec73
1 parent 3a996ea commit 3fbcdda

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

tensorflow_compression/cc/ops/pmf_to_cdf_ops.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ REGISTER_OP("PmfToQuantizedCdf")
3737
ShapeHandle out;
3838
TF_RETURN_IF_ERROR(c->ReplaceDim(in, -1, last, &out));
3939
c->set_output(0, out);
40-
return tensorflow::OkStatus();
40+
return absl::OkStatus();
4141
})
4242
.Doc(R"doc(
4343
Converts a PMF into a quantized CDF for range coding.

tensorflow_compression/cc/ops/range_coder_ops.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ REGISTER_OP("EntropyDecodeChannel")
166166
TF_RETURN_IF_ERROR(c->MakeShapeFromShapeTensor(1, &suffix_shape));
167167
TF_RETURN_IF_ERROR(c->Concatenate(shape, suffix_shape, &shape));
168168
c->set_output(1, shape);
169-
return tensorflow::OkStatus();
169+
return absl::OkStatus();
170170
})
171171
.Doc(R"doc(
172172
Decodes the encoded stream inside `handle`.
@@ -208,7 +208,7 @@ REGISTER_OP("EntropyDecodeIndex")
208208
TF_RETURN_IF_ERROR(c->MakeShapeFromShapeTensor(2, &suffix_shape));
209209
TF_RETURN_IF_ERROR(c->Concatenate(shape, suffix_shape, &shape));
210210
c->set_output(1, shape);
211-
return tensorflow::OkStatus();
211+
return absl::OkStatus();
212212
})
213213
.Doc(R"doc(
214214
Decodes the encoded stream inside `handle`.

tensorflow_compression/cc/ops/range_coding_ops.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ REGISTER_OP("RangeDecode")
100100
ShapeHandle out;
101101
TF_RETURN_IF_ERROR(c->MakeShapeFromShapeTensor(1, &out));
102102
c->set_output(0, out);
103-
return tensorflow::OkStatus();
103+
return absl::OkStatus();
104104
})
105105
.Doc(R"doc(
106106
Range-decodes `code` into an int32 tensor of shape `shape`.
@@ -215,7 +215,7 @@ REGISTER_OP("UnboundedIndexRangeDecode")
215215
.Attr("debug_level: int = 1")
216216
.SetShapeFn([](InferenceContext* c) {
217217
c->set_output(0, c->input(1));
218-
return tensorflow::OkStatus();
218+
return absl::OkStatus();
219219
})
220220
.Doc(R"doc(
221221
Range decodes `encoded` using an indexed probability table.

tensorflow_compression/cc/ops/run_length_gamma_ops.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ REGISTER_OP("RunLengthGammaDecode")
4242
ShapeHandle out;
4343
TF_RETURN_IF_ERROR(c->MakeShapeFromShapeTensor(1, &out));
4444
c->set_output(0, out);
45-
return tensorflow::OkStatus();
45+
return absl::OkStatus();
4646
})
4747
.Doc(R"doc(
4848
Decodes `data` using run-length and Elias gamma coding.

tensorflow_compression/cc/ops/run_length_ops.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ REGISTER_OP("RunLengthDecode")
5959
ShapeHandle out;
6060
TF_RETURN_IF_ERROR(c->MakeShapeFromShapeTensor(1, &out));
6161
c->set_output(0, out);
62-
return tensorflow::OkStatus();
62+
return absl::OkStatus();
6363
})
6464
.Doc(R"doc(
6565
Decodes `data` using run-length coding.

0 commit comments

Comments
 (0)