def METHOD_NAME(self, input_param, input_shape, expected_shapes):
    input_param["decoder_padding"] = False
    net = HoVerNet(**input_param).to(device)
    with eval_mode(net):
        result = net.forward(torch.randn(input_shape).to(device))
        for item in result:
            self.assertEqual(result[item].shape, expected_shapes[item])