Method GlobalAverageVariancePool
GlobalAverageVariancePool(TensorFloat, TensorFloat, int)
Calculates an output tensor by pooling the mean and variance values of the input tensor across the spatial dimensions from a given axis. The spatial dimensions of the output are size 1.
Declaration
public override void GlobalAverageVariancePool(TensorFloat X, TensorFloat O, int axis)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat | X | The input tensor. |
TensorFloat | O | The output tensor to be computed and filled. |
int | axis | The axis from which to pool. |