def METHOD_NAME(self):
    with get_tmp_dir() as tmp_dir:
        # github
        hubconf_dir = join(tmp_dir, 'focal_loss')
        loss = torch_hub_load_github(
            repo='AdeelH/pytorch-multi-class-focal-loss:1.1',
            hubconf_dir=hubconf_dir,
            entrypoint='focal_loss',
            alpha=[.75, .25],
            gamma=2)
        self.assertIsInstance(loss, nn.Module)
        self.assertEqual(loss.alpha.tolist(), [.75, .25])
        self.assertEqual(loss.gamma, 2)
        del loss
        # local, via torch_hub_load_local
        loss = torch_hub_load_local(
            hubconf_dir=hubconf_dir,
            entrypoint='focal_loss',
            alpha=[.75, .25],
            gamma=2)
        self.assertIsInstance(loss, nn.Module)
        self.assertEqual(loss.alpha.tolist(), [.75, .25])
        self.assertEqual(loss.gamma, 2)
        del loss
        # local, via torch_hub_load_uri
        loss = torch_hub_load_uri(
            uri=hubconf_dir,
            hubconf_dir=hubconf_dir,
            entrypoint='focal_loss',
            alpha=[.75, .25],
            gamma=2)
        self.assertIsInstance(loss, nn.Module)
        self.assertEqual(loss.alpha.tolist(), [.75, .25])
        self.assertEqual(loss.gamma, 2)
        del loss
    # torch_hub_load_uri, zip
    with get_tmp_dir() as tmp_dir:
        hubconf_dir = join(tmp_dir, 'focal_loss')
        loss = torch_hub_load_uri(
            uri=
            'https://github.com/AdeelH/pytorch-multi-class-focal-loss/archive/refs/tags/1.1.zip',  # noqa
            hubconf_dir=hubconf_dir,
            entrypoint='focal_loss',
            alpha=[.75, .25],
            gamma=2)
        self.assertIsInstance(loss, nn.Module)
        self.assertEqual(loss.alpha.tolist(), [.75, .25])
        self.assertEqual(loss.gamma, 2)