Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 503 Bytes

fw.md

File metadata and controls

10 lines (5 loc) · 503 Bytes

Framework Specific Implementation Details

TensorFlow

Dropout and the TRAIN_FLAG()

In the TensorFlow backend, we use a global method function TRAIN_FLAG() to determine if things like dropout should be applied. If the user is running mead to train (which is the typical case), this flag is automatically defined as a boolean that will default False (meaning no dropout will be applied).

We provide a method which allows the user to override the value of the TRAIN_FLAG() on demand.