def METHOD_NAME(self):
    batch_size = 2
    beta = torch.rand(batch_size)
    kernel = HammingIMQKernel(vocab_size=8, batch_shape=torch.Size([batch_size]))
    kernel.initialize(beta=beta)
    actual_value = beta.view_as(kernel.beta)
    self.assertLess(torch.norm(kernel.beta - actual_value), 1e-5)