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

Method GetNameScope

caffe2/python/core.py:264–265  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262 return self._from_net
263
264 def GetNameScope(self):
265 return self._name[:self._name.rfind(scope._NAMESCOPE_SEPARATOR) + 1]
266
267 def GetUnscopedName(self):
268 return self._name[self._name.rfind(scope._NAMESCOPE_SEPARATOR) + 1:]

Callers 6

GetParamsMethod · 0.80
GetComputedParamsMethod · 0.80
_GroupByDeviceFunction · 0.80
_get_weightsFunction · 0.80
model_build_funMethod · 0.80
GetNonTrainableParamsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected