Implement Global Average Pooling | TensorTonic