Home
last modified time | relevance | path

Searched full:optimize (Results 1 – 25 of 5140) sorted by relevance

12345678910>>...206

/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
DBUILD124 …"--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_…
127 "//tensorflow/lite/tools/optimize:testdata/add_with_const_input.bin",
128 "//tensorflow/lite/tools/optimize:testdata/argmax.bin",
129 "//tensorflow/lite/tools/optimize:testdata/broadcast_to.bin",
130 "//tensorflow/lite/tools/optimize:testdata/concat.bin",
131 "//tensorflow/lite/tools/optimize:testdata/fc.bin",
132 "//tensorflow/lite/tools/optimize:testdata/fc_qat.bin",
133 "//tensorflow/lite/tools/optimize:testdata/gather_nd.bin",
134 "//tensorflow/lite/tools/optimize:testdata/lstm_calibrated.bin",
135 "//tensorflow/lite/tools/optimize:testdata/lstm_calibrated2.bin",
[all …]
/external/pytorch/test/torch_np/numpy_tests/core/
Dtest_einsum.py29 # Setup for optimize einsum
41 (TypeError, IndexError, ValueError), np.einsum, optimize=do_opt
43 assert_raises((IndexError, ValueError), np.einsum, "", optimize=do_opt)
46 assert_raises((AttributeError, TypeError), np.einsum, 0, 0, optimize=do_opt)
49 assert_raises(TypeError, np.einsum, "", 0, out="test", optimize=do_opt)
58 optimize=do_opt,
62 assert_raises(ValueError, np.einsum, "", 0, casting="blah", optimize=do_opt)
66 TypeError, np.einsum, "", 0, dtype="bad_data_type", optimize=do_opt
70 assert_raises(TypeError, np.einsum, "", 0, bad_arg=0, optimize=do_opt)
74 (RuntimeError, TypeError), np.einsum, *(None,) * 63, optimize=do_opt
[all …]
/external/tensorflow/tensorflow/lite/tools/optimize/
DBUILD166 "//tensorflow/lite/tools/optimize:quantize_model",
243 …"--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_…
305 …"--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_…
308 "//tensorflow/lite/tools/optimize:testdata/custom_op.bin",
309 "//tensorflow/lite/tools/optimize:testdata/quantized_with_gather.bin",
310 "//tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_max_plus_10.bin",
311 "//tensorflow/lite/tools/optimize:testdata/weight_shared_between_convs.bin",
366 …"--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_…
369 "//tensorflow/lite/tools/optimize:testdata/add_with_const_input.bin",
370 "//tensorflow/lite/tools/optimize:testdata/argmax.bin",
[all …]
/external/clang/test/Parser/
Dpragma-optimize-diagnostics.cpp3 #pragma clang optimize off
5 #pragma clang optimize on
8 #pragma clang optimize on top of spaghetti // expected-error {{unexpected extra argument 'top' to …
11 #pragma clang optimize something_wrong // expected-error {{unexpected argument 'something_wrong' t…
14 #pragma clang optimize // expected-error {{missing argument to '#pragma clang optimize'; expected '…
19 #pragma clang optimize OFF
20 #pragma clang optimize ON
25 #define OPT_OFF _Pragma("clang optimize off")
26 #define OPT_ON _Pragma("clang optimize on")
/external/armnn/src/backends/backendsCommon/memoryOptimizerStrategyLibrary/test/
DValidatorStrategyTests.cpp34 std::vector<MemBin> Optimize(std::vector<MemBlock>& memBlocks) override in Optimize() function in TestMemoryOptimizerStrategy
75 // Optimize the memory blocks with TestMemoryOptimizerStrategySingle
81 CHECK_NOTHROW(validator.Optimize(memBlocks));
83 // Optimize the memory blocks with TestMemoryOptimizerStrategyMulti
89 CHECK_NOTHROW(validatorMulti.Optimize(memBlocks));
109 // Optimize the memory blocks with TestMemoryOptimizerStrategySingle
115 CHECK_THROWS(validator.Optimize(memBlocks));
117 // Optimize the memory blocks with TestMemoryOptimizerStrategyMulti
123 CHECK_THROWS(validatorMulti.Optimize(memBlocks));
143 // Optimize the memory blocks with TestMemoryOptimizerStrategySingle
[all …]
/external/chromium-crossbench/crossbench/probes/perfetto/trace_processor/queries/loadline/experimental/
Dv8_rcs.sql38 WHEN name LIKE '%Optimize%Background%' THEN 'optimize_background'
39 WHEN name LIKE '%Optimize%Concurrent%' THEN 'optimize_background'
40 WHEN name LIKE 'StackGuard%' THEN 'optimize'
41 WHEN name LIKE 'Optimize%' THEN 'optimize'
42 WHEN name LIKE 'Deoptimize%' THEN 'optimize'
43 WHEN name LIKE 'Recompile%' THEN 'optimize'
44 WHEN name LIKE '%TierUp%' THEN 'optimize'
45 WHEN name LIKE '%BudgetInterrupt%' THEN 'optimize'
46 WHEN name LIKE 'Compile%Optimized%' THEN 'optimize'
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DMultiStartUnivariateRealOptimizer.java167 * #optimize(UnivariateRealFunction, GoalType, double, double) optimize}.
169 * restarts. The {@link #optimize(UnivariateRealFunction, GoalType,
170 * double, double) optimize} method returns the best point only. This
173 * #optimize(UnivariateRealFunction, GoalType, double, double) optimize}
183 * elements will be NaN if the {@link #optimize(UnivariateRealFunction,
184 * GoalType, double, double) optimize} method did throw a {@link
189 * @exception IllegalStateException if {@link #optimize(UnivariateRealFunction,
190 * GoalType, double, double) optimize} has not been called
201 * #optimize(UnivariateRealFunction, GoalType, double, double) optimize}.
209 * elements will be NaN if the {@link #optimize(UnivariateRealFunction,
[all …]
DMultiStartMultivariateRealOptimizer.java89 * #optimize(MultivariateRealFunction, GoalType, double[]) optimize}.
91 * restarts. The {@link #optimize(MultivariateRealFunction, GoalType,
92 * double[]) optimize} method returns the best point only. This
95 * #optimize(MultivariateRealFunction, GoalType, double[]) optimize}
105 * elements will be null if the {@link #optimize(MultivariateRealFunction,
106 * GoalType, double[]) optimize} method did throw a {@link
111 * @exception IllegalStateException if {@link #optimize(MultivariateRealFunction,
112 * GoalType, double[]) optimize} has not been called
162 public RealPointValuePair optimize(final MultivariateRealFunction f, in optimize() method in MultiStartMultivariateRealOptimizer
177 optima[i] = optimizer.optimize(f, goalType, in optimize()
DMultiStartDifferentiableMultivariateRealOptimizer.java93 * #optimize(DifferentiableMultivariateRealFunction, GoalType, double[])
94 * optimize}.
96 * restarts. The {@link #optimize(DifferentiableMultivariateRealFunction,
97 * GoalType, double[]) optimize} method returns the best point only. This
100 * #optimize(DifferentiableMultivariateRealFunction, GoalType, double[])
101 * optimize} method.
110 * elements will be null if the {@link #optimize(DifferentiableMultivariateRealFunction,
111 * GoalType, double[]) optimize} method did throw a {@link
116 * @exception IllegalStateException if {@link #optimize(DifferentiableMultivariateRealFunction,
117 * GoalType, double[]) optimize} has not been called
[all …]
DMultiStartDifferentiableMultivariateVectorialOptimizer.java97 * #optimize(DifferentiableMultivariateVectorialFunction,
98 * double[], double[], double[]) optimize}.
100 * restarts. The {@link #optimize(DifferentiableMultivariateVectorialFunction,
101 * double[], double[], double[]) optimize} method returns the
104 * #optimize(DifferentiableMultivariateVectorialFunction, double[],
105 * double[], double[]) optimize} method.
114 * elements will be null if the {@link #optimize(DifferentiableMultivariateVectorialFunction,
115 * double[], double[], double[]) optimize} method did throw a {@link
120 …* @exception IllegalStateException if {@link #optimize(DifferentiableMultivariateVectorialFunction,
121 * double[], double[], double[]) optimize} has not been called
[all …]
/external/e2fsprogs/tests/d_punch/
Dexpect130 Inode 15 extent tree (at level 1) could be shorter. Optimize? yes
132 Inode 16 extent tree (at level 1) could be shorter. Optimize? yes
134 Inode 17 extent tree (at level 1) could be shorter. Optimize? yes
136 Inode 18 extent tree (at level 1) could be shorter. Optimize? yes
138 Inode 19 extent tree (at level 1) could be shorter. Optimize? yes
140 Inode 20 extent tree (at level 1) could be shorter. Optimize? yes
142 Inode 21 extent tree (at level 1) could be shorter. Optimize? yes
144 Inode 22 extent tree (at level 1) could be shorter. Optimize? yes
146 Inode 23 extent tree (at level 1) could be shorter. Optimize? yes
148 Inode 24 extent tree (at level 1) could be shorter. Optimize? yes
[all …]
/external/e2fsprogs/tests/d_punch_bigalloc/
Dexpect125 Inode 14 extent tree (at level 1) could be shorter. Optimize? yes
127 Inode 15 extent tree (at level 1) could be shorter. Optimize? yes
129 Inode 16 extent tree (at level 1) could be shorter. Optimize? yes
131 Inode 17 extent tree (at level 1) could be shorter. Optimize? yes
133 Inode 18 extent tree (at level 1) could be shorter. Optimize? yes
135 Inode 19 extent tree (at level 1) could be shorter. Optimize? yes
137 Inode 20 extent tree (at level 1) could be shorter. Optimize? yes
139 Inode 22 extent tree (at level 1) could be shorter. Optimize? yes
141 Inode 23 extent tree (at level 1) could be shorter. Optimize? yes
143 Inode 24 extent tree (at level 1) could be shorter. Optimize? yes
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math3/optimization/univariate/
DUnivariateMultiStartOptimizer.java66 * the {@code optimize} methods will return the same solution as
108 * #optimize(int,UnivariateFunction,GoalType,double,double) optimize}.
110 * restarts. The {@link #optimize(int,UnivariateFunction,GoalType,double,double) optimize}
113 * returned by the {@link #optimize(int,UnivariateFunction,GoalType,double,double) optimize}
123 * #optimize(int,UnivariateFunction,GoalType,double,double) optimize}
130 * #optimize(int,UnivariateFunction,GoalType,double,double) optimize}
141 public UnivariatePointValuePair optimize(int maxEval, final FUNC f, in optimize() method in UnivariateMultiStartOptimizer
144 return optimize(maxEval, f, goal, min, max, min + 0.5 * (max - min)); in optimize()
148 public UnivariatePointValuePair optimize(int maxEval, final FUNC f, in optimize() method in UnivariateMultiStartOptimizer
161 optima[i] = optimizer.optimize(maxEval - totalEvaluations, f, goal, min, max, s); in optimize()
/external/fonttools/Lib/fontTools/varLib/
Dbuilder.py40 def VarData_calculateNumShorts(self, optimize=False): argument
66 if optimize:
96 def VarData_CalculateNumShorts(self, optimize=True): argument
98 defaults to optimize=True. Use varData.calculateNumShorts()
99 or varData.optimize()."""
100 return VarData_calculateNumShorts(self, optimize=optimize)
104 return VarData_calculateNumShorts(self, optimize=True)
107 ot.VarData.optimize = VarData_optimize
110 def buildVarData(varRegionIndices, items, optimize=True): argument
120 self.calculateNumShorts(optimize=optimize)
/external/apache-commons-math/src/main/java/org/apache/commons/math3/optimization/
DBaseMultivariateMultiStartOptimizer.java67 * #optimize(int,MultivariateFunction,GoalType,double[]) optimize} will return the same
91 * #optimize(int,MultivariateFunction,GoalType,double[]) optimize}. The optimizer stores all the
93 * #optimize(int,MultivariateFunction,GoalType,double[]) optimize} method returns the best point
95 * one already returned by the {@link #optimize(int,MultivariateFunction,GoalType,double[])
96 * optimize} method. <br>
101 * elements will be null if the {@link #optimize(int,MultivariateFunction,GoalType,double[])
102 * optimize} method did throw an exception. This also means that if the first element is not
107 * #optimize(int,MultivariateFunction,GoalType,double[]) optimize} has not been called.
132 public PointValuePair optimize( in optimize() method in BaseMultivariateMultiStartOptimizer
144 optimizer.optimize( in optimize()
DBaseMultivariateVectorMultiStartOptimizer.java68 * #optimize(int,MultivariateVectorFunction,double[],double[],double[]) optimize} will
92 * #optimize(int,MultivariateVectorFunction,double[],double[],double[]) optimize}. The optimizer
94 * #optimize(int,MultivariateVectorFunction,double[],double[],double[]) optimize} method returns
97 * #optimize(int,MultivariateVectorFunction,double[],double[],double[]) optimize} method. <br>
103 * #optimize(int,MultivariateVectorFunction,double[],double[],double[]) optimize} method did
109 * #optimize(int,MultivariateVectorFunction,double[],double[],double[]) optimize} has not
135 public PointVectorValuePair optimize( in optimize() method in BaseMultivariateVectorMultiStartOptimizer
148 optimizer.optimize( in optimize()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.-optimize.pbtxt1 path: "tensorflow.lite.Optimize"
3 is_instance: "<enum \'Optimize\'>"
6 mtype: "<enum \'Optimize\'>"
10 mtype: "<enum \'Optimize\'>"
14 mtype: "<enum \'Optimize\'>"
18 mtype: "<enum \'Optimize\'>"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.lite.-optimize.pbtxt1 path: "tensorflow.lite.Optimize"
3 is_instance: "<enum \'Optimize\'>"
6 mtype: "<enum \'Optimize\'>"
10 mtype: "<enum \'Optimize\'>"
14 mtype: "<enum \'Optimize\'>"
18 mtype: "<enum \'Optimize\'>"
/external/python/cpython3/Lib/
Dcompileall.py49 rx=None, quiet=0, legacy=False, optimize=-1, workers=1, argument
64 optimize: int or list of optimization levels or -1 for level of
113 optimize=optimize,
125 legacy, optimize, invalidation_mode,
133 legacy=False, optimize=-1, argument
147 optimize: int or list of optimization levels or -1 for level of
190 if isinstance(optimize, int):
191 optimize = [optimize]
195 optimize = sorted(set(optimize))
197 if hardlink_dupes and len(optimize) < 2:
[all …]
/external/pytorch/test/dynamo/
Dtest_global.py57 opt_fn = torch._dynamo.optimize(cnts)(fn)
72 opt_fn = torch._dynamo.optimize(cnts)(fn)
75 opt_fn = torch._dynamo.optimize(cnts)(fn)
88 opt_fn = torch._dynamo.optimize(cnts)(fn)
105 opt_fn = torch._dynamo.optimize(cnts)(fn)
119 opt_fn = torch._dynamo.optimize(cnts)(fn)
137 opt_fn = torch._dynamo.optimize(cnts)(fn)
151 opt_fn = torch._dynamo.optimize(cnts)(fn)
165 opt_fn = torch._dynamo.optimize(cnts)(fn)
178 opt_fn = torch._dynamo.optimize(cnts)(fn)
[all …]
Dtest_misc.py322 opt_fn = torch._dynamo.optimize(counter)(fn)
333 opt_fn = torch._dynamo.optimize(counter)(fn)
443 optimized_f = torch._dynamo.optimize(counts, nopython=True)(f)
446 optimized_g = torch._dynamo.optimize(counts, nopython=True)(f)
476 optimized_f = torch._dynamo.optimize(counts, nopython=True)(f)
482 optimized_g = torch._dynamo.optimize(counts, nopython=True)(f)
524 optimized_f = torch._dynamo.optimize(counts, nopython=True)(f)
525 optimized_g = torch._dynamo.optimize(counts, nopython=True)(g)
526 optimized_h = torch._dynamo.optimize(counts, nopython=True)(h)
1025 optimized_mod = torch._dynamo.optimize(counts, nopython=True)(mod)
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer_test_utils.h31 // Optimize a graph using optimizer and prune all the nodes that no
35 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output)); in OptimizeAndPrune()
38 TF_EXPECT_OK(ModelPruner().Optimize(nullptr, *item, output)); in OptimizeAndPrune()
44 TF_EXPECT_OK(CommonSubgraphElimination().Optimize(nullptr, *item, output)); in DedupAndOptimizeTwiceAndPrune()
47 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output)); in DedupAndOptimizeTwiceAndPrune()
50 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output)); in DedupAndOptimizeTwiceAndPrune()
53 TF_EXPECT_OK(ModelPruner().Optimize(nullptr, *item, output)); in DedupAndOptimizeTwiceAndPrune()
59 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output)); in OptimizeTwice()
62 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output)); in OptimizeTwice()
69 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output));
[all …]
/external/icing/proto/icing/proto/
Doptimize.proto25 // Result of a call to IcingSearchEngine.Optimize
67 // The amount of time since the last optimize ran.
76 // Time used to optimize the document store.
91 // Size of storage before the optimize.
94 // Size of storage after the optimize.
97 // The amount of time since the last optimize ran.
100 // The amount of time since the last successful optimize run.
109 // Index::Optimize failed, or rebuilding could be faster.
/external/tensorflow/tensorflow/compiler/mlir/tfjs/transforms/
Doptimize.cc37 // The actual Optimize Pass.
40 // Optimize TFJS operations in functions.
41 struct Optimize : public tfjs::OptimizePassBase<Optimize> { struct
50 void Optimize::runOnOperation() { in runOnOperation()
59 // Creates an instance of the TensorFlow.js dialect Optimize pass.
61 return std::make_unique<Optimize>(); in CreateOptimizePass()
/external/libcxx/test/std/re/re.const/re.synopt/
Dsyntax_option_type.pass.cpp20 // optimize = unspecified,
40 assert(std::regex_constants::optimize != 0); in main()
50 assert((std::regex_constants::icase & std::regex_constants::optimize) == 0); in main()
59 assert((std::regex_constants::nosubs & std::regex_constants::optimize) == 0); in main()
68 assert((std::regex_constants::optimize & std::regex_constants::collate) == 0); in main()
69 assert((std::regex_constants::optimize & std::regex_constants::ECMAScript) == 0); in main()
70 assert((std::regex_constants::optimize & std::regex_constants::basic) == 0); in main()
71 assert((std::regex_constants::optimize & std::regex_constants::extended) == 0); in main()
72 assert((std::regex_constants::optimize & std::regex_constants::awk) == 0); in main()
73 assert((std::regex_constants::optimize & std::regex_constants::grep) == 0); in main()
[all …]

12345678910>>...206