public class Hdf5Archive
extends java.lang.Object
Constructor and Description |
---|
Hdf5Archive(java.lang.String archiveFilename) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getDataSets(java.lang.String... groups)
Get list of data sets from group path.
|
java.util.List<java.lang.String> |
getGroups(java.lang.String... groups)
Get list of groups from group path.
|
boolean |
hasAttribute(java.lang.String attributeName,
java.lang.String... groups)
Check whether group path contains string attribute.
|
java.lang.String |
readAttributeAsJson(java.lang.String attributeName,
java.lang.String... groups)
Read JSON-formatted string attribute from group path.
|
org.nd4j.linalg.api.ndarray.INDArray |
readDataSet(java.lang.String datasetName,
java.lang.String... groups)
Read data set as ND4J array from group path.
|
public org.nd4j.linalg.api.ndarray.INDArray readDataSet(java.lang.String datasetName, java.lang.String... groups) throws UnsupportedKerasConfigurationException
datasetName
- Name of data setgroups
- Array of zero or more ancestor groups from root to parent.UnsupportedKerasConfigurationException
public java.lang.String readAttributeAsJson(java.lang.String attributeName, java.lang.String... groups) throws UnsupportedKerasConfigurationException
attributeName
- Name of attributegroups
- Array of zero or more ancestor groups from root to parent.UnsupportedKerasConfigurationException
public boolean hasAttribute(java.lang.String attributeName, java.lang.String... groups)
attributeName
- Name of attributegroups
- Array of zero or more ancestor groups from root to parent.public java.util.List<java.lang.String> getDataSets(java.lang.String... groups)
groups
- Array of zero or more ancestor groups from root to parent.public java.util.List<java.lang.String> getGroups(java.lang.String... groups)
groups
- Array of zero or more ancestor groups from root to parent.