Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XiaoMi/mace
/ error
Method
error
tools/python/utils/util.py:68–71 ·
view source on GitHub ↗
(message, level=2)
Source
from the content-addressed store, hash-verified
66
67
@staticmethod
68
def
error(message, level=2):
69
print(CMDColors.RED +
'ERROR: '
+ get_frame_info(level) + str(message)
70
+ CMDColors.ENDC)
71
exit(1)
72
73
74
def
mace_check(condition, message):
Callers
7
compare_output
Function · 0.45
validate_tf_model
Function · 0.45
validate_caffe_model
Function · 0.45
validate_onnx_model
Function · 0.45
validate_megengine_model
Function · 0.45
validate_keras_model
Function · 0.45
mace_check
Function · 0.45
Calls
1
get_frame_info
Function · 0.70
Tested by
no test coverage detected