heat
heat copied to clipboard
Fixes #814
Description
Issue/s resolved: #814
Changes proposed:
- Apply NumPy
squeeze
function to data that we read inload_csv
function. It makes sure we don't get unnecessary dimensions to an array. E,g. array with shape (2,) will be loaded as an array with shape (2,1). This minor fix will make sure that shapes of arrays loaded with NumPy'sloadtxt
function will have equal shapes as arrays loaded withload_csv
.
Type of change
- Bug fix (non-breaking change which fixes an issue)
Due Diligence
- [ x] All split configurations tested
- [ x] Multiple dtypes tested in relevant functions
- [ ] Documentation updated (if needed)
- [ ] Updated changelog.md under the title "Pending Additions"
Does this change modify the behaviour of other functions? If so, which?
no
GPU cluster tests are currently disabled on this Pull Request.
👇 Click on the image for a new way to code review
-
Make big changes easier — review code in small groups of related files
-
Know where to start — see the whole change at a glance
-
Take a code tour — explore the change with an interactive tour
-
Make comments and review — all fully sync’ed with github
Legend
Thank you for the PR!
closing this as no distributed test cases