MCPcopy Create free account
hub / github.com/tensorflow/lingvo / ToAqtConv

Method ToAqtConv

lingvo/core/quant_utils.py:497–530  ·  view source on GitHub ↗

Quantizes Weights and activations for convolutions. Refer to quantizable_layer.ToAqtConv. Args: w_name: Previously created w_name QWeight to quantize weight. act: The activation tensor to quantize. weight: The weight tensor to quantizes. w_feature_axis: axis corresp

(self,
                w_name,
                act,
                weight,
                w_feature_axis,
                act_distribution=QDistribution.SYMMETRIC,
                w_expected_scale_shape=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

_ValidateWeightMethod · 0.95
_GetQDomainMethod · 0.95
ToAqtConvMethod · 0.45

Tested by

no test coverage detected