forked from tensorflow/io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add multiple dimension slicing/indexing for HDF5 (tensorflow#795)
* Add multiple dimension slicing/indexing for HDF5 This PR adds the multiple dimension slicing/indexing for HDF5 IOTensor. With this PR, it is possible to select a chunk of the data from different dimensions of the HDF5IOTensor: ``` tensor = tfio.IOTensor.from_hdf5(...) tensor[:, 3, 2:8] ``` This PR fixes 754. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix typo Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
- Loading branch information
Showing
3 changed files
with
109 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters