code: def test_polynomial__compute_powers() -> None:
      assert_allclose(
          [
              (0, 0, 0),
              (0, 0, 1),
              (0, 0, 2),
              (0, 1, 0),
              (0, 1, 1),
              (0, 2, 0),
              (1, 0, 0),
              (1, 0, 1),
              (1, 1, 0),
              (2, 0, 0),
          ],
          list(Polynomial.compute_powers(degree=2, input_dim=3)),
      )
  
imports: from typing import Any, Sequence, Tuple, Type
  import numpy
  import pytest
  import tensorflow_probability
  from check_shapes import check_shapes
  from numpy.testing import assert_allclose
  import gpflow
  from gpflow.base import AnyNDArray, TensorType
  from gpflow.config import default_int
  from gpflow.functions import Additive, Constant, Linear, MeanFunction, Polynomial, Product, SwitchedMeanFunction, Zero
  from gpflow.inducing_variables import InducingPoints
label_desc: Use image node_id 8 for calling a global function with example usage: test_polynomial__compute_powers() without return types