public final class
GPUOptions
Protobuf type tensorflow.GPUOptions
Nested Classes
class | GPUOptions.Builder | Protobuf type tensorflow.GPUOptions
|
|
class | GPUOptions.Experimental | Protobuf type tensorflow.GPUOptions.Experimental
|
|
interface | GPUOptions.ExperimentalOrBuilder |
Constants
Public Methods
boolean |
equals(Object obj)
|
String |
getAllocatorType()
The type of GPU allocation strategy to use. |
com.google.protobuf.ByteString |
getAllocatorTypeBytes()
The type of GPU allocation strategy to use. |
boolean |
getAllowGrowth()
If true, the allocator does not pre-allocate the entire specified GPU memory region, instead starting small and growing as needed. |
static GPUOptions | |
GPUOptions | |
long |
getDeferredDeletionBytes()
Delay deletion of up to this many bytes to reduce the number of interactions with gpu driver code. |
final static com.google.protobuf.Descriptors.Descriptor | |
GPUOptions.Experimental |
getExperimental()
Everything inside experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. |
GPUOptions.ExperimentalOrBuilder |
getExperimentalOrBuilder()
Everything inside experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. |
boolean |
getForceGpuCompatible()
Force all tensors to be gpu_compatible. |
|
|
double |
getPerProcessGpuMemoryFraction()
Fraction of the available GPU memory to allocate for each process. |
int |
getPollingActiveDelayUsecs()
In the event polling loop sleep this many microseconds between PollEvents calls, when the queue is not empty. |
int |
getPollingInactiveDelayMsecs()
This field is deprecated and ignored. |
int | |
final com.google.protobuf.UnknownFieldSet | |
String |
getVisibleDeviceList()
A comma-separated list of GPU ids that determines the 'visible' to 'virtual' mapping of GPU devices. |
com.google.protobuf.ByteString |
getVisibleDeviceListBytes()
A comma-separated list of GPU ids that determines the 'visible' to 'virtual' mapping of GPU devices. |
boolean |
hasExperimental()
Everything inside experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. |
int |
hashCode()
|
final boolean | |
static GPUOptions.Builder |
newBuilder(GPUOptions prototype)
|
static GPUOptions.Builder | |
GPUOptions.Builder | |
static GPUOptions |
parseDelimitedFrom(InputStream input)
|
static GPUOptions |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static GPUOptions |
parseFrom(ByteBuffer data)
|
static GPUOptions |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static GPUOptions |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static GPUOptions |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static GPUOptions |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static GPUOptions |
parseFrom(com.google.protobuf.ByteString data)
|
static GPUOptions |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static GPUOptions |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
GPUOptions.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int ALLOCATOR_TYPE_FIELD_NUMBER
Constant Value:
2
public static final int ALLOW_GROWTH_FIELD_NUMBER
Constant Value:
4
public static final int DEFERRED_DELETION_BYTES_FIELD_NUMBER
Constant Value:
3
public static final int EXPERIMENTAL_FIELD_NUMBER
Constant Value:
9
public static final int FORCE_GPU_COMPATIBLE_FIELD_NUMBER
Constant Value:
8
public static final int PER_PROCESS_GPU_MEMORY_FRACTION_FIELD_NUMBER
Constant Value:
1
public static final int POLLING_ACTIVE_DELAY_USECS_FIELD_NUMBER
Constant Value:
6
public static final int POLLING_INACTIVE_DELAY_MSECS_FIELD_NUMBER
Constant Value:
7
public static final int VISIBLE_DEVICE_LIST_FIELD_NUMBER
Constant Value:
5
Public Methods
public boolean equals (Object obj)
public String getAllocatorType ()
The type of GPU allocation strategy to use. Allowed values: "": The empty string (default) uses a system-chosen default which may change over time. "BFC": A "Best-fit with coalescing" algorithm, simplified from a version of dlmalloc.
string allocator_type = 2;