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

tensor slice assign supports broadcasting #5344

Merged
merged 5 commits into from
Jun 29, 2021

Conversation

daquexian
Copy link
Contributor

支持 x[1, :2] = flow.Tensor(2)x[1:5, :2] = flow.Tensor(2),broadcast 的语义和 PyTorch 对齐

Signed-off-by: daquexian <daquexian566@gmail.com>
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 29, 2021 15:54
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 29, 2021 17:19
@oneflow-ci-bot oneflow-ci-bot merged commit 53d1e18 into master Jun 29, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the tensor_slice_assign_broadcast branch June 29, 2021 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants