Dropout - 7 vs 10#

Next section compares an older to a newer version of the same operator after both definition are converted into markdown text. Green means an addition to the newer version, red means a deletion. Anything else is unchanged.

Files changed (1) hide show
  1. Dropout7 → Dropout10 +5 -8
Dropout7 → Dropout10 RENAMED
@@ -1 +1 @@
1
- Dropout takes one input floating tensor and produces two tensor outputs,
1
+ Dropout takes one input data (Tensor<float>) and produces two Tensor outputs,
2
- output (floating tensor) and mask (Tensor<bool>). Depending on whether it is
2
+ output (Tensor<float>) and mask (Tensor<bool>). Depending on whether it is in
3
- in test mode or not, the output Y will either be a random dropout, or a simple
3
+ test mode or not, the output Y will either be a random dropout, or a simple
4
4
  copy of the input. Note that our implementation of Dropout does scaling in
5
5
  the training phase, so during testing nothing needs to be done.
6
6
  This operator has **optional** inputs/outputs. See ONNX <https://github.com/onnx/onnx/blob/master/docs/IR.md>_ for more details about the representation of optional arguments. An empty string may be used in the place of an actual argument's name to indicate a missing argument. Trailing optional arguments (those not followed by an argument that is present) may also be simply omitted.
7
7
  **Attributes**
8
8
  * **ratio**:
9
9
  The ratio of random dropout
10
10
  **Inputs**
11
11
  * **data** (heterogeneous) - **T**:
12
12
  The input data as Tensor.
13
13
  **Outputs**
14
14
  Between 1 and 2 outputs.
15
15
  * **output** (heterogeneous) - **T**:
16
16
  The output.
17
- * **mask** (optional, heterogeneous) - **T1**:
17
+ * **mask** (optional, heterogeneous) - **T**:
18
18
  The output mask.
19
19
  **Type Constraints**
20
20
  * **T** in (
21
21
  tensor(double),
22
22
  tensor(float),
23
23
  tensor(float16)
24
24
  ):
25
- Constrain input and output types to float tensors.
25
+ Constrain input and output types to float tensors.- * **T1** in (
26
- tensor(bool)
27
- ):
28
- Constrain output mask types to boolean tensors.