Dropout
Description
Copies or masks the input data.
Input
One to three inputs:
data: tensor of type float16 or float.
ratio: (optional) float16 or float.
training_mode: (optional) bool.
Output
One or two outputs:
output: tensor of the identical data type as the input data.
mask: (optional) tensor of type bool.
Constraints
For details about optional input and output configurations, see https://github.com/onnx/onnx/blob/main/docs/IR.md#optional-inputs-and-outputs.
ONNX Opset Support
Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18
Parent topic: Operators Specifications of the AI Framework