FractionalMaxPool.Options

public static class FractionalMaxPool.Options

Optional attributes for FractionalMaxPool

Public Methods

FractionalMaxPool.Options
deterministic(Boolean deterministic)
FractionalMaxPool.Options
overlapping(Boolean overlapping)
FractionalMaxPool.Options
pseudoRandom(Boolean pseudoRandom)
FractionalMaxPool.Options
seed(Long seed)
FractionalMaxPool.Options
seed2(Long seed2)

Inherited Methods

Public Methods

public FractionalMaxPool.Options deterministic (Boolean deterministic)

Parameters
deterministic When set to True, a fixed pooling region will be used when iterating over a FractionalMaxPool node in the computation graph. Mainly used in unit test to make FractionalMaxPool deterministic.

public FractionalMaxPool.Options overlapping (Boolean overlapping)

Parameters
overlapping When set to True, it means when pooling, the values at the boundary of adjacent pooling cells are used by both cells. For example:

`index 0 1 2 3 4`

`value 20 5 16 3 7`

If the pooling sequence is [0, 2, 4], then 16, at index 2 will be used twice. The result would be [20, 16] for fractional max pooling.

public FractionalMaxPool.Options pseudoRandom (Boolean pseudoRandom)

Parameters
pseudoRandom When set to True, generates the pooling sequence in a pseudorandom fashion, otherwise, in a random fashion. Check paper [Benjamin Graham, Fractional Max-Pooling](http://arxiv.org/abs/1412.6071) for difference between pseudorandom and random.

public FractionalMaxPool.Options seed (Long seed)

Parameters
seed If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed. Otherwise, it is seeded by a random seed.

public FractionalMaxPool.Options seed2 (Long seed2)

Parameters
seed2 An second seed to avoid seed collision.