public abstract class UIServer extends Object
| Constructor and Description |
|---|
UIServer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
attach(org.deeplearning4j.api.storage.StatsStorage statsStorage)
Attach the given StatsStorage instance to the UI, so the data can be visualized
|
abstract void |
detach(org.deeplearning4j.api.storage.StatsStorage statsStorage)
Detach the specified StatsStorage instance from the UI
|
abstract void |
disableRemoteListener()
Disable the remote listener functionality (disabled by default)
|
abstract void |
enableRemoteListener()
Enable the remote listener functionality, storing all data in memory, and attaching the instance to the UI.
|
abstract void |
enableRemoteListener(org.deeplearning4j.api.storage.StatsStorageRouter statsStorage,
boolean attach)
Enable the remote listener functionality, storing the received results in the specified StatsStorageRouter.
|
abstract String |
getAddress()
Get the address of the UI
|
static UIServer |
getInstance()
Get (and, initialize if necessary) the UI server.
|
abstract int |
getPort()
Get the current port for the UI
|
abstract List<org.deeplearning4j.api.storage.StatsStorage> |
getStatsStorageInstances() |
abstract boolean |
isAttached(org.deeplearning4j.api.storage.StatsStorage statsStorage)
Check whether the specified StatsStorage instance is attached to the UI instance
|
abstract boolean |
isRemoteListenerEnabled() |
abstract void |
stop()
Stop/shut down the UI server.
|
public static UIServer getInstance()
public abstract String getAddress()
public abstract int getPort()
public abstract void attach(org.deeplearning4j.api.storage.StatsStorage statsStorage)
statsStorage - StatsStorage instance to attach to the UIpublic abstract void detach(org.deeplearning4j.api.storage.StatsStorage statsStorage)
statsStorage - StatsStorage instance to detach. If not attached: no op.public abstract boolean isAttached(org.deeplearning4j.api.storage.StatsStorage statsStorage)
statsStorage - StatsStorage instance to attachpublic abstract List<org.deeplearning4j.api.storage.StatsStorage> getStatsStorageInstances()
public abstract void enableRemoteListener()
org.deeplearning4j.api.storage.impl.RemoteUIStatsStorageRouter, which will send information
remotely to this UI instancepublic abstract void enableRemoteListener(org.deeplearning4j.api.storage.StatsStorageRouter statsStorage,
boolean attach)
StatsStorage instance, it may (optionally) be attached to the UI,
as if attach(StatsStorage) was called on it.statsStorage - StatsStorageRouter to post the received results toattach - Whether to attach the given StatsStorage instance to the UI serverpublic abstract void disableRemoteListener()
public abstract boolean isRemoteListenerEnabled()
public abstract void stop()
Copyright © 2018. All rights reserved.