MCPcopy Create free account
hub / github.com/BVLC/caffe / __getattr__

Method __getattr__

python/caffe/net_spec.py:221–225  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

219 to specify max pooling."""
220
221 def __getattr__(self, name):
222 class Param:
223 def __getattr__(self, param_name):
224 return getattr(getattr(caffe_pb2, name + 'Parameter'), param_name)
225 return Param()
226
227
228_param_names = param_name_dict()

Callers

nothing calls this directly

Calls 1

ParamClass · 0.85

Tested by

no test coverage detected