code: def test_shape(self, device, dtype):
      inp = torch.ones(1, 32, device=device, dtype=dtype)
      bins = torch.linspace(0, 255, 128, device=device, dtype=dtype)
      bandwidth = torch.tensor(0.9, device=device, dtype=dtype)
      pdf = TestHistogram.fcn(inp, bins, bandwidth)
      assert pdf.shape == (1, 128)
  
imports: import pytest
  import torch
  from packaging import version
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the TestHistogram obj's underlying member method code with example usage: obj.test_shape(device, dtype) without return types