Modifier and Type | Class and Description |
---|---|
class |
Neureka.Settings.AutoGrad
This class contains settings which are related to the automatic differentiation of tensors.
|
class |
Neureka.Settings.Debug |
class |
Neureka.Settings.DType |
class |
Neureka.Settings.NDim
Settings for configuring the access pattern of nd-arrays/tensors.
|
class |
Neureka.Settings.View
Settings for configuring how objects should be converted to
String representations. |
Modifier and Type | Method and Description |
---|---|
Neureka.Settings.AutoGrad |
autograd() |
Neureka.Settings.AutoGrad |
autograd(java.lang.Object closure)
This allows you to configure Neureka using a Groovy DSL.
|
Neureka.Settings.Debug |
debug() |
Neureka.Settings.Debug |
debug(java.lang.Object closure)
This allows you to configure Neureka using a Groovy DSL.
|
Neureka.Settings.DType |
dtype() |
Neureka.Settings.DType |
dtype(java.lang.Object closure)
This allows you to configure Neureka using a Groovy DSL.
|
boolean |
isLocked()
Locked settings can only be read but not written to.
|
Neureka.Settings.NDim |
ndim() |
Neureka.Settings.NDim |
ndim(java.lang.Object closure)
This allows you to configure Neureka using a Groovy DSL.
|
void |
setIsLocked(boolean locked)
Can be used to lock or unlock the settings of the current thread-local
Neureka instance. |
java.lang.String |
toString() |
Neureka.Settings.View |
view() |
Neureka.Settings.View |
view(java.lang.Object closure) |
public Neureka.Settings.Debug debug()
public Neureka.Settings.Debug debug(java.lang.Object closure)
public Neureka.Settings.AutoGrad autograd()
public Neureka.Settings.AutoGrad autograd(java.lang.Object closure)
public Neureka.Settings.View view()
public Neureka.Settings.View view(java.lang.Object closure)
public Neureka.Settings.NDim ndim()
public Neureka.Settings.NDim ndim(java.lang.Object closure)
public Neureka.Settings.DType dtype()
public Neureka.Settings.DType dtype(java.lang.Object closure)
public boolean isLocked()
Neureka.Settings
instance will not have an effect.
The attempt, however, will be logged.public void setIsLocked(boolean locked)
Neureka
instance.
Locked settings can only be read but not written to.
Trying to write to a locked Neureka.Settings
instance will not have an effect.
The attempt, however, will be logged.public java.lang.String toString()
toString
in class java.lang.Object