@@ -104,7 +104,7 @@ Status CheckInRange(absl::string_view name, int64_t value, int64_t min,
104
104
return errors::InvalidArgument (
105
105
absl::Substitute (" $0=$1 not in range [$2, $3)" , name, value, min, max));
106
106
}
107
- return tensorflow ::OkStatus ();
107
+ return absl ::OkStatus ();
108
108
}
109
109
110
110
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,
133
133
++p;
134
134
}
135
135
*current = p;
136
- return tensorflow ::OkStatus ();
136
+ return absl ::OkStatus ();
137
137
}
138
138
139
139
Status IndexCDFVector (const TTypes<int32_t >::ConstFlat& table,
@@ -144,7 +144,7 @@ Status IndexCDFVector(const TTypes<int32_t>::ConstFlat& table,
144
144
for (const int32_t * current = start; current != end;) {
145
145
TF_RETURN_IF_ERROR (ScanCDF (end, ¤t, lookup));
146
146
}
147
- return tensorflow ::OkStatus ();
147
+ return absl ::OkStatus ();
148
148
}
149
149
150
150
Status IndexCDFMatrix (const TTypes<int32_t >::ConstMatrix& table,
@@ -160,7 +160,7 @@ Status IndexCDFMatrix(const TTypes<int32_t>::ConstMatrix& table,
160
160
return errors::InvalidArgument (" CDF must end with 1 << precision." );
161
161
}
162
162
}
163
- return tensorflow ::OkStatus ();
163
+ return absl ::OkStatus ();
164
164
}
165
165
166
166
class RangeEncoderInterface : public EntropyEncoderInterface {
@@ -283,7 +283,7 @@ class RangeEncoderInterface : public EntropyEncoderInterface {
283
283
encoder_[i].Finalize (&encoded_[i]);
284
284
output (i) = std::move (encoded_[i]);
285
285
}
286
- return tensorflow ::OkStatus ();
286
+ return absl ::OkStatus ();
287
287
}
288
288
289
289
private:
@@ -442,7 +442,7 @@ class RangeDecoderInterface : public EntropyDecoderInterface {
442
442
VLOG (0 ) << " RangeDecoder #" << i << " final status was an error" ;
443
443
}
444
444
}
445
- return tensorflow ::OkStatus ();
445
+ return absl ::OkStatus ();
446
446
}
447
447
448
448
private:
0 commit comments