Interface StatsInitializationReport
-
- All Superinterfaces:
Persistable,Serializable
- All Known Implementing Classes:
JavaStatsInitializationReport,SbeStatsInitializationReport
public interface StatsInitializationReport extends Persistable
-
-
Method Summary
-
Methods inherited from interface org.deeplearning4j.core.storage.Persistable
decode, decode, decode, encode, encode, encode, encodingLengthBytes, getSessionID, getTimeStamp, getTypeID, getWorkerID
-
-
-
-
Method Detail
-
reportSoftwareInfo
void reportSoftwareInfo(String arch, String osName, String jvmName, String jvmVersion, String jvmSpecVersion, String nd4jBackendClass, String nd4jDataTypeName, String hostname, String jvmUID, Map<String,String> swEnvironmentInfo)
- Parameters:
arch- Operating system architecture, as reported by JVMosName- Operating system namejvmName- JVM namejvmVersion- JVM versionjvmSpecVersion- JVM Specification version (for example, 1.8)nd4jBackendClass- ND4J backend Factory classnd4jDataTypeName- ND4J datatype namehostname- Hostname for the machine, if availablejvmUID- A unique identified for the current JVM. Should be shared by all instances in the same JVM. Should vary for different JVMs on the same machine.swEnvironmentInfo- Environment information: Usually from Nd4j.getExecutioner().getEnvironmentInformation()
-
reportHardwareInfo
void reportHardwareInfo(int jvmAvailableProcessors, int numDevices, long jvmMaxMemory, long offHeapMaxMemory, long[] deviceTotalMemory, String[] deviceDescription, String hardwareUID)- Parameters:
jvmAvailableProcessors- Number of available processor cores according to the JVMnumDevices- Number of compute devices (GPUs)jvmMaxMemory- Maximum memory for the JVMoffHeapMaxMemory- Maximum off-heap memorydeviceTotalMemory- GPU memory by device: same length as numDevices. May be null, if numDevices is 0deviceDescription- Description of each device. May be null, if numDevices is 0hardwareUID- A unique identifier for the machine. Should be shared by all instances running on the same machine, including in different JVMs
-
reportModelInfo
void reportModelInfo(String modelClassName, String modelConfigJson, String[] paramNames, int numLayers, long numParams)
Report the model information- Parameters:
modelClassName- Model class name: i.e., type of modelmodelConfigJson- Model configuration, as JSON stringnumLayers- Number of layers in the modelnumParams- Number of parameters in the model
-
hasSoftwareInfo
boolean hasSoftwareInfo()
-
hasHardwareInfo
boolean hasHardwareInfo()
-
hasModelInfo
boolean hasModelInfo()
-
getSwArch
String getSwArch()
-
getSwOsName
String getSwOsName()
-
getSwJvmName
String getSwJvmName()
-
getSwJvmVersion
String getSwJvmVersion()
-
getSwJvmSpecVersion
String getSwJvmSpecVersion()
-
getSwNd4jBackendClass
String getSwNd4jBackendClass()
-
getSwNd4jDataTypeName
String getSwNd4jDataTypeName()
-
getSwHostName
String getSwHostName()
-
getSwJvmUID
String getSwJvmUID()
-
getHwJvmAvailableProcessors
int getHwJvmAvailableProcessors()
-
getHwNumDevices
int getHwNumDevices()
-
getHwJvmMaxMemory
long getHwJvmMaxMemory()
-
getHwOffHeapMaxMemory
long getHwOffHeapMaxMemory()
-
getHwDeviceTotalMemory
long[] getHwDeviceTotalMemory()
-
getHwDeviceDescription
String[] getHwDeviceDescription()
-
getHwHardwareUID
String getHwHardwareUID()
-
getModelClassName
String getModelClassName()
-
getModelConfigJson
String getModelConfigJson()
-
getModelParamNames
String[] getModelParamNames()
-
getModelNumLayers
int getModelNumLayers()
-
getModelNumParams
long getModelNumParams()
-
-