MCPcopy
hub / github.com/OpenPPL/ppq / copy

Method copy

ppq/core/quant.py:945–949  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

943 return this
944
945 def copy(self):
946 config = super().copy()
947 return self.convert_from_tensor_config(
948 config, scale=config.scale, offset=config.offset,
949 channel_axis=self.channel_axis)
950
951
952class OperationQuantizationConfig(Iterable):

Callers

nothing calls this directly

Calls 2

copyMethod · 0.45

Tested by

no test coverage detected