File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,12 @@ Sequence Pool Operator.
58
58
59
59
The SequencePoolOp pools features of all time-steps of each instance.
60
60
It supports six pooling types:
61
- 1. AVERAGE: Out[i] = $$avg( X_i) $$
62
- 2. SUM: Out[i] = $$ \sum_jX_{ij}$$
63
- 3. SQRT: Out[i] = $$ \frac{\sum_jX_{ij}}{\sqrt{len(X_i)}}$$
61
+ 1. AVERAGE: $$ Out[i] = \frac{\sum_i X_i}{N} $$
62
+ 2. SUM: $$ Out[i] = \sum_jX_{ij}$$
63
+ 3. SQRT: $$ Out[i] = \frac{\sum_jX_{ij}}{\sqrt{len(X_i)}}$$
64
64
4. LAST: Out[i] = last instance in i-th sequence X[i]
65
65
5. FIRST: Out[i] = first instance in i-th sequence X[i]
66
- 6. MAX: Out[i] = $$ max(X_i)$$
66
+ 6. MAX: $$ Out[i] = max(X_i)$$
67
67
68
68
The following example explains how this works:
69
69
For a mini-batch of 3 variable-length sentences,
You can’t perform that action at this time.
0 commit comments