Package | Description |
---|---|
org.tensorflow.distruntime | |
org.tensorflow.framework |
Modifier and Type | Method and Description |
---|---|
ConfigProto.Builder |
CreateSessionRequest.Builder.getConfigBuilder()
Configuration options.
|
ConfigProto.Builder |
ServerDef.Builder.getDefaultSessionConfigBuilder()
The default configuration for sessions that run on this server.
|
Modifier and Type | Method and Description |
---|---|
CreateSessionRequest.Builder |
CreateSessionRequest.Builder.setConfig(ConfigProto.Builder builderForValue)
Configuration options.
|
ServerDef.Builder |
ServerDef.Builder.setDefaultSessionConfig(ConfigProto.Builder builderForValue)
The default configuration for sessions that run on this server.
|
Modifier and Type | Method and Description |
---|---|
ConfigProto.Builder |
ConfigProto.Builder.addAllDeviceFilters(Iterable<String> values)
When any filters are present sessions will ignore all devices which do not
match the filters.
|
ConfigProto.Builder |
ConfigProto.Builder.addAllSessionInterOpThreadPool(Iterable<? extends ThreadPoolOptionProto> values)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.addDeviceFilters(String value)
When any filters are present sessions will ignore all devices which do not
match the filters.
|
ConfigProto.Builder |
ConfigProto.Builder.addDeviceFiltersBytes(org.nd4j.shade.protobuf.ByteString value)
When any filters are present sessions will ignore all devices which do not
match the filters.
|
ConfigProto.Builder |
ConfigProto.Builder.addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConfigProto.Builder |
ConfigProto.Builder.addSessionInterOpThreadPool(int index,
ThreadPoolOptionProto.Builder builderForValue)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.addSessionInterOpThreadPool(int index,
ThreadPoolOptionProto value)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.addSessionInterOpThreadPool(ThreadPoolOptionProto.Builder builderForValue)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.addSessionInterOpThreadPool(ThreadPoolOptionProto value)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.clear() |
ConfigProto.Builder |
ConfigProto.Builder.clearAllowSoftPlacement()
Whether soft placement is allowed.
|
ConfigProto.Builder |
ConfigProto.Builder.clearClusterDef()
Optional list of all workers to use in this session.
|
ConfigProto.Builder |
ConfigProto.Builder.clearDeviceCount() |
ConfigProto.Builder |
ConfigProto.Builder.clearDeviceFilters()
When any filters are present sessions will ignore all devices which do not
match the filters.
|
ConfigProto.Builder |
ConfigProto.Builder.clearExperimental()
.tensorflow.ConfigProto.Experimental experimental = 16; |
ConfigProto.Builder |
ConfigProto.Builder.clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
ConfigProto.Builder |
ConfigProto.Builder.clearGpuOptions()
Options that apply to all GPUs.
|
ConfigProto.Builder |
ConfigProto.Builder.clearGraphOptions()
Options that apply to all graphs.
|
ConfigProto.Builder |
ConfigProto.Builder.clearInterOpParallelismThreads()
Nodes that perform blocking operations are enqueued on a pool of
inter_op_parallelism_threads available in each process.
|
ConfigProto.Builder |
ConfigProto.Builder.clearIntraOpParallelismThreads()
The execution of an individual op (for some op types) can be
parallelized on a pool of intra_op_parallelism_threads.
|
ConfigProto.Builder |
ConfigProto.Builder.clearIsolateSessionState()
If true, any resources such as Variables used in the session will not be
shared with other sessions.
|
ConfigProto.Builder |
ConfigProto.Builder.clearLogDevicePlacement()
Whether device placements should be logged.
|
ConfigProto.Builder |
ConfigProto.Builder.clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
ConfigProto.Builder |
ConfigProto.Builder.clearOperationTimeoutInMs()
Global timeout for all blocking operations in this session.
|
ConfigProto.Builder |
ConfigProto.Builder.clearPlacementPeriod()
Assignment of Nodes to Devices is recomputed every placement_period
steps until the system warms up (at which point the recomputation
typically slows down automatically).
|
ConfigProto.Builder |
ConfigProto.Builder.clearRpcOptions()
Options that apply when this session uses the distributed runtime.
|
ConfigProto.Builder |
ConfigProto.Builder.clearSessionInterOpThreadPool()
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.clearUsePerSessionThreads()
If true, use a new set of threads for this session rather than the global
pool of threads.
|
ConfigProto.Builder |
ConfigProto.Builder.clone() |
ConfigProto.Builder |
ConfigProto.Builder.mergeClusterDef(ClusterDef value)
Optional list of all workers to use in this session.
|
ConfigProto.Builder |
ConfigProto.Builder.mergeExperimental(ConfigProto.Experimental value)
.tensorflow.ConfigProto.Experimental experimental = 16; |
ConfigProto.Builder |
ConfigProto.Builder.mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Builder |
ConfigProto.Builder.mergeFrom(ConfigProto other) |
ConfigProto.Builder |
ConfigProto.Builder.mergeFrom(org.nd4j.shade.protobuf.Message other) |
ConfigProto.Builder |
ConfigProto.Builder.mergeGpuOptions(GPUOptions value)
Options that apply to all GPUs.
|
ConfigProto.Builder |
ConfigProto.Builder.mergeGraphOptions(GraphOptions value)
Options that apply to all graphs.
|
ConfigProto.Builder |
ConfigProto.Builder.mergeRpcOptions(RPCOptions value)
Options that apply when this session uses the distributed runtime.
|
ConfigProto.Builder |
ConfigProto.Builder.mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
static ConfigProto.Builder |
ConfigProto.newBuilder() |
static ConfigProto.Builder |
ConfigProto.newBuilder(ConfigProto prototype) |
ConfigProto.Builder |
ConfigProto.newBuilderForType() |
protected ConfigProto.Builder |
ConfigProto.newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
ConfigProto.Builder |
ConfigProto.Builder.putAllDeviceCount(Map<String,Integer> values)
Map from device type name (e.g., "CPU" or "GPU" ) to maximum
number of devices of that type to use.
|
ConfigProto.Builder |
ConfigProto.Builder.putDeviceCount(String key,
int value)
Map from device type name (e.g., "CPU" or "GPU" ) to maximum
number of devices of that type to use.
|
ConfigProto.Builder |
ConfigProto.Builder.removeDeviceCount(String key)
Map from device type name (e.g., "CPU" or "GPU" ) to maximum
number of devices of that type to use.
|
ConfigProto.Builder |
ConfigProto.Builder.removeSessionInterOpThreadPool(int index)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.setAllowSoftPlacement(boolean value)
Whether soft placement is allowed.
|
ConfigProto.Builder |
ConfigProto.Builder.setClusterDef(ClusterDef.Builder builderForValue)
Optional list of all workers to use in this session.
|
ConfigProto.Builder |
ConfigProto.Builder.setClusterDef(ClusterDef value)
Optional list of all workers to use in this session.
|
ConfigProto.Builder |
ConfigProto.Builder.setDeviceFilters(int index,
String value)
When any filters are present sessions will ignore all devices which do not
match the filters.
|
ConfigProto.Builder |
ConfigProto.Builder.setExperimental(ConfigProto.Experimental.Builder builderForValue)
.tensorflow.ConfigProto.Experimental experimental = 16; |
ConfigProto.Builder |
ConfigProto.Builder.setExperimental(ConfigProto.Experimental value)
.tensorflow.ConfigProto.Experimental experimental = 16; |
ConfigProto.Builder |
ConfigProto.Builder.setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConfigProto.Builder |
ConfigProto.Builder.setGpuOptions(GPUOptions.Builder builderForValue)
Options that apply to all GPUs.
|
ConfigProto.Builder |
ConfigProto.Builder.setGpuOptions(GPUOptions value)
Options that apply to all GPUs.
|
ConfigProto.Builder |
ConfigProto.Builder.setGraphOptions(GraphOptions.Builder builderForValue)
Options that apply to all graphs.
|
ConfigProto.Builder |
ConfigProto.Builder.setGraphOptions(GraphOptions value)
Options that apply to all graphs.
|
ConfigProto.Builder |
ConfigProto.Builder.setInterOpParallelismThreads(int value)
Nodes that perform blocking operations are enqueued on a pool of
inter_op_parallelism_threads available in each process.
|
ConfigProto.Builder |
ConfigProto.Builder.setIntraOpParallelismThreads(int value)
The execution of an individual op (for some op types) can be
parallelized on a pool of intra_op_parallelism_threads.
|
ConfigProto.Builder |
ConfigProto.Builder.setIsolateSessionState(boolean value)
If true, any resources such as Variables used in the session will not be
shared with other sessions.
|
ConfigProto.Builder |
ConfigProto.Builder.setLogDevicePlacement(boolean value)
Whether device placements should be logged.
|
ConfigProto.Builder |
ConfigProto.Builder.setOperationTimeoutInMs(long value)
Global timeout for all blocking operations in this session.
|
ConfigProto.Builder |
ConfigProto.Builder.setPlacementPeriod(int value)
Assignment of Nodes to Devices is recomputed every placement_period
steps until the system warms up (at which point the recomputation
typically slows down automatically).
|
ConfigProto.Builder |
ConfigProto.Builder.setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ConfigProto.Builder |
ConfigProto.Builder.setRpcOptions(RPCOptions.Builder builderForValue)
Options that apply when this session uses the distributed runtime.
|
ConfigProto.Builder |
ConfigProto.Builder.setRpcOptions(RPCOptions value)
Options that apply when this session uses the distributed runtime.
|
ConfigProto.Builder |
ConfigProto.Builder.setSessionInterOpThreadPool(int index,
ThreadPoolOptionProto.Builder builderForValue)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.setSessionInterOpThreadPool(int index,
ThreadPoolOptionProto value)
This option is experimental - it may be replaced with a different mechanism
in the future.
|
ConfigProto.Builder |
ConfigProto.Builder.setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
ConfigProto.Builder |
ConfigProto.Builder.setUsePerSessionThreads(boolean value)
If true, use a new set of threads for this session rather than the global
pool of threads.
|
ConfigProto.Builder |
ConfigProto.toBuilder() |
Copyright © 2020. All rights reserved.