MCPcopy Create free account
hub / github.com/pytorch/pytorch / stat

Method stat

scripts/release_notes/commitlist.py:404–408  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

402 self.commits += new_commits
403
404 def stat(self):
405 counts = defaultdict(lambda: defaultdict(int))
406 for commit in self.commits:
407 counts[commit.category][commit.topic] += 1
408 return counts
409
410
411def create_new(path, base_version, new_version):

Callers 9

get_model_infoFunction · 0.80
downloadFunction · 0.80
is_cached_file_validFunction · 0.80
filesizeFunction · 0.80
translate_native_yamlFunction · 0.80
parse_yamlFunction · 0.80
mainFunction · 0.80
upload_onnx_modelFunction · 0.80

Calls

no outgoing calls

Tested by 3

is_cached_file_validFunction · 0.64
filesizeFunction · 0.64