-
Notifications
You must be signed in to change notification settings - Fork 3
docs: transforms API #134
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
docs: transforms API #134
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #134 will not alter performanceComparing Summary
Footnotes
|
| ---@param mask Tensor | ||
| ---output: 2d tensor of shape [batch_size, hidden] | ||
| ---@return Tensor | ||
| function Postprocess(arr, mask) |
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.
Specify a sample mask value here.
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.
@angpt The mask is going to look like a 2d matrix with a bunch of 1s and 0s. It's automatically provided by the transform engine as a parameter to the Postprocess function.
Transforms docs!