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

Method GetState

lingvo/core/quant_utils.py:1192–1202  ·  view source on GitHub ↗

Gets a state tensor that can be used to calculate clipping. The state will be a float32 tensor that is safe to pass to TF functions. Args: theta: Layer theta. Returns: An opaque tensor to be passed to ApplyClippingWithState().

(self, theta)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

ApplyClippingMethod · 0.95
_GatesMethod · 0.45
testQuantizedLSTMCellMethod · 0.45
ApplyClippingMethod · 0.45

Calls

no outgoing calls