Skip to content

Instantly share code, notes, and snippets.

@sadimanna
Created January 7, 2021 03:02
Show Gist options
  • Select an option

  • Save sadimanna/0b759f10daba8ca08b3166ff2a62eceb to your computer and use it in GitHub Desktop.

Select an option

Save sadimanna/0b759f10daba8ca08b3166ff2a62eceb to your computer and use it in GitHub Desktop.
class newVGG(VGG):
def __init__(self,
features: nn.Module,
**kwargs: Any) -> None:
super().__init__(features,**kwargs)
def forward(self, x: torch.Tensor) -> torch.Tensor:
x = self.features(x)
return x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment