Skip to content

Instantly share code, notes, and snippets.

@aribornstein
Created February 14, 2021 15:14
Show Gist options
  • Save aribornstein/bac9045b7e95752a1fef2c4df1debbc0 to your computer and use it in GitHub Desktop.
Save aribornstein/bac9045b7e95752a1fef2c4df1debbc0 to your computer and use it in GitHub Desktop.
def forward(...):
embeddings = self.encoder(x)
def training_step(...):
x, y = ...
z = self.encoder(x)
pred = self.decoder(z)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment