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

167 tensor redistribution for binary operations #268

Conversation

Cdebus
Copy link
Contributor

@Cdebus Cdebus commented May 21, 2019

Addresses #167
Option for two different split axes not implemented yet, as it first needs fixing of #233 for allgather.
However, should still be merged, since it fixes issues regarding one split and one non-split tensor.
Also, better handling of cases with scalar values is supported

Cdebus added 6 commits May 2, 2019 12:28
- Scalars are not converted to 1D tensors, but are passed directly to torch opperation
- Error handling for non-supported types is passed on from torch
- Implementation of case: one tensor split, one tensor not split
- some restructuring
@Cdebus Cdebus requested a review from Markus-Goetz May 21, 2019 06:50
@codecov-io
Copy link

codecov-io commented May 21, 2019

Codecov Report

Merging #268 into master will increase coverage by 0.08%.
The diff coverage is 98.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #268      +/-   ##
==========================================
+ Coverage   96.17%   96.26%   +0.08%     
==========================================
  Files          47       47              
  Lines        6514     6643     +129     
==========================================
+ Hits         6265     6395     +130     
+ Misses        249      248       -1
Impacted Files Coverage Δ
heat/core/relational.py 100% <100%> (ø) ⬆️
heat/core/tests/test_arithmetics.py 100% <100%> (ø) ⬆️
heat/core/tests/test_relational.py 100% <100%> (ø) ⬆️
heat/core/arithmetics.py 100% <100%> (ø) ⬆️
heat/core/operations.py 92.25% <93.93%> (+1.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff61863...a65d95e. Read the comment docs.

@Cdebus
Copy link
Contributor Author

Cdebus commented May 21, 2019

Bump, still needs improvement with respect to broadcasting

@Cdebus Cdebus closed this Oct 14, 2019
@Cdebus Cdebus deleted the 167_TensorRedistributionForBinaryOperations branch April 7, 2020 11:05
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