View source on GitHub |
Type of reduction to be done by the n-gram op.
The supported reductions are as follows:
Reduction.SUM
: Add values in the window.Reduction.MEAN
: Average values in the window.Reduction.STRING_JOIN
: Join strings in the window.
Class Variables | |
---|---|
MEAN |
<Reduction.MEAN: 2>
|
STRING_JOIN |
<Reduction.STRING_JOIN: 3>
|
SUM |
<Reduction.SUM: 1>
|