MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / set_amp_options

Method set_amp_options

python/paddle/base/framework.py:4091–4098  ·  view source on GitHub ↗

Set auto cast attribute of this Operator. Args: amp_options (AmpOptions): AmpOptions of this Operator.

(self, amp_options)

Source from the content-addressed store, hash-verified

4089 self.desc.dist_attr = dist_attr
4090
4091 def set_amp_options(self, amp_options):
4092 """
4093 Set auto cast attribute of this Operator.
4094
4095 Args:
4096 amp_options (AmpOptions): AmpOptions of this Operator.
4097 """
4098 self._amp_options = amp_options
4099
4100 @property
4101 def amp_options(self):

Callers 3

prepare_op_amp_optionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected