@Namespace(value="tensorflow") @NoOffset public static class tensorflow.GPUOptions extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kAllocatorTypeFieldNumber |
static int |
kAllowGrowthFieldNumber |
static int |
kDeferredDeletionBytesFieldNumber |
static int |
kExperimentalFieldNumber |
static int |
kForceGpuCompatibleFieldNumber |
static int |
kIndexInFileMessages |
static int |
kPerProcessGpuMemoryFractionFieldNumber |
static int |
kPollingActiveDelayUsecsFieldNumber |
static int |
kPollingInactiveDelayMsecsFieldNumber |
static int |
kVisibleDeviceListFieldNumber |
| Constructor and Description |
|---|
GPUOptions() |
GPUOptions(long size)
Native array allocator.
|
GPUOptions(Pointer p)
Pointer cast constructor.
|
GPUOptions(tensorflow.GPUOptions from) |
AppendPartialToString, AppendToString, ByteSize, CheckTypeAndMergeFrom, GetTypeName, InitializationErrorString, MergeFromCodedStream, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArrayaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int kIndexInFileMessages
public static final int kAllocatorTypeFieldNumber
public static final int kVisibleDeviceListFieldNumber
public static final int kExperimentalFieldNumber
public static final int kPerProcessGpuMemoryFractionFieldNumber
public static final int kDeferredDeletionBytesFieldNumber
public static final int kPollingActiveDelayUsecsFieldNumber
public static final int kAllowGrowthFieldNumber
public static final int kForceGpuCompatibleFieldNumber
public static final int kPollingInactiveDelayMsecsFieldNumber
public GPUOptions(Pointer p)
Pointer.Pointer(Pointer).public GPUOptions(long size)
Pointer.position(long).public GPUOptions()
public GPUOptions(@Const @ByRef tensorflow.GPUOptions from)
public tensorflow.GPUOptions position(long position)
@ByRef @Name(value="operator =") public tensorflow.GPUOptions put(@Const @ByRef tensorflow.GPUOptions from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.GPUOptions default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.GPUOptions internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.GPUOptions other)
public void Swap(tensorflow.GPUOptions other)
public tensorflow.GPUOptions New()
New in class tensorflow.MessageLitepublic tensorflow.GPUOptions New(tensorflow.Arena arena)
New in class tensorflow.MessageLitepublic void CopyFrom(@Cast(value="const google::protobuf::Message*") @ByRef tensorflow.MessageLite from)
public void MergeFrom(@Cast(value="const google::protobuf::Message*") @ByRef tensorflow.MessageLite from)
public void CopyFrom(@Const @ByRef tensorflow.GPUOptions from)
public void MergeFrom(@Const @ByRef tensorflow.GPUOptions from)
public void Clear()
Clear in class tensorflow.MessageLite@Cast(value="bool") public boolean IsInitialized()
IsInitialized in class tensorflow.MessageLite@Cast(value="size_t") public long ByteSizeLong()
ByteSizeLong in class tensorflow.MessageLite@Cast(value="bool") public boolean MergePartialFromCodedStream(tensorflow.CodedInputStream input)
MergePartialFromCodedStream in class tensorflow.MessageLitepublic void SerializeWithCachedSizes(tensorflow.CodedOutputStream output)
SerializeWithCachedSizes in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") BytePointer target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") ByteBuffer target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public byte[] InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") byte[] target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLitepublic int GetCachedSize()
GetCachedSize in class tensorflow.MessageLitepublic void clear_allocator_type()
@MemberGetter public static int kAllocatorTypeFieldNumber()
@StdString public BytePointer allocator_type()
public void set_allocator_type(@StdString BytePointer value)
public void set_allocator_type(@StdString String value)
public void set_allocator_type(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_allocator_type()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_allocator_type()
public void set_allocated_allocator_type(@StdString @Cast(value={"char*","std::string*"}) BytePointer allocator_type)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_allocator_type()
@Deprecated public void unsafe_arena_set_allocated_allocator_type(@StdString @Cast(value={"char*","std::string*"}) BytePointer allocator_type)
public void clear_visible_device_list()
@MemberGetter public static int kVisibleDeviceListFieldNumber()
@StdString public BytePointer visible_device_list()
public void set_visible_device_list(@StdString BytePointer value)
public void set_visible_device_list(@StdString String value)
public void set_visible_device_list(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
public void set_visible_device_list(String value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_visible_device_list()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_visible_device_list()
public void set_allocated_visible_device_list(@StdString @Cast(value={"char*","std::string*"}) BytePointer visible_device_list)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_visible_device_list()
@Deprecated public void unsafe_arena_set_allocated_visible_device_list(@StdString @Cast(value={"char*","std::string*"}) BytePointer visible_device_list)
public void clear_experimental()
@MemberGetter public static int kExperimentalFieldNumber()
@Const @ByRef public tensorflow.GPUOptions_Experimental experimental()
public tensorflow.GPUOptions_Experimental release_experimental()
public tensorflow.GPUOptions_Experimental mutable_experimental()
public void set_allocated_experimental(tensorflow.GPUOptions_Experimental experimental)
public void unsafe_arena_set_allocated_experimental(tensorflow.GPUOptions_Experimental experimental)
public tensorflow.GPUOptions_Experimental unsafe_arena_release_experimental()
public void clear_per_process_gpu_memory_fraction()
@MemberGetter public static int kPerProcessGpuMemoryFractionFieldNumber()
public double per_process_gpu_memory_fraction()
public void set_per_process_gpu_memory_fraction(double value)
public void clear_deferred_deletion_bytes()
@MemberGetter public static int kDeferredDeletionBytesFieldNumber()
@Cast(value="google::protobuf::int64") public long deferred_deletion_bytes()
public void set_deferred_deletion_bytes(@Cast(value="google::protobuf::int64") long value)
public void clear_polling_active_delay_usecs()
@MemberGetter public static int kPollingActiveDelayUsecsFieldNumber()
@Cast(value="google::protobuf::int32") public int polling_active_delay_usecs()
public void set_polling_active_delay_usecs(@Cast(value="google::protobuf::int32") int value)
public void clear_allow_growth()
@MemberGetter public static int kAllowGrowthFieldNumber()
public void clear_force_gpu_compatible()
@MemberGetter public static int kForceGpuCompatibleFieldNumber()
public void clear_polling_inactive_delay_msecs()
@MemberGetter public static int kPollingInactiveDelayMsecsFieldNumber()
@Cast(value="google::protobuf::int32") public int polling_inactive_delay_msecs()
Copyright © 2019. All rights reserved.