RewriterConfig

RewriterConfig คลาสสุดท้ายสาธารณะ

 Graph rewriting is experimental and subject to change, not covered by any
 API stability guarantees.
 
Protobuf ประเภท tensorflow.RewriterConfig

คลาสที่ซ้อนกัน

ระดับ RewriterConfig.Builder
 Graph rewriting is experimental and subject to change, not covered by any
 API stability guarantees. 
แจกแจง RewriterConfig.CpuLayout
 Enum for layout conversion between NCHW and NHWC on CPU. 
ระดับ RewriterConfig.CustomGraphOptimizer
 Message to describe custom graph optimizer and its parameters
 
Protobuf ประเภท tensorflow.RewriterConfig.CustomGraphOptimizer
อินเตอร์เฟซ RewriterConfig.CustomGraphOptimizerOrBuilder
แจกแจง RewriterConfig.MemOptType Protobuf enum tensorflow.RewriterConfig.MemOptType
แจกแจง RewriterConfig.NumIterationsType
 Enum controlling the number of times to run optimizers. 
แจกแจง RewriterConfig.สลับ Protobuf enum tensorflow.RewriterConfig.Toggle

ค่าคงที่

ภายใน ARITHMETIC_OPTIMIZATION_FIELD_NUMBER
ภายใน AUTO_MIXED_PRECISION_FIELD_NUMBER
ภายใน AUTO_MIXED_PRECISION_MKL_FIELD_NUMBER
ภายใน AUTO_PARALLEL_FIELD_NUMBER
ภายใน COMMON_SUBGRAPH_ELIMINATION_FIELD_NUMBER
ภายใน CONSTANT_FOLDING_FIELD_NUMBER
ภายใน CPU_LAYOUT_CONVERSION_FIELD_NUMBER
ภายใน CUSTOM_OPTIMIZERS_FIELD_NUMBER
ภายใน DEBUG_STRIPPER_FIELD_NUMBER
ภายใน DEPENDENCY_OPTIMIZATION_FIELD_NUMBER
ภายใน DISABLE_META_OPTIMIZER_FIELD_NUMBER
ภายใน DISABLE_MODEL_PRUNING_FIELD_NUMBER
ภายใน EXPERIMENTAL_DISABLE_COMPRESSED_TENSOR_OPTIMIZATION_FIELD_NUMBER
ภายใน FAIL_ON_OPTIMIZER_ERRORS_FIELD_NUMBER
ภายใน FUNCTION_OPTIMIZATION_FIELD_NUMBER
ภายใน IMPLEMENTATION_SELECTOR_FIELD_NUMBER
ภายใน INTER_OPTIMIZER_VERIFIER_CONFIG_FIELD_NUMBER
ภายใน LAYOUT_OPTIMIZER_FIELD_NUMBER
ภายใน LOOP_OPTIMIZATION_FIELD_NUMBER
ภายใน MEMORY_OPTIMIZATION_FIELD_NUMBER
ภายใน MEMORY_OPTIMIZER_TARGET_NODE_NAME_SCOPE_FIELD_NUMBER
ภายใน META_OPTIMIZER_ITERATIONS_FIELD_NUMBER
ภายใน META_OPTIMIZER_TIMEOUT_MS_FIELD_NUMBER
ภายใน MIN_GRAPH_NODES_FIELD_NUMBER
ภายใน OPTIMIZERS_FIELD_NUMBER
ภายใน PIN_TO_HOST_OPTIMIZATION_FIELD_NUMBER
ภายใน POST_OPTIMIZATION_VERIFIER_CONFIG_FIELD_NUMBER
ภายใน REMAPPING_FIELD_NUMBER
ภายใน SCOPED_ALLOCATOR_OPTIMIZATION_FIELD_NUMBER
ภายใน SCOPED_ALLOCATOR_OPTS_FIELD_NUMBER
ภายใน SHAPE_OPTIMIZATION_FIELD_NUMBER

วิธีการสาธารณะ

บูลีน
เท่ากับ (วัตถุ obj)
RewriterConfig.สลับ
getArithmeticOptimization ()
 Arithmetic optimizations (default is ON)
 e.g.
ภายใน
getArithmeticOptimizationValue ()
 Arithmetic optimizations (default is ON)
 e.g.
RewriterConfig.สลับ
รับ AutoMixedPrecision ()
 Optimize data types for CUDA (default is OFF).
RewriterConfig.สลับ
รับ AutoMixedPrecisionMkl ()
 Optimize data types for MKL (default is OFF).
ภายใน
รับ AutoMixedPrecisionMklValue ()
 Optimize data types for MKL (default is OFF).
ภายใน
รับ AutoMixedPrecisionValue ()
 Optimize data types for CUDA (default is OFF).
ตัวเลือกขนานอัตโนมัติ
รับอัตโนมัติขนาน ()
 Configures AutoParallel optimization passes either through the
 meta-optimizer or when manually specified through the optimizers field.
ตัวเลือกขนานอัตโนมัติหรือตัวสร้าง
รับ AutoParallelOrBuilder ()
 Configures AutoParallel optimization passes either through the
 meta-optimizer or when manually specified through the optimizers field.
RewriterConfig.สลับ
getCommonSubgraphElimination ()
 Common subgraph elimination (default is ON)
 e.g.
ภายใน
getCommonSubgraphEliminationValue ()
 Common subgraph elimination (default is ON)
 e.g.
RewriterConfig.สลับ
getConstantFolding ()
 Fold constants (default is ON)
 Statically infer the value of tensors when possible, and materialize the
 result using constants.
ภายใน
getConstantFoldingValue ()
 Fold constants (default is ON)
 Statically infer the value of tensors when possible, and materialize the
 result using constants.
RewriterConfig.CpuLayout
getCpuLayout การแปลง ()
 CPU Conversion settings between NHCW and NCHW.
ภายใน
getCpuLayoutConversionValue ()
 CPU Conversion settings between NHCW and NCHW.
RewriterConfig.CustomGraphOptimizer
getCustomOptimizers (ดัชนี int)
 list of CustomGraphOptimizers to apply.
ภายใน
getCustomOptimizersCount ()
 list of CustomGraphOptimizers to apply.
รายการ < RewriterConfig.CustomGraphOptimizer >
getCustomOptimizersList ()
 list of CustomGraphOptimizers to apply.
RewriterConfig.CustomGraphOptimizerOrBuilder
getCustomOptimizersOrBuilder (ดัชนี int)
 list of CustomGraphOptimizers to apply.
รายการ<? ขยาย RewriterConfig.CustomGraphOptimizerOrBuilder >
getCustomOptimizersOrBuilderList ()
 list of CustomGraphOptimizers to apply.
RewriterConfig.สลับ
getDebugStripper ()
 Strips debug-related nodes from the graph (off by default).
ภายใน
getDebugStripperValue ()
 Strips debug-related nodes from the graph (off by default).
RewriterConfig แบบคงที่
RewriterConfig
RewriterConfig.สลับ
getDependencyOptimization ()
 Control dependency optimizations (default is ON).
ภายใน
getDependencyOptimizationValue ()
 Control dependency optimizations (default is ON).
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย
บูลีน
getDisableMetaOptimizer ()
 Disable the entire meta optimizer (off by default).
บูลีน
getDisableModelPruning ()
 If true, don't remove unnecessary ops from the graph
 
bool disable_model_pruning = 2;
บูลีน
getExperimentalDisableCompressedTensorOptimization ()
 Disable optimizations that assume compressed tensors.
บูลีน
getFailOnOptimizer ข้อผิดพลาด ()
 If true, any optimization pass failing will cause the MetaOptimizer to
 stop with an error.
RewriterConfig.สลับ
getFunctionOptimization ()
 Function optimizations (default is ON).
ภายใน
getFunctionOptimizationValue ()
 Function optimizations (default is ON).
RewriterConfig.สลับ
getImplementationSelector ()
 Enable the swap of kernel implementations based on the device placement
 (default is ON).
ภายใน
getImplementationSelectorValue ()
 Enable the swap of kernel implementations based on the device placement
 (default is ON).
VerifierConfig
getInterOptimizerVerifierConfig ()
 VerifierConfig specifying the verifiers to be run after every optimizer.
VerifierConfigOrBuilder
getInterOptimizerVerifierConfigOrBuilder ()
 VerifierConfig specifying the verifiers to be run after every optimizer.
RewriterConfig.สลับ
getLayoutOptimizer ()
 Optimize tensor layouts (default is ON)
 e.g.
ภายใน
getLayoutOptimizerValue ()
 Optimize tensor layouts (default is ON)
 e.g.
RewriterConfig.สลับ
getLoopOptimization ()
 Loop optimizations (default is ON).
ภายใน
getLoopOptimizationValue ()
 Loop optimizations (default is ON).
RewriterConfig.MemOptType
getMemoryOptimization ()
 Configures memory optimization passes through the meta-optimizer.
ภายใน
getMemoryOptimizationValue ()
 Configures memory optimization passes through the meta-optimizer.
สตริง
getMemoryOptimizerTargetNodeNameScope ()
 A node name scope for node names which are valid outputs of recomputations.
com.google.protobuf.ByteString
getMemoryOptimizerTargetNodeNameScopeBytes ()
 A node name scope for node names which are valid outputs of recomputations.
RewriterConfig.NumIterationsType
getMetaOptimizerIterations ()
 Controls how many times we run the optimizers in meta optimizer (default
 is once).
ภายใน
getMetaOptimizerIterationsValue ()
 Controls how many times we run the optimizers in meta optimizer (default
 is once).
ยาว
getMetaOptimizerTimeoutMs ()
 Maximum number of milliseconds to spend optimizing a single graph before
 timing out.
ภายใน
รับ MinGraphNodes ()
 The minimum number of nodes in a graph to optimizer.
สตริง
getOptimizers (ดัชนี int)
 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
com.google.protobuf.ByteString
getOptimizersBytes (ดัชนี int)
 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
ภายใน
getOptimizersCount ()
 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
com.google.protobuf.ProtocolStringList
getOptimizersList ()
 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
RewriterConfig.สลับ
การเพิ่มประสิทธิภาพ getPinToHost ()
 Force small ops onto the CPU (default is OFF).
ภายใน
getPinToHostOptimizationValue ()
 Force small ops onto the CPU (default is OFF).
VerifierConfig
getPostOptimizationVerifierConfig ()
 VerifierConfig specifying the verifiers to be run at the end, after all
 optimizers have run.
VerifierConfigOrBuilder
getPostOptimizationVerifierConfigOrBuilder ()
 VerifierConfig specifying the verifiers to be run at the end, after all
 optimizers have run.
RewriterConfig.สลับ
รับการแมป ()
 Remapping (default is ON)
 Remap subgraphs onto more efficient implementations.
ภายใน
รับค่าการแมปใหม่ ()
 Remapping (default is ON)
 Remap subgraphs onto more efficient implementations.
RewriterConfig.สลับ
การเพิ่มประสิทธิภาพ getScopedAllocator ()
 Try to allocate some independent Op outputs contiguously in order to
 merge or eliminate downstream Ops (off by default).
ภายใน
getScopedAllocatorOptimizationValue ()
 Try to allocate some independent Op outputs contiguously in order to
 merge or eliminate downstream Ops (off by default).
ตัวเลือกขอบเขต Allocator
getScopedAllocatorOpts ()
.tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16;
ScopedAllocatorOptionsOrBuilder
getScopedAllocatorOptsOrBuilder ()
.tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16;
ภายใน
RewriterConfig.สลับ
getShapeOptimization ()
 Shape optimizations (default is ON)
 Simplify computations made on shapes.
ภายใน
getShapeOptimizationValue ()
 Shape optimizations (default is ON)
 Simplify computations made on shapes.
สุดท้าย com.google.protobuf.UnknownFieldSet
บูลีน
มีอัตโนมัติขนาน ()
 Configures AutoParallel optimization passes either through the
 meta-optimizer or when manually specified through the optimizers field.
บูลีน
hasInterOptimizerVerifierConfig ()
 VerifierConfig specifying the verifiers to be run after every optimizer.
บูลีน
hasPostOptimizationVerifierConfig ()
 VerifierConfig specifying the verifiers to be run at the end, after all
 optimizers have run.
บูลีน
hasScopedAllocatorOpts ()
.tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16;
ภายใน
บูลีนสุดท้าย
RewriterConfig.Builder แบบคงที่
RewriterConfig.Builder แบบคงที่
newBuilder (ต้นแบบ RewriterConfig )
RewriterConfig.Builder
RewriterConfig แบบคงที่
parseDelimitedFrom (อินพุต InputStream)
RewriterConfig แบบคงที่
parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RewriterConfig แบบคงที่
parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RewriterConfig แบบคงที่
parseFrom (com.google.protobuf.CodedInputStream อินพุต)
RewriterConfig แบบคงที่
parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RewriterConfig แบบคงที่
parseFrom (ข้อมูล ByteBuffer)
RewriterConfig แบบคงที่
parseFrom (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RewriterConfig แบบคงที่
parseFrom (ข้อมูล com.google.protobuf.ByteString)
RewriterConfig แบบคงที่
parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RewriterConfig แบบคงที่
parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
คงที่
RewriterConfig.Builder
เป็นโมฆะ
writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)

วิธีการสืบทอด

ค่าคงที่

สาธารณะคงสุดท้าย int ARITHMETIC_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 7

สาธารณะคงสุดท้าย int AUTO_MIXED_PRECISION_FIELD_NUMBER

ค่าคงที่: 23

สาธารณะคงที่สุดท้าย int AUTO_MIXED_PRECISION_MKL_FIELD_NUMBER

ค่าคงที่: 25

สาธารณะคงที่สุดท้าย int AUTO_PARALLEL_FIELD_NUMBER

ค่าคงที่: 5

สาธารณะคงที่สุดท้าย int COMMON_SUBGRAPH_ELIMINATION_FIELD_NUMBER

ค่าคงที่: 24

รอบชิงชนะเลิศแบบคงที่สาธารณะ CONSTANT_FOLDING_FIELD_NUMBER

ค่าคงที่: 3

สาธารณะคงสุดท้าย int CPU_LAYOUT_CONVERSION_FIELD_NUMBER

ค่าคงที่: 50

สาธารณะคงสุดท้าย int CUSTOM_OPTIMIZERS_FIELD_NUMBER

ค่าคงที่: 200

สาธารณะคงที่ขั้นสุดท้าย int DEBUG_STRIPPER_FIELD_NUMBER

ค่าคงที่: 11

สาธารณะคงสุดท้าย int DEPENDENCY_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 8

สาธารณะคงสุดท้าย int DISABLE_META_OPTIMIZER_FIELD_NUMBER

ค่าคงที่: 19

สาธารณะคงสุดท้าย int DISABLE_MODEL_PRUNING_FIELD_NUMBER

ค่าคงที่: 2

สาธารณะคงที่สุดท้าย int EXPERIMENTAL_DISABLE_COMPRESSED_TENSOR_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 26

สาธารณะคงที่ขั้นสุดท้าย int FAIL_ON_OPTIMIZER_ERRORS_FIELD_NUMBER

ค่าคงที่: 21

ปลายทางคงที่สาธารณะ int FUNCTION_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 10

สาธารณะคงสุดท้าย int IMPLEMENTATION_SELECTOR_FIELD_NUMBER

ค่าคงที่: 22

สาธารณะคงสุดท้าย int INTER_OPTIMIZER_VERIFIER_CONFIG_FIELD_NUMBER

ค่าคงที่: 300

รอบชิงชนะเลิศแบบคงที่สาธารณะ LAYOUT_OPTIMIZER_FIELD_NUMBER

ค่าคงที่: 1

รอบชิงชนะเลิศแบบคงที่สาธารณะ int LOOP_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 9

สาธารณะคงสุดท้าย int MEMORY_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 4

ค่าคงที่สุดท้ายสาธารณะ MEMORY_OPTIMIZER_TARGET_NODE_NAME_SCOPE_FIELD_NUMBER

ค่าคงที่: 6

สาธารณะคงที่สุดท้าย int META_OPTIMIZER_ITERATIONS_FIELD_NUMBER

ค่าคงที่: 12

รอบชิงชนะเลิศแบบคงที่สาธารณะ int META_OPTIMIZER_TIMEOUT_MS_FIELD_NUMBER

ค่าคงที่: 20

int สุดท้ายแบบคงที่สาธารณะ MIN_GRAPH_NODES_FIELD_NUMBER

ค่าคงที่: 17

รอบชิงชนะเลิศแบบคงที่สาธารณะ int OPTIMIZERS_FIELD_NUMBER

ค่าคงที่: 100

int สุดท้ายแบบคงที่สาธารณะ PIN_TO_HOST_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 18

สาธารณะคงสุดท้าย int POST_OPTIMIZATION_VERIFIER_CONFIG_FIELD_NUMBER

ค่าคงที่: 301

int สุดท้ายแบบคงที่สาธารณะ REMAPPING_FIELD_NUMBER

ค่าคงที่: 14

int คงที่สาธารณะขั้นสุดท้าย SCOPED_ALLOCATOR_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 15

int คงที่สาธารณะขั้นสุดท้าย SCOPED_ALLOCATOR_OPTS_FIELD_NUMBER

ค่าคงที่: 16

int สุดท้ายคงที่สาธารณะ SHAPE_OPTIMIZATION_FIELD_NUMBER

ค่าคงที่: 13

วิธีการสาธารณะ

บูลีนสาธารณะ เท่ากับ (Object obj)

สาธารณะ RewriterConfig.Toggle getArithmeticOptimization ()

 Arithmetic optimizations (default is ON)
 e.g. Simplify arithmetic ops; merge ops with same value (like constants).
 
.tensorflow.RewriterConfig.Toggle arithmetic_optimization = 7;

int สาธารณะ getArithmeticOptimizationValue ()

 Arithmetic optimizations (default is ON)
 e.g. Simplify arithmetic ops; merge ops with same value (like constants).
 
.tensorflow.RewriterConfig.Toggle arithmetic_optimization = 7;

RewriterConfig.Toggle สาธารณะ getAutoMixedPrecision ()

 Optimize data types for CUDA (default is OFF).
 This will try to use float16 on GPU which is faster.
 Note that this can change the numerical stability of the graph and may
 require the use of loss scaling to maintain model convergence.
 
.tensorflow.RewriterConfig.Toggle auto_mixed_precision = 23;

สาธารณะ RewriterConfig.Toggle getAutoMixedPrecisionMkl ()

 Optimize data types for MKL (default is OFF).
 This will try to use bfloat16 on CPUs, which is faster.
 Note that this can change the numerical stability of the graph.
 
.tensorflow.RewriterConfig.Toggle auto_mixed_precision_mkl = 25;

int สาธารณะ getAutoMixedPrecisionMklValue ()

 Optimize data types for MKL (default is OFF).
 This will try to use bfloat16 on CPUs, which is faster.
 Note that this can change the numerical stability of the graph.
 
.tensorflow.RewriterConfig.Toggle auto_mixed_precision_mkl = 25;

int สาธารณะ getAutoMixedPrecisionValue ()

 Optimize data types for CUDA (default is OFF).
 This will try to use float16 on GPU which is faster.
 Note that this can change the numerical stability of the graph and may
 require the use of loss scaling to maintain model convergence.
 
.tensorflow.RewriterConfig.Toggle auto_mixed_precision = 23;

AutoParallelOptions สาธารณะ getAutoParallel ()

 Configures AutoParallel optimization passes either through the
 meta-optimizer or when manually specified through the optimizers field.
 
.tensorflow.AutoParallelOptions auto_parallel = 5;

AutoParallelOptionsOrBuilder สาธารณะ รับ AutoParallelOrBuilder ()

 Configures AutoParallel optimization passes either through the
 meta-optimizer or when manually specified through the optimizers field.
 
.tensorflow.AutoParallelOptions auto_parallel = 5;

RewriterConfig สาธารณะสลับ getCommonSubgraphElimination ()

 Common subgraph elimination (default is ON)
 e.g. Simplify arithmetic ops; merge ops with same value (like constants).
 
.tensorflow.RewriterConfig.Toggle common_subgraph_elimination = 24;

int สาธารณะ getCommonSubgraphEliminationValue ()

 Common subgraph elimination (default is ON)
 e.g. Simplify arithmetic ops; merge ops with same value (like constants).
 
.tensorflow.RewriterConfig.Toggle common_subgraph_elimination = 24;

RewriterConfig.Toggle สาธารณะ getConstantFolding ()

 Fold constants (default is ON)
 Statically infer the value of tensors when possible, and materialize the
 result using constants.
 
.tensorflow.RewriterConfig.Toggle constant_folding = 3;

int สาธารณะ getConstantFoldingValue ()

 Fold constants (default is ON)
 Statically infer the value of tensors when possible, and materialize the
 result using constants.
 
.tensorflow.RewriterConfig.Toggle constant_folding = 3;

RewriterConfig.CpuLayout สาธารณะ getCpuLayoutConversion ()

 CPU Conversion settings between NHCW and NCHW.
 
.tensorflow.RewriterConfig.CpuLayout cpu_layout_conversion = 50;

int สาธารณะ getCpuLayoutConversionValue ()

 CPU Conversion settings between NHCW and NCHW.
 
.tensorflow.RewriterConfig.CpuLayout cpu_layout_conversion = 50;

RewriterConfig.CustomGraphOptimizer สาธารณะ getCustomOptimizers (ดัชนี int)

 list of CustomGraphOptimizers to apply.
 
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;

int สาธารณะ getCustomOptimizersCount ()

 list of CustomGraphOptimizers to apply.
 
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;

รายการสาธารณะ < RewriterConfig.CustomGraphOptimizer > getCustomOptimizersList ()

 list of CustomGraphOptimizers to apply.
 
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;

RewriterConfig.CustomGraphOptimizerOrBuilder สาธารณะ getCustomOptimizersOrBuilder (ดัชนี int)

 list of CustomGraphOptimizers to apply.
 
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;

รายการสาธารณะ<? ขยาย RewriterConfig.CustomGraphOptimizerOrBuilder > getCustomOptimizersOrBuilderList ()

 list of CustomGraphOptimizers to apply.
 
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;

RewriterConfig.Toggle สาธารณะ getDebugStripper ()

 Strips debug-related nodes from the graph (off by default).
 
.tensorflow.RewriterConfig.Toggle debug_stripper = 11;

int สาธารณะ getDebugStripperValue ()

 Strips debug-related nodes from the graph (off by default).
 
.tensorflow.RewriterConfig.Toggle debug_stripper = 11;

RewriterConfig แบบคงที่สาธารณะ getDefaultInstance ()

RewriterConfig สาธารณะ getDefaultInstanceForType ()

RewriterConfig.Toggle สาธารณะ getDependencyOptimization ()

 Control dependency optimizations (default is ON).
 Remove redundant control dependencies, which may enable other optimization.
 
.tensorflow.RewriterConfig.Toggle dependency_optimization = 8;

สาธารณะ int getDependencyOptimizationValue ()

 Control dependency optimizations (default is ON).
 Remove redundant control dependencies, which may enable other optimization.
 
.tensorflow.RewriterConfig.Toggle dependency_optimization = 8;

สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()

บูลีนสาธารณะ getDisableMetaOptimizer ()

 Disable the entire meta optimizer (off by default).
 
bool disable_meta_optimizer = 19;

บูลีนสาธารณะ getDisableModelPruning ()

 If true, don't remove unnecessary ops from the graph
 
bool disable_model_pruning = 2;

บูลีนสาธารณะ getExperimentalDisableCompressedTensorOptimization ()

 Disable optimizations that assume compressed tensors. Note that this flag
 is experimental and may be removed in the future.
 
bool experimental_disable_compressed_tensor_optimization = 26;

บูลีนสาธารณะ getFailOnOptimizerErrors ()

 If true, any optimization pass failing will cause the MetaOptimizer to
 stop with an error. By default - or when set to false, failing passes are
 skipped silently.
 
bool fail_on_optimizer_errors = 21;

สาธารณะ RewriterConfig.Toggle getFunctionOptimization ()

 Function optimizations (default is ON).
 
.tensorflow.RewriterConfig.Toggle function_optimization = 10;

สาธารณะ int getFunctionOptimizationValue ()

 Function optimizations (default is ON).
 
.tensorflow.RewriterConfig.Toggle function_optimization = 10;

RewriterConfig.Toggle getImplementationSelector สาธารณะ ()

 Enable the swap of kernel implementations based on the device placement
 (default is ON).
 
.tensorflow.RewriterConfig.Toggle implementation_selector = 22;

สาธารณะ int getImplementationSelectorValue ()

 Enable the swap of kernel implementations based on the device placement
 (default is ON).
 
.tensorflow.RewriterConfig.Toggle implementation_selector = 22;

VerifierConfig สาธารณะ getInterOptimizerVerifierConfig ()

 VerifierConfig specifying the verifiers to be run after every optimizer.
 
.tensorflow.VerifierConfig inter_optimizer_verifier_config = 300;

VerifierConfigOrBuilder สาธารณะ getInterOptimizerVerifierConfigOrBuilder ()

 VerifierConfig specifying the verifiers to be run after every optimizer.
 
.tensorflow.VerifierConfig inter_optimizer_verifier_config = 300;

RewriterConfig.Toggle getLayoutOptimizer สาธารณะ ()

 Optimize tensor layouts (default is ON)
 e.g. This will try to use NCHW layout on GPU which is faster.
 
.tensorflow.RewriterConfig.Toggle layout_optimizer = 1;

สาธารณะ int getLayoutOptimizerValue ()

 Optimize tensor layouts (default is ON)
 e.g. This will try to use NCHW layout on GPU which is faster.
 
.tensorflow.RewriterConfig.Toggle layout_optimizer = 1;

สาธารณะ RewriterConfig.Toggle getLoopOptimization ()

 Loop optimizations (default is ON).
 
.tensorflow.RewriterConfig.Toggle loop_optimization = 9;

สาธารณะ int getLoopOptimizationValue ()

 Loop optimizations (default is ON).
 
.tensorflow.RewriterConfig.Toggle loop_optimization = 9;

RewriterConfig.MemOptType สาธารณะ getMemoryOptimization ()

 Configures memory optimization passes through the meta-optimizer. Has no
 effect on manually requested memory optimization passes in the optimizers
 field.
 
.tensorflow.RewriterConfig.MemOptType memory_optimization = 4;

int สาธารณะ getMemoryOptimizationValue ()

 Configures memory optimization passes through the meta-optimizer. Has no
 effect on manually requested memory optimization passes in the optimizers
 field.
 
.tensorflow.RewriterConfig.MemOptType memory_optimization = 4;

สตริงสาธารณะ getMemoryOptimizerTargetNodeNameScope ()

 A node name scope for node names which are valid outputs of recomputations.
 Inputs to nodes that match this scope may be recomputed (subject either to
 manual annotation of those input nodes or to manual annotation and
 heuristics depending on memory_optimization), but the nodes themselves will
 not be recomputed. This matches any sub-scopes as well, meaning the scope
 can appear not just as a top-level scope. For example, if the value is
 "gradients/", the default, it will match node name "gradients/foo",
 "foo/gradients/bar", but not "foo_gradients/"
 
string memory_optimizer_target_node_name_scope = 6;

สาธารณะ com.google.protobuf.ByteString getMemoryOptimizerTargetNodeNameScopeBytes ()

 A node name scope for node names which are valid outputs of recomputations.
 Inputs to nodes that match this scope may be recomputed (subject either to
 manual annotation of those input nodes or to manual annotation and
 heuristics depending on memory_optimization), but the nodes themselves will
 not be recomputed. This matches any sub-scopes as well, meaning the scope
 can appear not just as a top-level scope. For example, if the value is
 "gradients/", the default, it will match node name "gradients/foo",
 "foo/gradients/bar", but not "foo_gradients/"
 
string memory_optimizer_target_node_name_scope = 6;

RewriterConfig.NumIterationsType สาธารณะ getMetaOptimizerIterations ()

 Controls how many times we run the optimizers in meta optimizer (default
 is once).
 
.tensorflow.RewriterConfig.NumIterationsType meta_optimizer_iterations = 12;

int สาธารณะ getMetaOptimizerIterationsValue ()

 Controls how many times we run the optimizers in meta optimizer (default
 is once).
 
.tensorflow.RewriterConfig.NumIterationsType meta_optimizer_iterations = 12;

สาธารณะยาว getMetaOptimizerTimeoutMs ()

 Maximum number of milliseconds to spend optimizing a single graph before
 timing out. If equal to 0 the system picks a default (currently 5 minutes).
 If less than 0 the optimizer will never time out.
 
int64 meta_optimizer_timeout_ms = 20;

สาธารณะ int getMinGraphNodes ()

 The minimum number of nodes in a graph to optimizer. For smaller graphs,
 optimization is skipped.
 0 means the system picks an appropriate number.
 < 0 means do not skip optimization.
 
int32 min_graph_nodes = 17;

สตริงสาธารณะ getOptimizers (ดัชนี int)

 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
 Of the RewriterConfig options, only the AutoParallel configuration options
 (the auto_parallel field) apply to manually requested optimization passes
 ("autoparallel"). Memory optimization passes ("memory") invoked here are
 not configurable (in contrast to memory optimization passes through the
 meta-optimizer) and act only on manual op annotations.
 Custom optimizers (see custom_optimizers) that are not part of this
 schedule will be run after - in the order that they were specified.
 
repeated string optimizers = 100;

สาธารณะ com.google.protobuf.ByteString getOptimizersBytes (ดัชนี int)

 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
 Of the RewriterConfig options, only the AutoParallel configuration options
 (the auto_parallel field) apply to manually requested optimization passes
 ("autoparallel"). Memory optimization passes ("memory") invoked here are
 not configurable (in contrast to memory optimization passes through the
 meta-optimizer) and act only on manual op annotations.
 Custom optimizers (see custom_optimizers) that are not part of this
 schedule will be run after - in the order that they were specified.
 
repeated string optimizers = 100;

สาธารณะ int getOptimizersCount ()

 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
 Of the RewriterConfig options, only the AutoParallel configuration options
 (the auto_parallel field) apply to manually requested optimization passes
 ("autoparallel"). Memory optimization passes ("memory") invoked here are
 not configurable (in contrast to memory optimization passes through the
 meta-optimizer) and act only on manual op annotations.
 Custom optimizers (see custom_optimizers) that are not part of this
 schedule will be run after - in the order that they were specified.
 
repeated string optimizers = 100;

สาธารณะ com.google.protobuf.ProtocolStringList getOptimizersList ()

 If non-empty, will use this as an alternative way to specify a list of
 optimizations to turn on and the order of the optimizations (replacing the
 meta-optimizer).
 Of the RewriterConfig options, only the AutoParallel configuration options
 (the auto_parallel field) apply to manually requested optimization passes
 ("autoparallel"). Memory optimization passes ("memory") invoked here are
 not configurable (in contrast to memory optimization passes through the
 meta-optimizer) and act only on manual op annotations.
 Custom optimizers (see custom_optimizers) that are not part of this
 schedule will be run after - in the order that they were specified.
 
repeated string optimizers = 100;

สาธารณะ getParserForType ()

RewriterConfig สาธารณะสลับ getPinToHostOptimization ()

 Force small ops onto the CPU (default is OFF).
 
.tensorflow.RewriterConfig.Toggle pin_to_host_optimization = 18;

int สาธารณะ getPinToHostOptimizationValue ()

 Force small ops onto the CPU (default is OFF).
 
.tensorflow.RewriterConfig.Toggle pin_to_host_optimization = 18;

VerifierConfig สาธารณะ getPostOptimizationVerifierConfig ()

 VerifierConfig specifying the verifiers to be run at the end, after all
 optimizers have run.
 
.tensorflow.VerifierConfig post_optimization_verifier_config = 301;

VerifierConfigOrBuilder สาธารณะ getPostOptimizationVerifierConfigOrBuilder ()

 VerifierConfig specifying the verifiers to be run at the end, after all
 optimizers have run.
 
.tensorflow.VerifierConfig post_optimization_verifier_config = 301;

RewriterConfig.Toggle สาธารณะ getRemapping ()

 Remapping (default is ON)
 Remap subgraphs onto more efficient implementations.
 
.tensorflow.RewriterConfig.Toggle remapping = 14;

int สาธารณะ getRemappingValue ()

 Remapping (default is ON)
 Remap subgraphs onto more efficient implementations.
 
.tensorflow.RewriterConfig.Toggle remapping = 14;

RewriterConfig.Toggle สาธารณะ getScopedAllocatorOptimization ()

 Try to allocate some independent Op outputs contiguously in order to
 merge or eliminate downstream Ops (off by default).
 
.tensorflow.RewriterConfig.Toggle scoped_allocator_optimization = 15;

int สาธารณะ getScopedAllocatorOptimizationValue ()

 Try to allocate some independent Op outputs contiguously in order to
 merge or eliminate downstream Ops (off by default).
 
.tensorflow.RewriterConfig.Toggle scoped_allocator_optimization = 15;

สาธารณะ ScopedAllocatorOptions getScopedAllocatorOpts ()

.tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16;

สาธารณะ ScopedAllocatorOptionsOrBuilder getScopedAllocatorOptsOrBuilder ()

.tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16;

สาธารณะ int getSerializedSize ()

RewriterConfig.Toggle สาธารณะ getShapeOptimization ()

 Shape optimizations (default is ON)
 Simplify computations made on shapes.
 
.tensorflow.RewriterConfig.Toggle shape_optimization = 13;

int สาธารณะ getShapeOptimizationValue ()

 Shape optimizations (default is ON)
 Simplify computations made on shapes.
 
.tensorflow.RewriterConfig.Toggle shape_optimization = 13;

สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()

บูลีนสาธารณะ hasAutoParallel ()

 Configures AutoParallel optimization passes either through the
 meta-optimizer or when manually specified through the optimizers field.
 
.tensorflow.AutoParallelOptions auto_parallel = 5;

บูลีนสาธารณะ hasInterOptimizerVerifierConfig ()

 VerifierConfig specifying the verifiers to be run after every optimizer.
 
.tensorflow.VerifierConfig inter_optimizer_verifier_config = 300;

บูลีนสาธารณะ hasPostOptimizationVerifierConfig ()

 VerifierConfig specifying the verifiers to be run at the end, after all
 optimizers have run.
 
.tensorflow.VerifierConfig post_optimization_verifier_config = 301;

บูลีนสาธารณะ hasScopedAllocatorOpts ()

.tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16;

สาธารณะ int hashCode ()

บูลีนสุดท้ายสาธารณะ isInitialized ()

RewriterConfig.Builder สาธารณะแบบคงที่ newBuilder ()

RewriterConfig.Builder แบบคงที่สาธารณะ newBuilder (ต้นแบบ RewriterConfig )

RewriterConfig.Builder สาธารณะ newBuilderForType ()

RewriterConfig แบบคงที่สาธารณะ parseDelimitedFrom (อินพุต InputStream)

ขว้าง
IOข้อยกเว้น

RewriterConfig แบบคงที่สาธารณะ parseDelimitedFrom (อินพุตสตรีม, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

RewriterConfig แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

RewriterConfig แบบคงที่สาธารณะ แยกวิเคราะห์ (com.google.protobuf.CodedInputStream อินพุต)

ขว้าง
IOข้อยกเว้น

RewriterConfig แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

RewriterConfig แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล ByteBuffer)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

RewriterConfig แบบคงที่สาธารณะ parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

RewriterConfig แบบคงที่สาธารณะ แยกวิเคราะห์ (ข้อมูล com.google.protobuf.ByteString)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

RewriterConfig แบบคงที่สาธารณะ parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

RewriterConfig แบบคงที่สาธารณะ parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

สาธารณะคงที่ ตัวแยกวิเคราะห์ ()

สาธารณะ RewriterConfig.Builder toBuilder ()

โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)

ขว้าง
IOข้อยกเว้น