public class ND4JSystemProperties
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AERON_TERM_BUFFER_PROP
Applicability: nd4j-parameter-server, dl4j-spark (gradient sharing training master)
Description: Aeros in a high-performance communication library used in distributed computing contexts in some places in ND4J and DL4J. |
static java.lang.String |
DATABUFFER_TO_STRING_MAX_ELEMENTS
Applicability: always
Description: Used to specify the maximum number of elements (numbers) to print when using DataBuffer.toString(). |
static java.lang.String |
DTYPE
Applicability: Always
Description: Sets the default datatype for ND4J - should be one of "float", "double", "half". |
static java.lang.String |
DYNAMIC_LOAD_CLASSPATH_PROPERTY
Applicability: always - but only if an ND4J backend cannot be found/loaded via standard ServiceLoader mechanisms
Description: Set this property to a set fully qualified JAR files to attempt to load before failing on not loading a backend. |
static java.lang.String |
JAVACPP_MEMORY_MAX_BYTES
Applicability: Always
Description: This system property defines the maximum amount of off-heap memory that can be used. |
static java.lang.String |
JAVACPP_MEMORY_MAX_PHYSICAL_BYTES
Applicability: Always
Description: This system property defines the maximum total amount of memory that the process can use - it is the sum of both off-heap and on-heap memory. |
static java.lang.String |
LOG_INITIALIZATION
Applicability: Always
Description: By default, ND4J will log some information when the library has completed initialization, such as the backend (CPU or CUDA), CPU/Devices, memory etc. |
static java.lang.String |
ND4J_CPU_LOAD_OPENBLAS
Applicability: nd4j-native backend, when multiple BLAS libraries are available
Description: This system property can be used to control which BLAS library is loaded and used by ND4J. |
static java.lang.String |
ND4J_CPU_LOAD_OPENBLAS_NOLAPACK
Applicability: nd4j-native backend, when multiple BLAS libraries are available
Description: This system property can be used to control which BLAS library is loaded and used by ND4J. |
static java.lang.String |
ND4J_TEMP_DIR_PROPERTY
Applicability: ND4J Temporary file creation/extraction for ClassPathResource, memory mapped workspaces, and
Description: Specify the local directory where temporary files will be written. |
static java.lang.String |
RESOURCES_CACHE_DIR
Applicability: nd4j-common
Resources class (and hence StrumpfResolver)Description: When resolving resources from a Strumpf resource file (Example: Resources.asFile("myFile.txt")
where should the remote files be downloaded to?This is generally used for resolving test resources, but can be used for Strumpf resource files generally. |
static java.lang.String |
RESOURCES_LOCAL_DIRS
Applicability: nd4j-common
Resources class (and hence StrumpfResolver)Description: When resolving resources, what local directories should be checked (in addition to the classpath) for files? This is optional. |
static java.lang.String |
VERSION_CHECK_PROPERTY
Applicability: Always
Description Setting the system property to false will stop ND4J from performing the version check, and logging any warnings/errors. |
public static final java.lang.String DTYPE
public static final java.lang.String LOG_INITIALIZATION
public static final java.lang.String JAVACPP_MEMORY_MAX_BYTES
public static final java.lang.String JAVACPP_MEMORY_MAX_PHYSICAL_BYTES
JAVACPP_MEMORY_MAX_BYTES,
Constant Field Valuespublic static final java.lang.String ND4J_TEMP_DIR_PROPERTY
public static final java.lang.String DYNAMIC_LOAD_CLASSPATH_PROPERTY
ND4JEnvironmentVars.BACKEND_DYNAMIC_LOAD_CLASSPATH for the equivalent
system property (the system property will take precidence if both are set)public static final java.lang.String VERSION_CHECK_PROPERTY
public static final java.lang.String DATABUFFER_TO_STRING_MAX_ELEMENTS
public static final java.lang.String ND4J_CPU_LOAD_OPENBLAS
org.bytedeco.javacpp.openblas.load=mkl_rt can be used to load a default installation of MKL.
However, MKL is liked with by default (when available) so setting this option explicitly is not usually required.
For more details, see https://github.com/bytedeco/javacpp-presets/tree/master/openblas#documentationpublic static final java.lang.String ND4J_CPU_LOAD_OPENBLAS_NOLAPACK
ND4J_CPU_LOAD_OPENBLAS but when this is set, LAPACK will not be loadedpublic static final java.lang.String AERON_TERM_BUFFER_PROP
Encoded message exceeds maxMessageLength of 2097152,
at the expense of increased memory consumption (memory consumption is a multiple of this). It is specified in bytes
with no unit suffix. Default value: 33554432 (32MB).
IMPORTANT: This value must be an exact power of 2.public static final java.lang.String RESOURCES_CACHE_DIR
Resources class (and hence StrumpfResolver)Resources.asFile("myFile.txt")
where should the remote files be downloaded to?public static final java.lang.String RESOURCES_LOCAL_DIRS
Resources class (and hence StrumpfResolver)Copyright © 2019. All rights reserved.