MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / hash_build_args

Function hash_build_args

imperative/python/megengine/utils/custom_op_tools.py:194–198  ·  view source on GitHub ↗
(hash_value, build_args)

Source from the content-addressed store, hash-verified

192
193
194def hash_build_args(hash_value, build_args):
195 for group in build_args:
196 for arg in group:
197 hash_value = update_hash(hash_value, arg)
198 return hash_value
199
200
201Entry = collections.namedtuple("Entry", "version, hash")

Callers 1

Calls 1

update_hashFunction · 0.85

Tested by

no test coverage detected