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

Method QWeight

lingvo/core/quant_utils.py:294–304  ·  view source on GitHub ↗

Quantizes a weight. Args: w: The weight tensor. domain: Name of the QDomain to use for quantization. Returns: The weights quantized.

(self, w, domain: str = 'default')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

FPropMethod · 0.80
_ApplyConvMethod · 0.80
FPropMethod · 0.80
_FlatFPropMethod · 0.80
DenseWeightsMethod · 0.80
SimpleLogitsMethod · 0.80
GetMixResultMethod · 0.80
PackSourceMethod · 0.80
EncodeSourceMethod · 0.80
MultiTaskProjectionFunction · 0.80

Calls 2

_GetQDomainMethod · 0.95
QuantizeWeightMethod · 0.45

Tested by 1

FPropMethod · 0.64