सार्वजनिक अंतिम वर्ग रिवाइटरकॉन्फिग
Graph rewriting is experimental and subject to change, not covered by any API stability guarantees.
tensorflow.RewriterConfig
नेस्टेड क्लासेस
कक्षा | रीराइटरकॉन्फिग.बिल्डर | Graph rewriting is experimental and subject to change, not covered by any API stability guarantees. | |
enum | RewriterConfig.CpuLayout | Enum for layout conversion between NCHW and NHWC on CPU. | |
कक्षा | रीराइटरकॉन्फिग.कस्टमग्राफऑप्टिमाइज़र | Message to describe custom graph optimizer and its parameters tensorflow.RewriterConfig.CustomGraphOptimizer | |
इंटरफ़ेस | रीराइटरकॉन्फिग.कस्टमग्राफऑप्टिमाइज़रऑरबिल्डर | ||
enum | RewriterConfig.MemOptType | प्रोटोबफ एनम tensorflow.RewriterConfig.MemOptType | |
enum | RewriterConfig.NumIterationsType | Enum controlling the number of times to run optimizers. | |
enum | रीराइटरकॉन्फिग.टॉगल | प्रोटोबफ एनम tensorflow.RewriterConfig.Toggle |
स्थिरांक
सार्वजनिक तरीके
बूलियन | बराबर (वस्तु obj) |
रीराइटरकॉन्फिग.टॉगल | अंकगणित अनुकूलन प्राप्त करें () Arithmetic optimizations (default is ON) e.g. |
int यहाँ | getArithmeticOptimizationValue () Arithmetic optimizations (default is ON) e.g. |
रीराइटरकॉन्फिग.टॉगल | getAutoMixedPrecision () Optimize data types for CUDA (default is OFF). |
रीराइटरकॉन्फिग.टॉगल | getAutoMixedPrecisionMkl () Optimize data types for MKL (default is OFF). |
int यहाँ | getAutoMixedPrecisionMklValue () Optimize data types for MKL (default is OFF). |
int यहाँ | getAutoMixedPrecisionValue () 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. |
ऑटोपैरेललऑप्शनऑरबिल्डर | getAutoParallelOrBuilder () Configures AutoParallel optimization passes either through the meta-optimizer or when manually specified through the optimizers field. |
रीराइटरकॉन्फिग.टॉगल | getCommonSubgraphElination () Common subgraph elimination (default is ON) e.g. |
int यहाँ | getCommonSubgraphElinationValue () Common subgraph elimination (default is ON) e.g. |
रीराइटरकॉन्फिग.टॉगल | getConstantFolding () Fold constants (default is ON) Statically infer the value of tensors when possible, and materialize the result using constants. |
int यहाँ | getConstantFoldingValue () Fold constants (default is ON) Statically infer the value of tensors when possible, and materialize the result using constants. |
RewriterConfig.CpuLayout | getCpuLayoutConversion () CPU Conversion settings between NHCW and NCHW. |
int यहाँ | getCpuLayoutConversionValue () CPU Conversion settings between NHCW and NCHW. |
रीराइटरकॉन्फिग.कस्टमग्राफऑप्टिमाइज़र | getCustomOptimizers (int अनुक्रमणिका) list of CustomGraphOptimizers to apply. |
int यहाँ | getCustomOptimizersCount () list of CustomGraphOptimizers to apply. |
सूची< RewriterConfig.CustomGraphOptimizer > | GetCustomOptimizersList () list of CustomGraphOptimizers to apply. |
रीराइटरकॉन्फिग.कस्टमग्राफऑप्टिमाइज़रऑरबिल्डर | getCustomOptimizersOrBuilder (int अनुक्रमणिका) list of CustomGraphOptimizers to apply. |
सूची<? RewriterConfig.CustomGraphOptimizerOrBuilder > का विस्तार करता है | getCustomOptimizersOrBuilderList () list of CustomGraphOptimizers to apply. |
रीराइटरकॉन्फिग.टॉगल | getDebugस्ट्रिपर () Strips debug-related nodes from the graph (off by default). |
int यहाँ | getDebugStripperValue () Strips debug-related nodes from the graph (off by default). |
स्टेटिक रिवाइटरकॉन्फिग | |
रीराइटर कॉन्फिग | |
रीराइटरकॉन्फिग.टॉगल | निर्भरता अनुकूलन प्राप्त करें () Control dependency optimizations (default is ON). |
int यहाँ | getDependencyOptimizationValue () Control dependency optimizations (default is ON). |
अंतिम स्थिर com.google.protobuf.Descriptors.Descriptor | |
बूलियन | getDisableMetaऑप्टिमाइज़र () 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. |
बूलियन | getFairOnOptimizerErrors () If true, any optimization pass failing will cause the MetaOptimizer to stop with an error. |
रीराइटरकॉन्फिग.टॉगल | गेटफ़ंक्शनऑप्टिमाइज़ेशन () Function optimizations (default is ON). |
int यहाँ | getFunctionOptimizationValue () Function optimizations (default is ON). |
रीराइटरकॉन्फिग.टॉगल | कार्यान्वयन चयनकर्ता प्राप्त करें () Enable the swap of kernel implementations based on the device placement (default is ON). |
int यहाँ | getImplementationSelectorValue () Enable the swap of kernel implementations based on the device placement (default is ON). |
सत्यापनकर्ताकॉन्फिग | getInterOptimizerVerifierConfig () VerifierConfig specifying the verifiers to be run after every optimizer. |
सत्यापनकर्ताकॉन्फिगऑरबिल्डर | getInterOptimizerVerifierConfigOrBuilder () VerifierConfig specifying the verifiers to be run after every optimizer. |
रीराइटरकॉन्फिग.टॉगल | गेटलेआउटऑप्टिमाइज़र () Optimize tensor layouts (default is ON) e.g. |
int यहाँ | getLayoutऑप्टिमाइज़रवैल्यू () Optimize tensor layouts (default is ON) e.g. |
रीराइटरकॉन्फिग.टॉगल | getLoopऑप्टिमाइज़ेशन () Loop optimizations (default is ON). |
int यहाँ | getLoopऑप्टिमाइज़ेशनवैल्यू () Loop optimizations (default is ON). |
RewriterConfig.MemOptType | getMemoryअनुकूलन () Configures memory optimization passes through the meta-optimizer. |
int यहाँ | 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). |
int यहाँ | 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. |
int यहाँ | getMinGraphNodes () The minimum number of nodes in a graph to optimizer. |
डोरी | गेटऑप्टिमाइज़र (इंट इंडेक्स) 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). |
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.ProtocolStringList | getऑप्टिमाइज़रलिस्ट () 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). |
रीराइटरकॉन्फिग.टॉगल | getPinToHostऑप्टिमाइज़ेशन () Force small ops onto the CPU (default is OFF). |
int यहाँ | getPinToHostOptimizationValue () Force small ops onto the CPU (default is OFF). |
सत्यापनकर्ताकॉन्फिग | getPostOptimizationVerifierConfig () VerifierConfig specifying the verifiers to be run at the end, after all optimizers have run. |
सत्यापनकर्ताकॉन्फिगऑरबिल्डर | getPostOptimizationVerifierConfigOrBuilder () VerifierConfig specifying the verifiers to be run at the end, after all optimizers have run. |
रीराइटरकॉन्फिग.टॉगल | getRemapping () Remapping (default is ON) Remap subgraphs onto more efficient implementations. |
int यहाँ | getRemappingValue () Remapping (default is ON) Remap subgraphs onto more efficient implementations. |
रीराइटरकॉन्फिग.टॉगल | getScopedAllocatorOptimization () Try to allocate some independent Op outputs contiguously in order to merge or eliminate downstream Ops (off by default). |
int यहाँ | getScopedAllocatorOptimizationValue () Try to allocate some independent Op outputs contiguously in order to merge or eliminate downstream Ops (off by default). |
स्कोप्डएलोकेटर विकल्प | getScopedAllocatorOpts () .tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16; |
स्कोप्डएलोकेटरऑप्शंसऑरबिल्डर | getScopedAllocatorOptsOrBuilder () .tensorflow.ScopedAllocatorOptions scoped_allocator_opts = 16; |
int यहाँ | |
रीराइटरकॉन्फिग.टॉगल | getShapeअनुकूलन () Shape optimizations (default is ON) Simplify computations made on shapes. |
int यहाँ | 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. |
बूलियन | इसमेंइंटरऑप्टिमाइज़रवेरिफायरकॉन्फिग () है 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; |
int यहाँ | हैशकोड () |
अंतिम बूलियन | |
स्टेटिक रिवाइटरकॉन्फिग.बिल्डर | नयाबिल्डर () |
स्टेटिक रिवाइटरकॉन्फिग.बिल्डर | न्यूबिल्डर ( रीराइटरकॉन्फिग प्रोटोटाइप) |
रीराइटरकॉन्फिग.बिल्डर | |
स्टेटिक रिवाइटरकॉन्फिग | parseDelimitedFrom (इनपुटस्ट्रीम इनपुट) |
स्टेटिक रिवाइटरकॉन्फिग | parseDelimitedFrom (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्टेटिक रिवाइटरकॉन्फिग | पार्सफ्रॉम (बाइटबफ़र डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्टेटिक रिवाइटरकॉन्फिग | parseFrom (com.google.protobuf.CodedInputStream इनपुट) |
स्टेटिक रिवाइटरकॉन्फिग | पार्सफ्रॉम (बाइट[] डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्टेटिक रिवाइटरकॉन्फिग | पार्सफ्रॉम (बाइटबफ़र डेटा) |
स्टेटिक रिवाइटरकॉन्फिग | parseFrom (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्टेटिक रिवाइटरकॉन्फिग | parseFrom (com.google.protobuf.ByteString डेटा) |
स्टेटिक रिवाइटरकॉन्फिग | पार्सफ्रॉम (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्टेटिक रिवाइटरकॉन्फिग | parseFrom (com.google.protobuf.ByteString डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री) |
स्थिर | पार्सर () |
रीराइटरकॉन्फिग.बिल्डर | टूबिल्डर () |
खालीपन | राइटटू (com.google.protobuf.CodedOutputStream आउटपुट) |
विरासत में मिले तरीके
स्थिरांक
सार्वजनिक स्थैतिक अंतिम पूर्णांक ARITHMETIC_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 7
सार्वजनिक स्थैतिक अंतिम पूर्णांक AUTO_MIXED_PRECISION_FIELD_NUMBER
स्थिर मान: 23
सार्वजनिक स्थैतिक अंतिम पूर्णांक AUTO_MIXED_PRECISION_MKL_FIELD_NUMBER
स्थिर मान: 25
सार्वजनिक स्थैतिक अंतिम पूर्णांक AUTO_PARALLEL_FIELD_NUMBER
स्थिर मान: 5
सार्वजनिक स्थैतिक अंतिम पूर्णांक COMMON_SUBGRAPH_ELIMINATION_FIELD_NUMBER
स्थिर मान: 24
सार्वजनिक स्थैतिक अंतिम पूर्णांक CONSTANT_FOLDING_FIELD_NUMBER
स्थिर मान: 3
सार्वजनिक स्थैतिक अंतिम पूर्णांक CPU_LAYOUT_CONVERSION_FIELD_NUMBER
स्थिर मान: 50
सार्वजनिक स्थैतिक अंतिम पूर्णांक CUSTOM_OPTIMIZERS_FIELD_NUMBER
स्थिर मान: 200
सार्वजनिक स्थैतिक अंतिम पूर्णांक DEBUG_STRIPPER_FIELD_NUMBER
स्थिर मान: 11
सार्वजनिक स्थैतिक अंतिम पूर्णांक DEPENDENCY_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 8
सार्वजनिक स्थैतिक अंतिम पूर्णांक DISABLE_META_OPTIMIZER_FIELD_NUMBER
स्थिर मान: 19
सार्वजनिक स्थैतिक अंतिम पूर्णांक DISABLE_MODEL_PRUNING_FIELD_NUMBER
स्थिर मान: 2
सार्वजनिक स्थैतिक अंतिम पूर्णांक EXPERIMENTAL_DISABLE_COMPRESSED_TENSOR_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 26
सार्वजनिक स्थैतिक अंतिम पूर्णांक FAIL_ON_OPTIMIZER_ERRORS_FIELD_NUMBER
स्थिर मान: 21
सार्वजनिक स्थैतिक अंतिम पूर्णांक FUNCTION_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 10
सार्वजनिक स्थैतिक अंतिम पूर्णांक IMPLEMENTATION_SELECTOR_FIELD_NUMBER
स्थिर मान: 22
सार्वजनिक स्थैतिक अंतिम int INTER_OPTIMIZER_VERIFIER_CONFIG_FIELD_NUMBER
स्थिर मान: 300
सार्वजनिक स्थैतिक अंतिम int LAYOUT_OPTIMIZER_FIELD_NUMBER
स्थिर मान: 1
सार्वजनिक स्थैतिक अंतिम पूर्णांक LOOP_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 9
सार्वजनिक स्थैतिक अंतिम पूर्णांक MEMORY_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 4
सार्वजनिक स्थैतिक अंतिम पूर्णांक MEMORY_OPTIMIZER_TARGET_NODE_NAME_SCOPE_FIELD_NUMBER
स्थिर मान: 6
सार्वजनिक स्थैतिक अंतिम पूर्णांक META_OPTIMIZER_ITERATIONS_FIELD_NUMBER
स्थिर मान: 12
सार्वजनिक स्थैतिक अंतिम पूर्णांक META_OPTIMIZER_TIMEOUT_MS_FIELD_NUMBER
स्थिर मान: 20
सार्वजनिक स्थैतिक अंतिम पूर्णांक MIN_GRAPH_NODES_FIELD_NUMBER
स्थिर मान: 17
सार्वजनिक स्थैतिक अंतिम पूर्णांक OPTIMIZERS_FIELD_NUMBER
स्थिर मान: 100
सार्वजनिक स्थैतिक अंतिम पूर्णांक PIN_TO_HOST_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 18
सार्वजनिक स्थैतिक अंतिम पूर्णांक POST_OPTIMIZATION_VERIFIER_CONFIG_FIELD_NUMBER
स्थिर मान: 301
सार्वजनिक स्थैतिक अंतिम पूर्णांक REMAPPING_FIELD_NUMBER
स्थिर मान: 14
सार्वजनिक स्थैतिक अंतिम पूर्णांक SCOPED_ALLOCATOR_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 15
सार्वजनिक स्थैतिक अंतिम पूर्णांक SCOPED_ALLOCATOR_OPTS_FIELD_NUMBER
स्थिर मान: 16
सार्वजनिक स्थैतिक अंतिम पूर्णांक SHAPE_OPTIMIZATION_FIELD_NUMBER
स्थिर मान: 13
सार्वजनिक तरीके
सार्वजनिक बूलियन बराबर (ऑब्जेक्ट obj)
सार्वजनिक रिवाइटरकॉन्फ़िग.टॉगल getArithmeticOptimization ()
Arithmetic optimizations (default is ON) e.g. Simplify arithmetic ops; merge ops with same value (like constants).
.tensorflow.RewriterConfig.Toggle arithmetic_optimization = 7;
सार्वजनिक पूर्णांक 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 getAutoParallelOrBuilder ()
Configures AutoParallel optimization passes either through the meta-optimizer or when manually specified through the optimizers field.
.tensorflow.AutoParallelOptions auto_parallel = 5;
सार्वजनिक रिवाइटरकॉन्फ़िग.टॉगल getCommonSubgraphElination ()
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 getCommonSubgraphElinationValue ()
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;
सार्वजनिक रिवाइटरकॉन्फ़िग.टॉगल 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;
सार्वजनिक रिवाइटरकॉन्फिग.कस्टमग्राफऑप्टिमाइज़र गेटकस्टमऑप्टिमाइज़र (इंट इंडेक्स)
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;
सार्वजनिक सूची
list of CustomGraphOptimizers to apply.
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;
सार्वजनिक रिवाइटरकॉन्फिग.कस्टमग्राफऑप्टिमाइज़रऑरबिल्डर गेटकस्टमऑप्टिमाइज़रऑरबिल्डर (इंट इंडेक्स)
list of CustomGraphOptimizers to apply.
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;
सार्वजनिक सूची<? RewriterConfig.CustomGraph ऑप्टिमाइज़रऑरबिल्डर > getCustomऑप्टिमाइज़रऑरबिल्डरलिस्ट () का विस्तार करता है
list of CustomGraphOptimizers to apply.
repeated .tensorflow.RewriterConfig.CustomGraphOptimizer custom_optimizers = 200;
सार्वजनिक रिवाइटरकॉन्फ़िग.टॉगल 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.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 ()
सार्वजनिक बूलियन getDisableMetaऑप्टिमाइज़र ()
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;
सार्वजनिक बूलियन getFairOnOptimizerErrors ()
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;
सार्वजनिक रिवाइटरकॉन्फिग.टॉगल गेटफंक्शनऑप्टिमाइजेशन ()
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;
सार्वजनिक सत्यापनकर्ताकॉन्फिग 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;
सार्वजनिक रिवाइटरकॉन्फिग.टॉगल गेटलेआउटऑप्टिमाइज़र ()
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;
सार्वजनिक रिवाइटरकॉन्फ़िग.टॉगल getLoopऑप्टिमाइज़ेशन ()
Loop optimizations (default is ON).
.tensorflow.RewriterConfig.Toggle loop_optimization = 9;
सार्वजनिक int getLoopOptimizationValue ()
Loop optimizations (default is ON).
.tensorflow.RewriterConfig.Toggle loop_optimization = 9;
सार्वजनिक रिवाइटरकॉन्फ़िग.मेमऑप्टटाइप गेटमेमोरीऑप्टिमाइज़ेशन ()
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;
सार्वजनिक स्ट्रिंग गेटऑप्टिमाइज़र (इंट इंडेक्स)
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 ()
सार्वजनिक रिवाइटरकॉन्फ़िग.टॉगल getPinToHostऑप्टिमाइज़ेशन ()
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;
सार्वजनिक सत्यापनकर्ताकॉन्फिग 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;
सार्वजनिक रीराइटर कॉन्फिग. टॉगल गेट रीमैपिंग ()
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 ()
सार्वजनिक बूलियन में ऑटोपैरेलल () है
Configures AutoParallel optimization passes either through the meta-optimizer or when manually specified through the optimizers field.
.tensorflow.AutoParallelOptions auto_parallel = 5;
सार्वजनिक बूलियन में इंटरऑप्टिमाइज़रवेरिफ़ायर कॉन्फ़िग () है
VerifierConfig specifying the verifiers to be run after every optimizer.
.tensorflow.VerifierConfig inter_optimizer_verifier_config = 300;
सार्वजनिक बूलियन में पोस्टऑप्टिमाइज़ेशनवेरिफ़ायरकॉन्फिग () है
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;
सार्वजनिक पूर्णांक हैशकोड ()
सार्वजनिक अंतिम बूलियन आरंभीकृत है ()
सार्वजनिक स्थैतिक रिवाइटरकॉन्फिग पार्सडिलीमिटेडफ्रॉम (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
आईओएक्सेप्शन |
---|
सार्वजनिक स्थैतिक रिवाइटर कॉन्फिग पार्सफ्रॉम (बाइटबफ़र डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक रिवाइटर कॉन्फिग पार्सफ्रॉम (com.google.protobuf.CodedInputStream इनपुट)
फेंकता
आईओएक्सेप्शन |
---|
सार्वजनिक स्थैतिक रिवाइटर कॉन्फिग पार्सफ्रॉम (बाइट[] डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक रिवाइटर कॉन्फिग पार्सफ्रॉम (com.google.protobuf.CodedInputStream इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
आईओएक्सेप्शन |
---|
सार्वजनिक स्थैतिक रिवाइटरकॉन्फिग पार्सफ्रॉम (com.google.protobuf.ByteString डेटा)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक रिवाइटर कॉन्फिग पार्सफ्रॉम (इनपुटस्ट्रीम इनपुट, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
आईओएक्सेप्शन |
---|
सार्वजनिक स्थैतिक रिवाइटर कॉन्फिग पार्सफ्रॉम (com.google.protobuf.ByteString डेटा, com.google.protobuf.ExtensionRegistryLite एक्सटेंशनरजिस्ट्री)
फेंकता
अमान्यप्रोटोकॉलबफ़रएक्सेप्शन |
---|
सार्वजनिक स्थैतिक पार्सर ()
सार्वजनिक शून्य राइटटू (com.google.protobuf.CodedOutputStream आउटपुट)
फेंकता
आईओएक्सेप्शन |
---|