code: def test_scalematern_kernel(self) -> None:
      covar = ScaleMaternKernel(
          ard_num_dims=10,
          lengthscale_prior=GammaPrior(6.0, 3.0),
          outputscale_prior=GammaPrior(2.0, 0.15),
          batch_shape=torch.Size([2]),
      )
      self.assertTrue(isinstance(covar.base_kernel, MaternKernel))
      self.assertTrue(isinstance(covar.base_kernel, MaternKernel))
      self.assertEqual(covar.base_kernel.ard_num_dims, 10)
      self.assertEqual(covar.base_kernel.lengthscale_prior.rate, 3.0)
      self.assertEqual(
          covar.base_kernel.lengthscale_prior.concentration, 6.0
      )
      self.assertEqual(covar.outputscale_prior.rate, 0.15)
      self.assertEqual(covar.outputscale_prior.concentration, 2.0)
      self.assertEqual(covar.base_kernel.batch_shape[0], 2)
  
file_path: Ax/ax/models/torch/tests/test_kernels.py
imports: from __future__ import annotations
  from itertools import product
  import torch
  from ax.exceptions.core import AxError
  from ax.models.torch.botorch_modular.kernels import ScaleMaternKernel, TemporalKernel
  from ax.utils.common.testutils import TestCase
  from gpytorch.constraints import Positive
  from gpytorch.kernels import MaternKernel, PeriodicKernel
  from gpytorch.priors import GammaPrior
label_desc: Use image node_id 1 for calling the KernelsTest obj's underlying member method code with example usage: obj.test_scalematern_kernel() without return types