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

Method get_param_info

caffe2/python/model_helper.py:234–237  ·  view source on GitHub ↗
(self, param)

Source from the content-addressed store, hash-verified

232 return param_info.blob
233
234 def get_param_info(self, param):
235 assert isinstance(param, core.BlobReference), \
236 "Param {} is not a BlobReference".format(param)
237 return self._parameters_info.get(param, None)
238
239 # This method is deprecated, use create_param method which
240 # also does parameter initialization when needed

Callers 7

AddGradientOperatorsMethod · 0.95
test_create_paramMethod · 0.95
test_deep_hierarchyMethod · 0.95
test_lstm_paramsMethod · 0.95
test_milstm_paramsMethod · 0.95

Calls 3

isinstanceFunction · 0.85
formatMethod · 0.45
getMethod · 0.45

Tested by 5

test_create_paramMethod · 0.76
test_deep_hierarchyMethod · 0.76
test_lstm_paramsMethod · 0.76
test_milstm_paramsMethod · 0.76