Skip to content

Commit a41fc70

Browse files
Googlercopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 625569329 Change-Id: I49bec0ec87b521bc72c887d8c636b4856aaaa362
1 parent b20c310 commit a41fc70

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tensorflow_compression/cc/kernels/range_coder_kernels.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Status CheckInRange(absl::string_view name, int64_t value, int64_t min,
104104
return errors::InvalidArgument(
105105
absl::Substitute("$0=$1 not in range [$2, $3)", name, value, min, max));
106106
}
107-
return tensorflow::OkStatus();
107+
return absl::OkStatus();
108108
}
109109

110110
Status ScanCDF(const int32_t* const end, const int32_t** current,
@@ -133,7 +133,7 @@ Status ScanCDF(const int32_t* const end, const int32_t** current,
133133
++p;
134134
}
135135
*current = p;
136-
return tensorflow::OkStatus();
136+
return absl::OkStatus();
137137
}
138138

139139
Status IndexCDFVector(const TTypes<int32_t>::ConstFlat& table,
@@ -144,7 +144,7 @@ Status IndexCDFVector(const TTypes<int32_t>::ConstFlat& table,
144144
for (const int32_t* current = start; current != end;) {
145145
TF_RETURN_IF_ERROR(ScanCDF(end, &current, lookup));
146146
}
147-
return tensorflow::OkStatus();
147+
return absl::OkStatus();
148148
}
149149

150150
Status IndexCDFMatrix(const TTypes<int32_t>::ConstMatrix& table,
@@ -160,7 +160,7 @@ Status IndexCDFMatrix(const TTypes<int32_t>::ConstMatrix& table,
160160
return errors::InvalidArgument("CDF must end with 1 << precision.");
161161
}
162162
}
163-
return tensorflow::OkStatus();
163+
return absl::OkStatus();
164164
}
165165

166166
class RangeEncoderInterface : public EntropyEncoderInterface {
@@ -283,7 +283,7 @@ class RangeEncoderInterface : public EntropyEncoderInterface {
283283
encoder_[i].Finalize(&encoded_[i]);
284284
output(i) = std::move(encoded_[i]);
285285
}
286-
return tensorflow::OkStatus();
286+
return absl::OkStatus();
287287
}
288288

289289
private:
@@ -442,7 +442,7 @@ class RangeDecoderInterface : public EntropyDecoderInterface {
442442
VLOG(0) << "RangeDecoder #" << i << " final status was an error";
443443
}
444444
}
445-
return tensorflow::OkStatus();
445+
return absl::OkStatus();
446446
}
447447

448448
private:

0 commit comments

Comments
 (0)