MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ShouldHandleFormatError

Function ShouldHandleFormatError

tensorflow/core/kernels/unicode_ops.cc:242–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242inline bool ShouldHandleFormatError(const ErrorOptions& error_options,
243 UChar32 ch, bool format_error) {
244 return ((error_options.replace_control_chars && ch <= 0x1F) || format_error);
245}
246
247} // namespace
248

Callers 2

TranslateCodepointsMethod · 0.85
DecodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected