@Namespace(value="tensorflow") @NoOffset public static class tensorflow.RewriterConfig extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
RewriterConfig() |
RewriterConfig(long size)
Native array allocator.
|
RewriterConfig(Pointer p)
Pointer cast constructor.
|
RewriterConfig(tensorflow.RewriterConfig 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 DEFAULT
public static final int ON
public static final int OFF
public static final int AGGRESSIVE
public static final int Toggle_MIN
public static final int Toggle_MAX
public static final int Toggle_ARRAYSIZE
public static final int DEFAULT_NUM_ITERS
public static final int ONE
public static final int TWO
public static final int NumIterationsType_MIN
public static final int NumIterationsType_MAX
public static final int NumIterationsType_ARRAYSIZE
public static final int DEFAULT_MEM_OPT
public static final int NO_MEM_OPT
public static final int MANUAL
public static final int SWAPPING_HEURISTICS
public static final int RECOMPUTATION_HEURISTICS
public static final int SCHEDULING_HEURISTICS
public static final int HEURISTICS
public static final int MemOptType_MIN
public static final int MemOptType_MAX
public static final int MemOptType_ARRAYSIZE
public static final int kOptimizersFieldNumber
public static final int kCustomOptimizersFieldNumber
public static final int kMemoryOptimizerTargetNodeNameScopeFieldNumber
public static final int kAutoParallelFieldNumber
public static final int kScopedAllocatorOptsFieldNumber
public static final int kLayoutOptimizerFieldNumber
public static final int kConstantFoldingFieldNumber
public static final int kMemoryOptimizationFieldNumber
public static final int kArithmeticOptimizationFieldNumber
public static final int kDependencyOptimizationFieldNumber
public static final int kLoopOptimizationFieldNumber
public static final int kFunctionOptimizationFieldNumber
public static final int kDisableModelPruningFieldNumber
public static final int kDisableMetaOptimizerFieldNumber
public static final int kDebugStripperFieldNumber
public static final int kMetaOptimizerIterationsFieldNumber
public static final int kShapeOptimizationFieldNumber
public static final int kRemappingFieldNumber
public static final int kScopedAllocatorOptimizationFieldNumber
public static final int kMinGraphNodesFieldNumber
public static final int kPinToHostOptimizationFieldNumber
public RewriterConfig(Pointer p)
Pointer.Pointer(Pointer).public RewriterConfig(long size)
Pointer.position(long).public RewriterConfig()
public RewriterConfig(@Const @ByRef tensorflow.RewriterConfig from)
public tensorflow.RewriterConfig position(long position)
@ByRef @Name(value="operator =") public tensorflow.RewriterConfig put(@Const @ByRef tensorflow.RewriterConfig from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.RewriterConfig default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.RewriterConfig internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.RewriterConfig other)
public void Swap(tensorflow.RewriterConfig other)
public tensorflow.RewriterConfig New()
New in class tensorflow.MessageLitepublic tensorflow.RewriterConfig 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.RewriterConfig from)
public void MergeFrom(@Const @ByRef tensorflow.RewriterConfig 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::RewriterConfig::Toggle") public static int DEFAULT()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::Toggle") public static int ON()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::Toggle") public static int OFF()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::Toggle") public static int AGGRESSIVE()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::Toggle") public static int Toggle_MIN()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::Toggle") public static int Toggle_MAX()
@MemberGetter public static int Toggle_ARRAYSIZE()
@Cast(value="const google::protobuf::EnumDescriptor*") public static Pointer Toggle_descriptor()
@StdString public static BytePointer Toggle_Name(@Cast(value="tensorflow::RewriterConfig::Toggle") int value)
@Cast(value="bool") public static boolean Toggle_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::Toggle*") IntPointer value)
@Cast(value="bool") public static boolean Toggle_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::Toggle*") IntBuffer value)
@Cast(value="bool") public static boolean Toggle_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::Toggle*") int... value)
@Cast(value="bool") public static boolean Toggle_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::Toggle*") IntPointer value)
@Cast(value="bool") public static boolean Toggle_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::Toggle*") IntBuffer value)
@Cast(value="bool") public static boolean Toggle_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::Toggle*") int... value)
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::NumIterationsType") public static int DEFAULT_NUM_ITERS()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::NumIterationsType") public static int ONE()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::NumIterationsType") public static int TWO()
@Cast(value="bool") public static boolean NumIterationsType_IsValid(int value)
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::NumIterationsType") public static int NumIterationsType_MIN()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::NumIterationsType") public static int NumIterationsType_MAX()
@MemberGetter public static int NumIterationsType_ARRAYSIZE()
@Cast(value="const google::protobuf::EnumDescriptor*") public static Pointer NumIterationsType_descriptor()
@StdString public static BytePointer NumIterationsType_Name(@Cast(value="tensorflow::RewriterConfig::NumIterationsType") int value)
@Cast(value="bool") public static boolean NumIterationsType_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::NumIterationsType*") IntPointer value)
@Cast(value="bool") public static boolean NumIterationsType_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::NumIterationsType*") IntBuffer value)
@Cast(value="bool") public static boolean NumIterationsType_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::NumIterationsType*") int... value)
@Cast(value="bool") public static boolean NumIterationsType_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::NumIterationsType*") IntPointer value)
@Cast(value="bool") public static boolean NumIterationsType_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::NumIterationsType*") IntBuffer value)
@Cast(value="bool") public static boolean NumIterationsType_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::NumIterationsType*") int... value)
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int DEFAULT_MEM_OPT()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int NO_MEM_OPT()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int MANUAL()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int SWAPPING_HEURISTICS()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int RECOMPUTATION_HEURISTICS()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int SCHEDULING_HEURISTICS()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int HEURISTICS()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int MemOptType_MIN()
@MemberGetter @Cast(value="const tensorflow::RewriterConfig::MemOptType") public static int MemOptType_MAX()
@MemberGetter public static int MemOptType_ARRAYSIZE()
@Cast(value="const google::protobuf::EnumDescriptor*") public static Pointer MemOptType_descriptor()
@StdString public static BytePointer MemOptType_Name(@Cast(value="tensorflow::RewriterConfig::MemOptType") int value)
@Cast(value="bool") public static boolean MemOptType_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::MemOptType*") IntPointer value)
@Cast(value="bool") public static boolean MemOptType_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::MemOptType*") IntBuffer value)
@Cast(value="bool") public static boolean MemOptType_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::MemOptType*") int... value)
@Cast(value="bool") public static boolean MemOptType_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::MemOptType*") IntPointer value)
@Cast(value="bool") public static boolean MemOptType_Parse(@StdString BytePointer name, @Cast(value="tensorflow::RewriterConfig::MemOptType*") IntBuffer value)
@Cast(value="bool") public static boolean MemOptType_Parse(@StdString String name, @Cast(value="tensorflow::RewriterConfig::MemOptType*") int... value)
public int optimizers_size()
public void clear_optimizers()
@MemberGetter public static int kOptimizersFieldNumber()
@StdString public BytePointer optimizers(int index)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_optimizers(int index)
public void set_optimizers(int index,
@StdString
BytePointer value)
public void set_optimizers(int index,
@StdString
String value)
public void set_optimizers(int index,
@Cast(value="const char*")
BytePointer value,
@Cast(value="size_t")
long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer add_optimizers()
public void add_optimizers(@StdString BytePointer value)
public void add_optimizers(@StdString String value)
public void add_optimizers(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
public int custom_optimizers_size()
public void clear_custom_optimizers()
@MemberGetter public static int kCustomOptimizersFieldNumber()
public tensorflow.RewriterConfig_CustomGraphOptimizer mutable_custom_optimizers(int index)
@Const @ByRef public tensorflow.RewriterConfig_CustomGraphOptimizer custom_optimizers(int index)
public tensorflow.RewriterConfig_CustomGraphOptimizer add_custom_optimizers()
public void clear_memory_optimizer_target_node_name_scope()
@MemberGetter public static int kMemoryOptimizerTargetNodeNameScopeFieldNumber()
@StdString public BytePointer memory_optimizer_target_node_name_scope()
public void set_memory_optimizer_target_node_name_scope(@StdString BytePointer value)
public void set_memory_optimizer_target_node_name_scope(@StdString String value)
public void set_memory_optimizer_target_node_name_scope(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
public void set_memory_optimizer_target_node_name_scope(String value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_memory_optimizer_target_node_name_scope()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_memory_optimizer_target_node_name_scope()
public void set_allocated_memory_optimizer_target_node_name_scope(@StdString @Cast(value={"char*","std::string*"}) BytePointer memory_optimizer_target_node_name_scope)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_memory_optimizer_target_node_name_scope()
@Deprecated public void unsafe_arena_set_allocated_memory_optimizer_target_node_name_scope(@StdString @Cast(value={"char*","std::string*"}) BytePointer memory_optimizer_target_node_name_scope)
public void clear_auto_parallel()
@MemberGetter public static int kAutoParallelFieldNumber()
@Const @ByRef public tensorflow.AutoParallelOptions auto_parallel()
public tensorflow.AutoParallelOptions release_auto_parallel()
public tensorflow.AutoParallelOptions mutable_auto_parallel()
public void set_allocated_auto_parallel(tensorflow.AutoParallelOptions auto_parallel)
public void unsafe_arena_set_allocated_auto_parallel(tensorflow.AutoParallelOptions auto_parallel)
public tensorflow.AutoParallelOptions unsafe_arena_release_auto_parallel()
public void clear_scoped_allocator_opts()
@MemberGetter public static int kScopedAllocatorOptsFieldNumber()
@Const @ByRef public tensorflow.ScopedAllocatorOptions scoped_allocator_opts()
public tensorflow.ScopedAllocatorOptions release_scoped_allocator_opts()
public tensorflow.ScopedAllocatorOptions mutable_scoped_allocator_opts()
public void set_allocated_scoped_allocator_opts(tensorflow.ScopedAllocatorOptions scoped_allocator_opts)
public void unsafe_arena_set_allocated_scoped_allocator_opts(tensorflow.ScopedAllocatorOptions scoped_allocator_opts)
public tensorflow.ScopedAllocatorOptions unsafe_arena_release_scoped_allocator_opts()
public void clear_layout_optimizer()
@MemberGetter public static int kLayoutOptimizerFieldNumber()
public void set_layout_optimizer(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_constant_folding()
@MemberGetter public static int kConstantFoldingFieldNumber()
public void set_constant_folding(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_memory_optimization()
@MemberGetter public static int kMemoryOptimizationFieldNumber()
@Cast(value="tensorflow::RewriterConfig_MemOptType") public int memory_optimization()
public void set_memory_optimization(@Cast(value="tensorflow::RewriterConfig_MemOptType") int value)
public void clear_arithmetic_optimization()
@MemberGetter public static int kArithmeticOptimizationFieldNumber()
@Cast(value="tensorflow::RewriterConfig_Toggle") public int arithmetic_optimization()
public void set_arithmetic_optimization(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_dependency_optimization()
@MemberGetter public static int kDependencyOptimizationFieldNumber()
@Cast(value="tensorflow::RewriterConfig_Toggle") public int dependency_optimization()
public void set_dependency_optimization(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_loop_optimization()
@MemberGetter public static int kLoopOptimizationFieldNumber()
public void set_loop_optimization(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_function_optimization()
@MemberGetter public static int kFunctionOptimizationFieldNumber()
@Cast(value="tensorflow::RewriterConfig_Toggle") public int function_optimization()
public void set_function_optimization(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_disable_model_pruning()
@MemberGetter public static int kDisableModelPruningFieldNumber()
public void clear_disable_meta_optimizer()
@MemberGetter public static int kDisableMetaOptimizerFieldNumber()
public void set_disable_meta_optimizer(@Cast(value="bool") boolean value)
public void clear_debug_stripper()
@MemberGetter public static int kDebugStripperFieldNumber()
public void set_debug_stripper(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_meta_optimizer_iterations()
@MemberGetter public static int kMetaOptimizerIterationsFieldNumber()
@Cast(value="tensorflow::RewriterConfig_NumIterationsType") public int meta_optimizer_iterations()
public void set_meta_optimizer_iterations(@Cast(value="tensorflow::RewriterConfig_NumIterationsType") int value)
public void clear_shape_optimization()
@MemberGetter public static int kShapeOptimizationFieldNumber()
public void set_shape_optimization(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_remapping()
@MemberGetter public static int kRemappingFieldNumber()
public void clear_scoped_allocator_optimization()
@MemberGetter public static int kScopedAllocatorOptimizationFieldNumber()
@Cast(value="tensorflow::RewriterConfig_Toggle") public int scoped_allocator_optimization()
public void set_scoped_allocator_optimization(@Cast(value="tensorflow::RewriterConfig_Toggle") int value)
public void clear_min_graph_nodes()
@MemberGetter public static int kMinGraphNodesFieldNumber()
public void set_min_graph_nodes(@Cast(value="google::protobuf::int32") int value)
public void clear_pin_to_host_optimization()
@MemberGetter public static int kPinToHostOptimizationFieldNumber()
@Cast(value="tensorflow::RewriterConfig_Toggle") public int pin_to_host_optimization()
Copyright © 2019. All rights reserved.