code: def test_cardinality(self, shape, kernel_size, device, dtype):
      inp = torch.zeros(shape, device=device, dtype=dtype)
      actual = bilateral_blur(inp, kernel_size, 0.1, (1, 1))
      assert actual.shape == shape
  
imports: import pytest
  import torch
  from kornia.filters import BilateralBlur, JointBilateralBlur, bilateral_blur, joint_bilateral_blur
  from kornia.testing import BaseTester, tensor_to_gradcheck_var
label_desc: Use image node_id 2 for calling the TestBilateralBlur obj's underlying member method code with example usage: obj.test_cardinality(shape, kernel_size, device, dtype) without return types