Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/modelscope
/ compare_fn
Function
compare_fn
modelscope/utils/regress_test_utils.py:628–629 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
626
if
compare_fn is None:
627
628
def
compare_fn(*args, **kwargs):
629
return
None
630
631
keys1 = set(baseline_json.keys())
632
keys2 = set(io_json.keys())
Callers
4
compare_io_and_print
Function · 0.85
compare_backward_and_print
Function · 0.85
compare_cfg_and_optimizers
Function · 0.85
_is_best_metric
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…