Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pytorch policy #31

Merged
merged 18 commits into from
Nov 28, 2023
Merged

Add pytorch policy #31

merged 18 commits into from
Nov 28, 2023

Conversation

cheng-tan
Copy link
Collaborator

@cheng-tan cheng-tan commented Nov 13, 2023

TODO:

  • refactor feature embedder

@cheng-tan cheng-tan marked this pull request as ready for review November 28, 2023 15:14
return " ".join(results)

def format(self, event):
# TODO: handle dense
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe throw a not yet supported message


def predict(self, event):
X, A = self.feature_embedder.format(event)
# print(f"X shape: {X.shape}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove commented out print statements here and below

@cheng-tan cheng-tan changed the title Byom Add pytorch policy Nov 28, 2023
@cheng-tan cheng-tan merged commit f9f5c3d into main Nov 28, 2023
13 checks passed
@cheng-tan cheng-tan deleted the byom branch November 28, 2023 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants