@Namespace(value="tensorflow") @NoOffset public static class tensorflow.TensorProto extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kBoolValFieldNumber |
static int |
kDcomplexValFieldNumber |
static int |
kDoubleValFieldNumber |
static int |
kDtypeFieldNumber |
static int |
kFloatValFieldNumber |
static int |
kHalfValFieldNumber |
static int |
kIndexInFileMessages |
static int |
kInt64ValFieldNumber |
static int |
kIntValFieldNumber |
static int |
kResourceHandleValFieldNumber |
static int |
kScomplexValFieldNumber |
static int |
kStringValFieldNumber |
static int |
kTensorContentFieldNumber |
static int |
kTensorShapeFieldNumber |
static int |
kUint32ValFieldNumber |
static int |
kUint64ValFieldNumber |
static int |
kVariantValFieldNumber |
static int |
kVersionNumberFieldNumber |
| Constructor and Description |
|---|
TensorProto() |
TensorProto(long size)
Native array allocator.
|
TensorProto(Pointer p)
Pointer cast constructor.
|
TensorProto(tensorflow.TensorProto 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 kFloatValFieldNumber
public static final int kDoubleValFieldNumber
public static final int kIntValFieldNumber
public static final int kStringValFieldNumber
public static final int kScomplexValFieldNumber
public static final int kInt64ValFieldNumber
public static final int kBoolValFieldNumber
public static final int kDcomplexValFieldNumber
public static final int kHalfValFieldNumber
public static final int kResourceHandleValFieldNumber
public static final int kVariantValFieldNumber
public static final int kUint32ValFieldNumber
public static final int kUint64ValFieldNumber
public static final int kTensorContentFieldNumber
public static final int kTensorShapeFieldNumber
public static final int kDtypeFieldNumber
public static final int kVersionNumberFieldNumber
public TensorProto(Pointer p)
Pointer.Pointer(Pointer).public TensorProto(long size)
Pointer.position(long).public TensorProto()
public TensorProto(@Const @ByRef tensorflow.TensorProto from)
public tensorflow.TensorProto position(long position)
@ByRef @Name(value="operator =") public tensorflow.TensorProto put(@Const @ByRef tensorflow.TensorProto from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.TensorProto default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.TensorProto internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.TensorProto other)
public void Swap(tensorflow.TensorProto other)
public tensorflow.TensorProto New()
New in class tensorflow.MessageLitepublic tensorflow.TensorProto 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.TensorProto from)
public void MergeFrom(@Const @ByRef tensorflow.TensorProto 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 int float_val_size()
public void clear_float_val()
@MemberGetter public static int kFloatValFieldNumber()
public float float_val(int index)
public void set_float_val(int index,
float value)
public void add_float_val(float value)
public int double_val_size()
public void clear_double_val()
@MemberGetter public static int kDoubleValFieldNumber()
public double double_val(int index)
public void set_double_val(int index,
double value)
public void add_double_val(double value)
public int int_val_size()
public void clear_int_val()
@MemberGetter public static int kIntValFieldNumber()
public int string_val_size()
public void clear_string_val()
@MemberGetter public static int kStringValFieldNumber()
@StdString public BytePointer string_val(int index)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_string_val(int index)
public void set_string_val(int index,
@StdString
BytePointer value)
public void set_string_val(int index,
@StdString
String value)
public void set_string_val(int index,
@Const
Pointer value,
@Cast(value="size_t")
long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer add_string_val()
public void add_string_val(@StdString BytePointer value)
public void add_string_val(@StdString String value)
public int scomplex_val_size()
public void clear_scomplex_val()
@MemberGetter public static int kScomplexValFieldNumber()
public float scomplex_val(int index)
public void set_scomplex_val(int index,
float value)
public void add_scomplex_val(float value)
public int int64_val_size()
public void clear_int64_val()
@MemberGetter public static int kInt64ValFieldNumber()
public void set_int64_val(int index,
@Cast(value="google::protobuf::int64")
long value)
public int bool_val_size()
public void clear_bool_val()
@MemberGetter public static int kBoolValFieldNumber()
public int dcomplex_val_size()
public void clear_dcomplex_val()
@MemberGetter public static int kDcomplexValFieldNumber()
public double dcomplex_val(int index)
public void set_dcomplex_val(int index,
double value)
public void add_dcomplex_val(double value)
public int half_val_size()
public void clear_half_val()
@MemberGetter public static int kHalfValFieldNumber()
public int resource_handle_val_size()
public void clear_resource_handle_val()
@MemberGetter public static int kResourceHandleValFieldNumber()
public tensorflow.ResourceHandleProto mutable_resource_handle_val(int index)
@Const @ByRef public tensorflow.ResourceHandleProto resource_handle_val(int index)
public tensorflow.ResourceHandleProto add_resource_handle_val()
public int variant_val_size()
public void clear_variant_val()
@MemberGetter public static int kVariantValFieldNumber()
public tensorflow.VariantTensorDataProto mutable_variant_val(int index)
@Const @ByRef public tensorflow.VariantTensorDataProto variant_val(int index)
public tensorflow.VariantTensorDataProto add_variant_val()
public int uint32_val_size()
public void clear_uint32_val()
@MemberGetter public static int kUint32ValFieldNumber()
public void set_uint32_val(int index,
@Cast(value="google::protobuf::uint32")
int value)
public int uint64_val_size()
public void clear_uint64_val()
@MemberGetter public static int kUint64ValFieldNumber()
public void set_uint64_val(int index,
@Cast(value="google::protobuf::uint64")
long value)
public void clear_tensor_content()
@MemberGetter public static int kTensorContentFieldNumber()
@StdString public BytePointer tensor_content()
public void set_tensor_content(@StdString BytePointer value)
public void set_tensor_content(@StdString String value)
public void set_tensor_content(@Const Pointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_tensor_content()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_tensor_content()
public void set_allocated_tensor_content(@StdString @Cast(value={"char*","std::string*"}) BytePointer tensor_content)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_tensor_content()
@Deprecated public void unsafe_arena_set_allocated_tensor_content(@StdString @Cast(value={"char*","std::string*"}) BytePointer tensor_content)
public void clear_tensor_shape()
@MemberGetter public static int kTensorShapeFieldNumber()
@Const @ByRef public tensorflow.TensorShapeProto tensor_shape()
public tensorflow.TensorShapeProto release_tensor_shape()
public tensorflow.TensorShapeProto mutable_tensor_shape()
public void set_allocated_tensor_shape(tensorflow.TensorShapeProto tensor_shape)
public void unsafe_arena_set_allocated_tensor_shape(tensorflow.TensorShapeProto tensor_shape)
public tensorflow.TensorShapeProto unsafe_arena_release_tensor_shape()
public void clear_dtype()
@MemberGetter public static int kDtypeFieldNumber()
public void clear_version_number()
@MemberGetter public static int kVersionNumberFieldNumber()
Copyright © 2019. All rights reserved.