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

support features indexer with length 0 #246

Merged
merged 1 commit into from
Sep 1, 2018

Conversation

corochann
Copy link
Member

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #246 into master will decrease coverage by 6.87%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #246      +/-   ##
==========================================
- Coverage   88.77%   81.89%   -6.88%     
==========================================
  Files         108      108              
  Lines        5246     5253       +7     
==========================================
- Hits         4657     4302     -355     
- Misses        589      951     +362

@corochann
Copy link
Member Author

Could you review @mottodora

except ExtractBySliceNotSupportedError:
res = []
else:
if isinstance(data_index[0], (bool, numpy.bool, numpy.bool_)):
Copy link
Member

Choose a reason for hiding this comment

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

This is not related to this PR. Maybe we need to consider when data_index[0] is numpy.int.

@mottodora
Copy link
Member

LGTM

@mottodora mottodora merged commit dc99ce7 into chainer:master Sep 1, 2018
@corochann corochann deleted the features_indexer_with_length0 branch October 3, 2018 10:35
@corochann corochann added this to the 0.5.0 milestone Feb 7, 2019
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.

3 participants