@Namespace(value="tensorflow") @NoOffset public static class tensorflow.SaverDef extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
CheckpointFormatVersion_ARRAYSIZE |
static int |
CheckpointFormatVersion_MAX |
static int |
CheckpointFormatVersion_MIN |
static int |
kFilenameTensorNameFieldNumber |
static int |
kIndexInFileMessages |
static int |
kKeepCheckpointEveryNHoursFieldNumber |
static int |
kMaxToKeepFieldNumber |
static int |
kRestoreOpNameFieldNumber |
static int |
kSaveTensorNameFieldNumber |
static int |
kShardedFieldNumber |
static int |
kVersionFieldNumber |
static int |
LEGACY |
static int |
V1 |
static int |
V2 |
| Constructor and Description |
|---|
SaverDef() |
SaverDef(long size)
Native array allocator.
|
SaverDef(Pointer p)
Pointer cast constructor.
|
SaverDef(tensorflow.SaverDef 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 LEGACY
public static final int V1
public static final int V2
public static final int CheckpointFormatVersion_MIN
public static final int CheckpointFormatVersion_MAX
public static final int CheckpointFormatVersion_ARRAYSIZE
public static final int kFilenameTensorNameFieldNumber
public static final int kSaveTensorNameFieldNumber
public static final int kRestoreOpNameFieldNumber
public static final int kMaxToKeepFieldNumber
public static final int kShardedFieldNumber
public static final int kKeepCheckpointEveryNHoursFieldNumber
public static final int kVersionFieldNumber
public SaverDef(Pointer p)
Pointer.Pointer(Pointer).public SaverDef(long size)
Pointer.position(long).public SaverDef()
public SaverDef(@Const @ByRef tensorflow.SaverDef from)
public tensorflow.SaverDef position(long position)
@ByRef @Name(value="operator =") public tensorflow.SaverDef put(@Const @ByRef tensorflow.SaverDef from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.SaverDef default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.SaverDef internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.SaverDef other)
public void Swap(tensorflow.SaverDef other)
public tensorflow.SaverDef New()
New in class tensorflow.MessageLitepublic tensorflow.SaverDef 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.SaverDef from)
public void MergeFrom(@Const @ByRef tensorflow.SaverDef 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.MessageLite@MemberGetter @Cast(value="const tensorflow::SaverDef::CheckpointFormatVersion") public static int LEGACY()
@MemberGetter @Cast(value="const tensorflow::SaverDef::CheckpointFormatVersion") public static int V1()
@MemberGetter @Cast(value="const tensorflow::SaverDef::CheckpointFormatVersion") public static int V2()
@Cast(value="bool") public static boolean CheckpointFormatVersion_IsValid(int value)
@MemberGetter @Cast(value="const tensorflow::SaverDef::CheckpointFormatVersion") public static int CheckpointFormatVersion_MIN()
@MemberGetter @Cast(value="const tensorflow::SaverDef::CheckpointFormatVersion") public static int CheckpointFormatVersion_MAX()
@MemberGetter public static int CheckpointFormatVersion_ARRAYSIZE()
@Cast(value="const google::protobuf::EnumDescriptor*") public static Pointer CheckpointFormatVersion_descriptor()
@StdString public static BytePointer CheckpointFormatVersion_Name(@Cast(value="tensorflow::SaverDef::CheckpointFormatVersion") int value)
@Cast(value="bool") public static boolean CheckpointFormatVersion_Parse(@StdString BytePointer name, @Cast(value="tensorflow::SaverDef::CheckpointFormatVersion*") IntPointer value)
@Cast(value="bool") public static boolean CheckpointFormatVersion_Parse(@StdString String name, @Cast(value="tensorflow::SaverDef::CheckpointFormatVersion*") IntBuffer value)
@Cast(value="bool") public static boolean CheckpointFormatVersion_Parse(@StdString BytePointer name, @Cast(value="tensorflow::SaverDef::CheckpointFormatVersion*") int... value)
@Cast(value="bool") public static boolean CheckpointFormatVersion_Parse(@StdString String name, @Cast(value="tensorflow::SaverDef::CheckpointFormatVersion*") IntPointer value)
@Cast(value="bool") public static boolean CheckpointFormatVersion_Parse(@StdString BytePointer name, @Cast(value="tensorflow::SaverDef::CheckpointFormatVersion*") IntBuffer value)
@Cast(value="bool") public static boolean CheckpointFormatVersion_Parse(@StdString String name, @Cast(value="tensorflow::SaverDef::CheckpointFormatVersion*") int... value)
public void clear_filename_tensor_name()
@MemberGetter public static int kFilenameTensorNameFieldNumber()
@StdString public BytePointer filename_tensor_name()
public void set_filename_tensor_name(@StdString BytePointer value)
public void set_filename_tensor_name(@StdString String value)
public void set_filename_tensor_name(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
public void set_filename_tensor_name(String value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_filename_tensor_name()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_filename_tensor_name()
public void set_allocated_filename_tensor_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer filename_tensor_name)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_filename_tensor_name()
@Deprecated public void unsafe_arena_set_allocated_filename_tensor_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer filename_tensor_name)
public void clear_save_tensor_name()
@MemberGetter public static int kSaveTensorNameFieldNumber()
@StdString public BytePointer save_tensor_name()
public void set_save_tensor_name(@StdString BytePointer value)
public void set_save_tensor_name(@StdString String value)
public void set_save_tensor_name(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
public void set_save_tensor_name(String value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_save_tensor_name()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_save_tensor_name()
public void set_allocated_save_tensor_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer save_tensor_name)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_save_tensor_name()
@Deprecated public void unsafe_arena_set_allocated_save_tensor_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer save_tensor_name)
public void clear_restore_op_name()
@MemberGetter public static int kRestoreOpNameFieldNumber()
@StdString public BytePointer restore_op_name()
public void set_restore_op_name(@StdString BytePointer value)
public void set_restore_op_name(@StdString String value)
public void set_restore_op_name(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_restore_op_name()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_restore_op_name()
public void set_allocated_restore_op_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer restore_op_name)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_restore_op_name()
@Deprecated public void unsafe_arena_set_allocated_restore_op_name(@StdString @Cast(value={"char*","std::string*"}) BytePointer restore_op_name)
public void clear_max_to_keep()
@MemberGetter public static int kMaxToKeepFieldNumber()
public void clear_sharded()
@MemberGetter public static int kShardedFieldNumber()
public void clear_keep_checkpoint_every_n_hours()
@MemberGetter public static int kKeepCheckpointEveryNHoursFieldNumber()
public float keep_checkpoint_every_n_hours()
public void set_keep_checkpoint_every_n_hours(float value)
public void clear_version()
@MemberGetter public static int kVersionFieldNumber()
Copyright © 2019. All rights reserved.