public class TensorFlowClusterResolver extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHIEF_JOB_NAME
TensorFlow chief job name.
|
static String |
WORKER_JOB_NAME
TensorFlow worker job name.
|
Constructor and Description |
---|
TensorFlowClusterResolver(Ignite ignite,
String portPoolName,
int portFrom,
int portCnt)
Constructs a new instance of TensorFlow cluster resolver.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys TensorFlow cluster resolver.
|
void |
releasePorts(TensorFlowClusterSpec spec)
Releases ports acquired for the given cluster specification.
|
TensorFlowClusterSpec |
resolveAndAcquirePorts(String upstreamCacheName)
Resolves TensorFlow cluster and acquires required ports.
|
public static final String WORKER_JOB_NAME
public static final String CHIEF_JOB_NAME
public TensorFlowClusterSpec resolveAndAcquirePorts(String upstreamCacheName)
upstreamCacheName
- Upstream cache name.public void releasePorts(TensorFlowClusterSpec spec)
spec
- TensorFlow cluster specification.public void destroy()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024