@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class OptimizerOptions extends MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT |
static int |
GlobalJitLevel_ARRAYSIZE |
static int |
GlobalJitLevel_MAX |
static int |
GlobalJitLevel_MIN |
static int |
kDoCommonSubexpressionEliminationFieldNumber |
static int |
kDoConstantFoldingFieldNumber |
static int |
kDoFunctionInliningFieldNumber |
static int |
kGlobalJitLevelFieldNumber |
static int |
kIndexInFileMessages |
static int |
kMaxFoldedConstantInBytesFieldNumber |
static int |
kOptLevelFieldNumber |
static int |
L0 |
static int |
L1 |
static int |
Level_ARRAYSIZE |
static int |
Level_MAX |
static int |
Level_MIN |
static int |
OFF |
static int |
ON_1 |
static int |
ON_2 |
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
OptimizerOptions() |
OptimizerOptions(long size)
Native array allocator.
|
OptimizerOptions(OptimizerOptions from) |
OptimizerOptions(Pointer p)
Pointer cast constructor.
|
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 L1
public static final int L0
public static final int Level_MIN
public static final int Level_MAX
public static final int Level_ARRAYSIZE
public static final int DEFAULT
public static final int OFF
public static final int ON_1
public static final int ON_2
public static final int GlobalJitLevel_MIN
public static final int GlobalJitLevel_MAX
public static final int GlobalJitLevel_ARRAYSIZE
public static final int kDoCommonSubexpressionEliminationFieldNumber
public static final int kDoConstantFoldingFieldNumber
public static final int kDoFunctionInliningFieldNumber
public static final int kOptLevelFieldNumber
public static final int kMaxFoldedConstantInBytesFieldNumber
public static final int kGlobalJitLevelFieldNumber
public OptimizerOptions(Pointer p)
Pointer(Pointer)
.public OptimizerOptions(long size)
Pointer.position(long)
.public OptimizerOptions()
public OptimizerOptions(@Const @ByRef OptimizerOptions from)
public OptimizerOptions position(long position)
public OptimizerOptions getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public OptimizerOptions put(@Const @ByRef OptimizerOptions 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 OptimizerOptions default_instance()
public static void InitAsDefaultInstance()
@Const public static OptimizerOptions internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(OptimizerOptions other)
public void Swap(OptimizerOptions other)
public OptimizerOptions New()
New
in class MessageLite
public OptimizerOptions 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 OptimizerOptions from)
public void MergeFrom(@Const @ByRef OptimizerOptions 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
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::Level") public static int L1()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::Level") public static int L0()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::Level") public static int Level_MIN()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::Level") public static int Level_MAX()
@MemberGetter public static int Level_ARRAYSIZE()
@Cast(value="const google::protobuf::EnumDescriptor*") public static Pointer Level_descriptor()
@Cast(value="bool") public static boolean Level_Parse(@StdString BytePointer name, @Cast(value="tensorflow::OptimizerOptions::Level*") IntPointer value)
@Cast(value="bool") public static boolean Level_Parse(@StdString String name, @Cast(value="tensorflow::OptimizerOptions::Level*") IntBuffer value)
@Cast(value="bool") public static boolean Level_Parse(@StdString BytePointer name, @Cast(value="tensorflow::OptimizerOptions::Level*") int... value)
@Cast(value="bool") public static boolean Level_Parse(@StdString String name, @Cast(value="tensorflow::OptimizerOptions::Level*") IntPointer value)
@Cast(value="bool") public static boolean Level_Parse(@StdString BytePointer name, @Cast(value="tensorflow::OptimizerOptions::Level*") IntBuffer value)
@Cast(value="bool") public static boolean Level_Parse(@StdString String name, @Cast(value="tensorflow::OptimizerOptions::Level*") int... value)
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::GlobalJitLevel") public static int DEFAULT()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::GlobalJitLevel") public static int OFF()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::GlobalJitLevel") public static int ON_1()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::GlobalJitLevel") public static int ON_2()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::GlobalJitLevel") public static int GlobalJitLevel_MIN()
@MemberGetter @Cast(value="const tensorflow::OptimizerOptions::GlobalJitLevel") public static int GlobalJitLevel_MAX()
@MemberGetter public static int GlobalJitLevel_ARRAYSIZE()
@Cast(value="const google::protobuf::EnumDescriptor*") public static Pointer GlobalJitLevel_descriptor()
@Cast(value="bool") public static boolean GlobalJitLevel_Parse(@StdString BytePointer name, @Cast(value="tensorflow::OptimizerOptions::GlobalJitLevel*") IntPointer value)
@Cast(value="bool") public static boolean GlobalJitLevel_Parse(@StdString String name, @Cast(value="tensorflow::OptimizerOptions::GlobalJitLevel*") IntBuffer value)
@Cast(value="bool") public static boolean GlobalJitLevel_Parse(@StdString BytePointer name, @Cast(value="tensorflow::OptimizerOptions::GlobalJitLevel*") int... value)
@Cast(value="bool") public static boolean GlobalJitLevel_Parse(@StdString String name, @Cast(value="tensorflow::OptimizerOptions::GlobalJitLevel*") IntPointer value)
@Cast(value="bool") public static boolean GlobalJitLevel_Parse(@StdString BytePointer name, @Cast(value="tensorflow::OptimizerOptions::GlobalJitLevel*") IntBuffer value)
@Cast(value="bool") public static boolean GlobalJitLevel_Parse(@StdString String name, @Cast(value="tensorflow::OptimizerOptions::GlobalJitLevel*") int... value)
public void clear_do_common_subexpression_elimination()
@MemberGetter public static int kDoCommonSubexpressionEliminationFieldNumber()
@Cast(value="bool") public boolean do_common_subexpression_elimination()
public void set_do_common_subexpression_elimination(@Cast(value="bool") boolean value)
public void clear_do_constant_folding()
@MemberGetter public static int kDoConstantFoldingFieldNumber()
public void clear_do_function_inlining()
@MemberGetter public static int kDoFunctionInliningFieldNumber()
public void clear_opt_level()
@MemberGetter public static int kOptLevelFieldNumber()
public void set_opt_level(@Cast(value="tensorflow::OptimizerOptions_Level") int value)
public void clear_max_folded_constant_in_bytes()
@MemberGetter public static int kMaxFoldedConstantInBytesFieldNumber()
@Cast(value="google::protobuf::int64") public long max_folded_constant_in_bytes()
public void set_max_folded_constant_in_bytes(@Cast(value="google::protobuf::int64") long value)
public void clear_global_jit_level()
@MemberGetter public static int kGlobalJitLevelFieldNumber()
@Cast(value="tensorflow::OptimizerOptions_GlobalJitLevel") public int global_jit_level()
Copyright © 2022. All rights reserved.