@Namespace(value="tensorflow") @NoOffset public static class tensorflow.DeviceAttributes extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kDeviceTypeFieldNumber |
static int |
kIncarnationFieldNumber |
static int |
kIndexInFileMessages |
static int |
kLocalityFieldNumber |
static int |
kMemoryLimitFieldNumber |
static int |
kNameFieldNumber |
static int |
kPhysicalDeviceDescFieldNumber |
| Constructor and Description |
|---|
DeviceAttributes() |
DeviceAttributes(long size)
Native array allocator.
|
DeviceAttributes(Pointer p)
Pointer cast constructor.
|
DeviceAttributes(tensorflow.DeviceAttributes 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 kNameFieldNumber
public static final int kDeviceTypeFieldNumber
public static final int kPhysicalDeviceDescFieldNumber
public static final int kLocalityFieldNumber
public static final int kMemoryLimitFieldNumber
public static final int kIncarnationFieldNumber
public DeviceAttributes(Pointer p)
Pointer.Pointer(Pointer).public DeviceAttributes(long size)
Pointer.position(long).public DeviceAttributes()
public DeviceAttributes(@Const @ByRef tensorflow.DeviceAttributes from)
public tensorflow.DeviceAttributes position(long position)
@ByRef @Name(value="operator =") public tensorflow.DeviceAttributes put(@Const @ByRef tensorflow.DeviceAttributes from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.DeviceAttributes default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.DeviceAttributes internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.DeviceAttributes other)
public void Swap(tensorflow.DeviceAttributes other)
public tensorflow.DeviceAttributes New()
New in class tensorflow.MessageLitepublic tensorflow.DeviceAttributes 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.DeviceAttributes from)
public void MergeFrom(@Const @ByRef tensorflow.DeviceAttributes 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_name()
@MemberGetter public static int kNameFieldNumber()
@StdString public BytePointer name()
public void set_name(@StdString BytePointer value)
public void set_name(@StdString String value)
public void set_name(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_name()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_name()
public void set_allocated_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer name)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_name()
@Deprecated public void unsafe_arena_set_allocated_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer name)
public void clear_device_type()
@MemberGetter public static int kDeviceTypeFieldNumber()
@StdString public BytePointer device_type()
public void set_device_type(@StdString BytePointer value)
public void set_device_type(@StdString String value)
public void set_device_type(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_device_type()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_device_type()
public void set_allocated_device_type(@StdString @Cast(value={"char*","std::string*"}) BytePointer device_type)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_device_type()
@Deprecated public void unsafe_arena_set_allocated_device_type(@StdString @Cast(value={"char*","std::string*"}) BytePointer device_type)
public void clear_physical_device_desc()
@MemberGetter public static int kPhysicalDeviceDescFieldNumber()
@StdString public BytePointer physical_device_desc()
public void set_physical_device_desc(@StdString BytePointer value)
public void set_physical_device_desc(@StdString String value)
public void set_physical_device_desc(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
public void set_physical_device_desc(String value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_physical_device_desc()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_physical_device_desc()
public void set_allocated_physical_device_desc(@StdString @Cast(value={"char*","std::string*"}) BytePointer physical_device_desc)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_physical_device_desc()
@Deprecated public void unsafe_arena_set_allocated_physical_device_desc(@StdString @Cast(value={"char*","std::string*"}) BytePointer physical_device_desc)
public void clear_locality()
@MemberGetter public static int kLocalityFieldNumber()
@Const @ByRef public tensorflow.DeviceLocality locality()
public tensorflow.DeviceLocality release_locality()
public tensorflow.DeviceLocality mutable_locality()
public void set_allocated_locality(tensorflow.DeviceLocality locality)
public void unsafe_arena_set_allocated_locality(tensorflow.DeviceLocality locality)
public tensorflow.DeviceLocality unsafe_arena_release_locality()
public void clear_memory_limit()
@MemberGetter public static int kMemoryLimitFieldNumber()
public void clear_incarnation()
@MemberGetter public static int kIncarnationFieldNumber()
Copyright © 2019. All rights reserved.