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

Function _get_message_unparsed

tensorflow/lite/python/tflite_convert.py:241–244  ·  view source on GitHub ↗
(flag, orig_flag, new_flag)

Source from the content-addressed store, hash-verified

239
240 # Check unparsed flags for common mistakes based on previous TOCO.
241 def _get_message_unparsed(flag, orig_flag, new_flag):
242 if flag.startswith(orig_flag):
243 return "\n Use {0} instead of {1}".format(new_flag, orig_flag)
244 return ""
245
246 if unparsed:
247 output = ""

Callers 1

_check_tf1_flagsFunction · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected