MCPcopy Index your code
hub / github.com/YunwenTechnology/QueryGeneration / dropout

Function dropout

train/utils.py:115–129  ·  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 2

attention_layerFunction · 0.90
residual_mlp_layerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected