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

Method get_parameters

caffe2/python/layers/layers.py:352–353  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

350 self._output_schema = output_schema
351
352 def get_parameters(self):
353 return self.params
354
355 def get_fp16_compatible_parameters(self):
356 """Return a subset of parameters which can be converted to fp16"""

Callers 2

add_layerMethod · 0.80
get_parameter_blobsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected