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

Function getURLFromName

caffe2/python/models/download.py:78–80  ·  view source on GitHub ↗
(name, filename)

Source from the content-addressed store, hash-verified

76
77
78def getURLFromName(name, filename):
79 return "{base_url}{name}/{filename}".format(base_url=DOWNLOAD_BASE_URL,
80 name=name, filename=filename)
81
82
83def downloadModel(model, args):

Callers 4

_downloadMethod · 0.90
download_caffe2_modelFunction · 0.90
downloadModelFunction · 0.85
_downloadMethod · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…