@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class TensorInfo extends MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
ENCODING_NOT_SET
enum tensorflow::TensorInfo::EncodingCase
|
static int |
kCompositeTensor
enum tensorflow::TensorInfo::EncodingCase
|
static int |
kCompositeTensorFieldNumber |
static int |
kCooSparse
enum tensorflow::TensorInfo::EncodingCase
|
static int |
kCooSparseFieldNumber |
static int |
kDtypeFieldNumber |
static int |
kIndexInFileMessages |
static int |
kName
enum tensorflow::TensorInfo::EncodingCase
|
static int |
kNameFieldNumber |
static int |
kTensorShapeFieldNumber |
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
TensorInfo() |
TensorInfo(long size)
Native array allocator.
|
TensorInfo(Pointer p)
Pointer cast constructor.
|
TensorInfo(TensorInfo 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 kName
public static final int kCooSparse
public static final int kCompositeTensor
public static final int ENCODING_NOT_SET
public static final int kIndexInFileMessages
public static final int kTensorShapeFieldNumber
public static final int kDtypeFieldNumber
public static final int kNameFieldNumber
public static final int kCooSparseFieldNumber
public static final int kCompositeTensorFieldNumber
public TensorInfo(Pointer p)
Pointer(Pointer)
.public TensorInfo(long size)
Pointer.position(long)
.public TensorInfo()
public TensorInfo(@Const @ByRef TensorInfo from)
public TensorInfo position(long position)
public TensorInfo getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public TensorInfo put(@Const @ByRef TensorInfo 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 TensorInfo default_instance()
public static void InitAsDefaultInstance()
@Const public static TensorInfo internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(TensorInfo other)
public void Swap(TensorInfo other)
public TensorInfo New()
New
in class MessageLite
public TensorInfo 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 TensorInfo from)
public void MergeFrom(@Const @ByRef TensorInfo 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_tensor_shape()
@MemberGetter public static int kTensorShapeFieldNumber()
@Const @ByRef public TensorShapeProto tensor_shape()
public TensorShapeProto release_tensor_shape()
public TensorShapeProto mutable_tensor_shape()
public void set_allocated_tensor_shape(TensorShapeProto tensor_shape)
public void unsafe_arena_set_allocated_tensor_shape(TensorShapeProto tensor_shape)
public TensorShapeProto unsafe_arena_release_tensor_shape()
public void clear_dtype()
@MemberGetter public static int kDtypeFieldNumber()
public 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)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_name()
public void unsafe_arena_set_allocated_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer name)
public void clear_coo_sparse()
@MemberGetter public static int kCooSparseFieldNumber()
@Const @ByRef public TensorInfo_CooSparse coo_sparse()
public TensorInfo_CooSparse release_coo_sparse()
public TensorInfo_CooSparse mutable_coo_sparse()
public void set_allocated_coo_sparse(TensorInfo_CooSparse coo_sparse)
public void unsafe_arena_set_allocated_coo_sparse(TensorInfo_CooSparse coo_sparse)
public TensorInfo_CooSparse unsafe_arena_release_coo_sparse()
public void clear_composite_tensor()
@MemberGetter public static int kCompositeTensorFieldNumber()
@Const @ByRef public TensorInfo_CompositeTensor composite_tensor()
public TensorInfo_CompositeTensor release_composite_tensor()
public TensorInfo_CompositeTensor mutable_composite_tensor()
public void set_allocated_composite_tensor(TensorInfo_CompositeTensor composite_tensor)
public void unsafe_arena_set_allocated_composite_tensor(TensorInfo_CompositeTensor composite_tensor)
public TensorInfo_CompositeTensor unsafe_arena_release_composite_tensor()
public void clear_encoding()
Copyright © 2022. All rights reserved.