-
Notifications
You must be signed in to change notification settings - Fork 50
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 BinaryOutput #1099
Add BinaryOutput #1099
Conversation
Documentation preview |
self.setup_schema(schema) | ||
self.register_buffer("target", torch.zeros(1, dtype=torch.float32)) | ||
|
||
def setup_schema(self, schema: Optional[ColumnSchema]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we need to make things more explicit and turn this into setup_column_schema
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we could go either way, but I kept setup_schema
in 2385020, since output_schema
is a Schema
not a ColumnSchema
.
Goals β½
This PR introduces the following classes for the pytorch backend:
Implementation Details π§
Testing Details π
Coverage: