Dropout¶
Apply dropout regularization to the data.
This will randomly drop out a given element with probability given by the dropout rate. As a result, the downstream nodes will see a different input each time, and the network will be forced to learn robust representations that are not overly dependent on any one element. More Info... Version 0.2.1
Ports/Properties¶
data¶
Data to process.
- verbose name: Data
- default value: None
- port type: DataPort
- value type: AnyNumeric (can be None)
- data direction: INOUT
random¶
Random number key to use.
- verbose name: Random
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
is_training¶
Whether the node is used in training mode.
- verbose name: Is Training
- default value: None
- port type: DataPort
- value type: bool (can be None)
- data direction: IN
rate¶
Dropout rate. The probability of dropping out a given element.
- verbose name: Dropout Rate
- default value: 0.5
- port type: FloatPort
- value type: float (can be None)
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
- verbose name: Set Breakpoint (Debug Only)
- default value: False
- port type: BoolPort
- value type: bool (can be None)
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.
- verbose name: Metadata
- default value: {}
- port type: DictPort
- value type: dict (can be None)