@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class GPUOptions extends MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
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 |
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
GPUOptions() |
GPUOptions(GPUOptions from) |
GPUOptions(long size)
Native array allocator.
|
GPUOptions(Pointer p)
Pointer cast constructor.
|
AppendPartialToString, AppendToString, ByteSize, CheckTypeAndMergeFrom, DebugString, GetTypeName, InitializationErrorString, MergeFromBoundedZeroCopyStream, MergeFromCodedStream, MergeFromString, MergeFromString, MergePartialFromBoundedZeroCopyStream, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, ShortDebugString
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public 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)
.public GPUOptions(long size)
Pointer.position(long)
.public GPUOptions()
public GPUOptions(@Const @ByRef GPUOptions from)
public GPUOptions position(long position)
public GPUOptions getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public GPUOptions put(@Const @ByRef GPUOptions from)
public Arena GetArena()
GetArena
in class MessageLite
public Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer
in class MessageLite
@Cast(value="const google::protobuf::Descriptor*") public static Pointer GetDescriptor()
@Cast(value="const google::protobuf::Reflection*") public static Pointer GetReflection()
@Const @ByRef public static GPUOptions default_instance()
public static void InitAsDefaultInstance()
@Const public static GPUOptions internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(GPUOptions other)
public void Swap(GPUOptions other)
public GPUOptions New()
New
in class MessageLite
public GPUOptions New(Arena arena)
New
in class MessageLite
public void CopyFrom(@Cast(value="const google::protobuf::Message*") @ByRef MessageLite from)
public void MergeFrom(@Cast(value="const google::protobuf::Message*") @ByRef MessageLite from)
public void CopyFrom(@Const @ByRef GPUOptions from)
public void MergeFrom(@Const @ByRef GPUOptions from)
public void Clear()
Clear
in class MessageLite
@Cast(value="bool") public boolean IsInitialized()
IsInitialized
in class MessageLite
@Cast(value="size_t") public long ByteSizeLong()
ByteSizeLong
in class MessageLite
@Cast(value="bool") public boolean MergePartialFromCodedStream(CodedInputStream input)
MergePartialFromCodedStream
in class MessageLite
public void SerializeWithCachedSizes(CodedOutputStream output)
SerializeWithCachedSizes
in class MessageLite
@Cast(value="google::protobuf::uint8*") public BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") BytePointer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") ByteBuffer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public byte[] InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") byte[] target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
public int GetCachedSize()
GetCachedSize
in class MessageLite
public 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)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_allocator_type()
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)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_visible_device_list()
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 GPUOptions_Experimental experimental()
public GPUOptions_Experimental release_experimental()
public GPUOptions_Experimental mutable_experimental()
public void set_allocated_experimental(GPUOptions_Experimental experimental)
public void unsafe_arena_set_allocated_experimental(GPUOptions_Experimental experimental)
public 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 © 2022. All rights reserved.