Environment Settings#
Set the default computation environment. |
|
Set the default computation environment. |
|
Set global default float type. |
|
Get the default float data type. |
|
Set global default integer type. |
|
Get the default int data type. |
|
Set global default boolean type. |
|
Get the default boolean data type. |
|
Set global default complex type. |
|
Get the default complex data type. |
|
Set the default numerical integrator precision. |
|
Get the numerical integrator precision. |
|
Set the default computing mode. |
|
Get the default computing mode. |
|
Changes platform to CPU, GPU, or TPU. |
|
Get the computing platform. |
|
By default, XLA considers all CPU cores as one device. |
|
Clear all on-device buffers. |
|
Disable pre-allocating the GPU memory. |
|
Disable pre-allocating the GPU memory. |
|
Default int type. |
|
Default float type. |
|
Context-manager that sets a computing environment for brain dynamics computation. |
|
Environment with the batching mode. |
|
Environment with the training mode. |