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 Tensor broadcasting for binary ops #775

Closed
wants to merge 1 commit into from

Conversation

jacobkahn
Copy link
Member

Summary: Internally use ArrayFire's af::batchFunc to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Dec 7, 2021
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D32678121

jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Dec 8, 2021
Summary:
Pull Request resolved: flashlight#775

Internally use ArrayFire's `af::batchFunc` to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

fbshipit-source-id: fbfc2cbc4954e5d7dd111d847d23a54269ce893b
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D32678121

jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Dec 8, 2021
Summary:
Pull Request resolved: flashlight#775

Internally use ArrayFire's `af::batchFunc` to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

fbshipit-source-id: 355cedd0e33e22bdad03845836bbad03df40c7a4
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D32678121

1 similar comment
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D32678121

jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Jan 10, 2022
Summary:
Pull Request resolved: flashlight#775

Internally use ArrayFire's `af::batchFunc` to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

fbshipit-source-id: e25b1b94da7fedf1f2b1c6db20f9333871afafb0
Summary:
Pull Request resolved: flashlight#775

Internally use ArrayFire's `af::batchFunc` to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

fbshipit-source-id: da2b5a3746fbca86b4cf0f32dd900ba4f4b5ad18
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D32678121

jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Jan 11, 2022
Summary:
Pull Request resolved: flashlight#775

Internally use ArrayFire's `af::batchFunc` to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

fbshipit-source-id: 209964ae03b6ec4ca8958cfdec99dc0cbabf7122
jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Jan 11, 2022
Summary:
Pull Request resolved: flashlight#775

Internally use ArrayFire's `af::batchFunc` to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

fbshipit-source-id: 925a5e975bc57a8a7eb26db50bde54100130b48b
jacobkahn added a commit to jacobkahn/flashlight that referenced this pull request Jan 11, 2022
Summary:
Pull Request resolved: flashlight#775

Internally use ArrayFire's `af::batchFunc` to add Tensor broadcasting behavior for all binary operations. This doesn't add broadcasting to some operations (e.g. in place ops) or weird indexing assignment ops, but we can add those later after some discussion on behavior — binary op behavior is pretty unambiguous.

Differential Revision: D32678121

fbshipit-source-id: f5e1cccffe159147375b1eb5174eaf70ddb035d7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants