@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class TensorDescription extends MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kAllocationDescriptionFieldNumber |
static int |
kDtypeFieldNumber |
static int |
kIndexInFileMessages |
static int |
kShapeFieldNumber |
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
TensorDescription() |
TensorDescription(long size)
Native array allocator.
|
TensorDescription(Pointer p)
Pointer cast constructor.
|
TensorDescription(TensorDescription from) |
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 kShapeFieldNumber
public static final int kAllocationDescriptionFieldNumber
public static final int kDtypeFieldNumber
public TensorDescription(Pointer p)
Pointer(Pointer)
.public TensorDescription(long size)
Pointer.position(long)
.public TensorDescription()
public TensorDescription(@Const @ByRef TensorDescription from)
public TensorDescription position(long position)
public TensorDescription getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public TensorDescription put(@Const @ByRef TensorDescription 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 TensorDescription default_instance()
public static void InitAsDefaultInstance()
@Const public static TensorDescription internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(TensorDescription other)
public void Swap(TensorDescription other)
public TensorDescription New()
New
in class MessageLite
public TensorDescription 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 TensorDescription from)
public void MergeFrom(@Const @ByRef TensorDescription 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_shape()
@MemberGetter public static int kShapeFieldNumber()
@Const @ByRef public TensorShapeProto shape()
public TensorShapeProto release_shape()
public TensorShapeProto mutable_shape()
public void set_allocated_shape(TensorShapeProto shape)
public void unsafe_arena_set_allocated_shape(TensorShapeProto shape)
public TensorShapeProto unsafe_arena_release_shape()
public void clear_allocation_description()
@MemberGetter public static int kAllocationDescriptionFieldNumber()
@Const @ByRef public AllocationDescription allocation_description()
public AllocationDescription release_allocation_description()
public AllocationDescription mutable_allocation_description()
public void set_allocated_allocation_description(AllocationDescription allocation_description)
public void unsafe_arena_set_allocated_allocation_description(AllocationDescription allocation_description)
public AllocationDescription unsafe_arena_release_allocation_description()
public void clear_dtype()
@MemberGetter public static int kDtypeFieldNumber()
Copyright © 2022. All rights reserved.