Skip to content

Make record serializer accept one-dimensional arrays (#320) #334

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

Merged
merged 4 commits into from
Aug 9, 2018

Conversation

jnclt
Copy link
Contributor

@jnclt jnclt commented Aug 3, 2018

Issue #, if available:
#320

Description of changes:
The record serializer processes reshaped arrays.
A unit test for the corresponding one-dimensional case added.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

  • [ x ] I have read the CONTRIBUTING doc
  • [ x ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • [ x ] I have updated the changelog with a description of my changes (if appropriate)
  • I have updated any necessary documentation (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-io
Copy link

codecov-io commented Aug 3, 2018

Codecov Report

Merging #334 into master will decrease coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
- Coverage   93.03%   92.94%   -0.09%     
==========================================
  Files          51       51              
  Lines        3560     3560              
==========================================
- Hits         3312     3309       -3     
- Misses        248      251       +3
Impacted Files Coverage Δ
src/sagemaker/amazon/common.py 97.01% <100%> (+0.74%) ⬆️
src/sagemaker/local/image.py 87.68% <0%> (-1.18%) ⬇️

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 7baf682...f76d911. Read the comment docs.

Copy link
Contributor

@icywang86rui icywang86rui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing this.

CHANGELOG.rst Outdated
@@ -2,6 +2,10 @@
CHANGELOG
=========

1.8.1dev
=====
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor - Please add three more '='s.

yangaws
yangaws previously approved these changes Aug 7, 2018
@yangaws yangaws merged commit 06f72ec into aws:master Aug 9, 2018
@jnclt jnclt deleted the record-serialization-fix branch August 20, 2018 07:23
pdasamzn pushed a commit to pdasamzn/sagemaker-python-sdk that referenced this pull request Nov 1, 2018
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.

4 participants