MCPcopy Create free account
hub / github.com/ACL2020SpellGCN/SpellGCN / dropout

Function dropout

modeling.py:343–358  ·  view source on GitHub ↗

Perform dropout. Args: input_tensor: float Tensor. dropout_prob: Python float. The probability of dropping out a value (NOT of *keeping* a dimension as in `tf.nn.dropout`). Returns: A version of `input_tensor` with dropout applied.

(input_tensor, dropout_prob)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

layer_norm_and_dropoutFunction · 0.85
attention_layerFunction · 0.85
transformer_modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected