HomeSort by relevance Sort by last modified time
    Searched refs:optimizer (Results 1 - 25 of 335) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/tensorflow/tensorflow/core/grappler/optimizers/
arithmetic_optimizer_test_utils.h 32 void OptimizeAndPrune(ArithmeticOptimizer* optimizer, GrapplerItem* item,
34 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output));
41 void OptimizeTwice(ArithmeticOptimizer* optimizer, GrapplerItem* item,
43 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output));
46 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output));
51 void OptimizeTwiceAndPrune(ArithmeticOptimizer* optimizer, GrapplerItem* item,
53 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output));
57 TF_EXPECT_OK(optimizer->Optimize(nullptr, *item, output));
73 void DisableAllStages(ArithmeticOptimizer* optimizer) {
99 optimizer->options_ = options
    [all...]
  /external/deqp-deps/glslang/SPIRV/
SpvTools.cpp 46 #include "spirv-tools/optimizer.hpp"
115 // Apply the SPIRV-Tools optimizer to generated SPIR-V, for the purpose of
122 spvtools::Optimizer optimizer(target_env);
123 optimizer.SetMessageConsumer(
160 optimizer.RegisterPass(spvtools::CreatePropagateLineInfoPass());
162 optimizer.RegisterPass(spvtools::CreateDeadBranchElimPass());
163 optimizer.RegisterPass(spvtools::CreateMergeReturnPass());
164 optimizer.RegisterPass(spvtools::CreateInlineExhaustivePass());
165 optimizer.RegisterPass(spvtools::CreateEliminateDeadFunctionsPass())
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkPrograms.cpp 25 #include "spirv-tools/optimizer.hpp"
120 spvtools::Optimizer optimizer(targetEnv);
127 optimizer.RegisterPass(spvtools::CreateInlineExhaustivePass()); // --inline-entry-points-exhaustive
128 optimizer.RegisterPass(spvtools::CreateLocalAccessChainConvertPass()); // --convert-local-access-chains
129 optimizer.RegisterPass(spvtools::CreateLocalSingleBlockLoadStoreElimPass());// --eliminate-local-single-block
130 optimizer.RegisterPass(spvtools::CreateLocalSingleStoreElimPass()); // --eliminate-local-single-store
131 optimizer.RegisterPass(spvtools::CreateInsertExtractElimPass()); // --eliminate-insert-extract
132 optimizer.RegisterPass(spvtools::CreateAggressiveDCEPass()); // --eliminate-dead-code-aggressive
133 optimizer.RegisterPass(spvtools::CreateDeadBranchElimPass()); // --eliminate-dead-branche
    [all...]
  /external/deqp-deps/SPIRV-Tools/android_test/
test.cpp 17 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_2);
  /external/deqp-deps/SPIRV-Tools/test/fuzzers/
spvtools_opt_legalization_fuzzer.cpp 18 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_3);
22 optimizer.SetMessageConsumer([](spv_message_level_t, const char*,
34 optimizer.RegisterLegalizationPasses();
35 optimizer.Run(input.data(), input.size(), &input);
spvtools_opt_performance_fuzzer.cpp 18 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_3);
22 optimizer.SetMessageConsumer([](spv_message_level_t, const char*,
34 optimizer.RegisterPerformancePasses();
35 optimizer.Run(input.data(), input.size(), &input);
spvtools_opt_size_fuzzer.cpp 18 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_3);
22 optimizer.SetMessageConsumer([](spv_message_level_t, const char*,
34 optimizer.RegisterSizePasses();
35 optimizer.Run(input.data(), input.size(), &input);
  /external/swiftshader/third_party/SPIRV-Tools/android_test/
test.cpp 17 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_2);
  /external/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
spvtools_opt_legalization_fuzzer.cpp 18 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_3);
22 optimizer.SetMessageConsumer([](spv_message_level_t, const char*,
34 optimizer.RegisterLegalizationPasses();
35 optimizer.Run(input.data(), input.size(), &input);
spvtools_opt_performance_fuzzer.cpp 18 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_3);
22 optimizer.SetMessageConsumer([](spv_message_level_t, const char*,
34 optimizer.RegisterPerformancePasses();
35 optimizer.Run(input.data(), input.size(), &input);
spvtools_opt_size_fuzzer.cpp 18 #include "spirv-tools/optimizer.hpp"
21 spvtools::Optimizer optimizer(SPV_ENV_UNIVERSAL_1_3);
22 optimizer.SetMessageConsumer([](spv_message_level_t, const char*,
34 optimizer.RegisterSizePasses();
35 optimizer.Run(input.data(), input.size(), &input);
  /external/tensorflow/tensorflow/contrib/gan/python/features/python/
clip_weights_impl.py 35 def clip_discriminator_weights(optimizer, model, weight_clip):
36 """Modifies an optimizer so it clips weights to a certain value.
39 optimizer: An optimizer to perform variable weight clipping.
46 An optimizer to perform weight clipping after updates.
51 return clip_variables(optimizer, model.discriminator_variables, weight_clip)
54 def clip_variables(optimizer, variables, weight_clip):
55 """Modifies an optimizer so it clips weights to a certain value.
58 optimizer: An optimizer to perform variable weight clipping
    [all...]
  /external/tensorflow/tensorflow/core/grappler/optimizers/data/
meta_optimizer.cc 70 const auto* optimizer = gtl::FindOrNull(enabled_optimizers_, name); local
71 if (!optimizer) {
76 (*optimizer)->set_deadline_usec(this->deadline_usec());
77 TF_RETURN_IF_ERROR((*optimizer)->Optimize(cluster, *item, &result));
90 auto optimizer = local
92 if (optimizer) {
95 TF_RETURN_IF_ERROR(optimizer->Init());
96 enabled_optimizers_[optimizer_name] = std::move(optimizer);
100 "Tried to register a dataset optimizer that doesn't exist: ",
make_sloppy_test.cc 56 MakeSloppy optimizer; local
58 TF_ASSERT_OK(optimizer.Optimize(nullptr, item, &output));
81 MakeSloppy optimizer; local
83 TF_ASSERT_OK(optimizer.Optimize(nullptr, item, &output));
104 MakeSloppy optimizer; local
106 TF_ASSERT_OK(optimizer.Optimize(nullptr, item, &output));
filter_fusion_test.cc 48 FilterFusion optimizer; local
50 TF_ASSERT_OK(optimizer.Optimize(nullptr, item, &output));
73 FilterFusion optimizer; local
75 TF_ASSERT_OK(optimizer.Optimize(nullptr, item, &output));
map_fusion_test.cc 48 MapFusion optimizer; local
50 TF_ASSERT_OK(optimizer.Optimize(nullptr, item, &output));
73 MapFusion optimizer; local
75 TF_ASSERT_OK(optimizer.Optimize(nullptr, item, &output));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
MultiStartDifferentiableMultivariateRealOptimizer.java 31 * multi-start features to an existing optimizer.
33 * This class wraps a classical optimizer to use it several times in
43 /** Underlying classical optimizer. */
44 private final DifferentiableMultivariateRealOptimizer optimizer; field in class:MultiStartDifferentiableMultivariateRealOptimizer
71 * Create a multi-start optimizer from a single-start optimizer
72 * @param optimizer single-start optimizer to wrap
78 public MultiStartDifferentiableMultivariateRealOptimizer(final DifferentiableMultivariateRealOptimizer optimizer,
81 this.optimizer = optimizer
    [all...]
MultiStartMultivariateRealOptimizer.java 31 * multi-start features to an existing optimizer.
33 * This class wraps a classical optimizer to use it several times in
43 /** Underlying classical optimizer. */
44 private final MultivariateRealOptimizer optimizer; field in class:MultiStartMultivariateRealOptimizer
68 * Create a multi-start optimizer from a single-start optimizer
69 * @param optimizer single-start optimizer to wrap
75 public MultiStartMultivariateRealOptimizer(final MultivariateRealOptimizer optimizer,
78 this.optimizer = optimizer
    [all...]
MultiStartDifferentiableMultivariateVectorialOptimizer.java 31 * multi-start features to an existing optimizer.
33 * This class wraps a classical optimizer to use it several times in
46 /** Underlying classical optimizer. */
47 private final DifferentiableMultivariateVectorialOptimizer optimizer; field in class:MultiStartDifferentiableMultivariateVectorialOptimizer
74 * Create a multi-start optimizer from a single-start optimizer
75 * @param optimizer single-start optimizer to wrap
82 final DifferentiableMultivariateVectorialOptimizer optimizer,
85 this.optimizer = optimizer
    [all...]
MultiStartUnivariateRealOptimizer.java 30 * multi-start features to an existing optimizer.
32 * This class wraps a classical optimizer to use it several times in
44 /** Underlying classical optimizer. */
45 private final UnivariateRealOptimizer optimizer; field in class:MultiStartUnivariateRealOptimizer
72 * Create a multi-start optimizer from a single-start optimizer
73 * @param optimizer single-start optimizer to wrap
79 public MultiStartUnivariateRealOptimizer(final UnivariateRealOptimizer optimizer,
82 this.optimizer = optimizer
    [all...]
  /art/runtime/
dex_to_dex_decompiler.h 30 namespace optimizer { namespace in namespace:art
43 } // namespace optimizer
  /external/swiftshader/third_party/SPIRV-Tools/tools/opt/
opt.cpp 29 #include "spirv-tools/optimizer.hpp"
54 std::string GetListOfPassesAsString(const spvtools::Optimizer& optimizer) {
56 for (const auto& name : optimizer.GetPassNames()) {
65 spvtools::Optimizer optimizer(kDefaultEnvironment);
66 optimizer.RegisterLegalizationPasses();
67 return GetListOfPassesAsString(optimizer);
71 spvtools::Optimizer optimizer(kDefaultEnvironment)
    [all...]
  /external/tensorflow/tensorflow/python/keras/
optimizers_test.py 45 def _test_optimizer(self, optimizer, target=0.75):
52 loss='categorical_crossentropy', optimizer=optimizer, metrics=['acc'])
54 keras.backend.get_value(model.optimizer.iterations), 0)
57 keras.backend.get_value(model.optimizer.iterations),
60 config = keras.optimizers.serialize(optimizer)
87 optimizer=optimizer,
90 keras.backend.get_value(model.optimizer.iterations),
91 126) # Using same optimizer from befor
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
OptimizingTemplateFactory.java 44 for (OptimizerProvider optimizer : optimizers) {
45 if (optimizer != null) {
46 this.optimizers.add(optimizer);
52 for (OptimizerProvider optimizer : optimizers) {
53 ast.apply(optimizer.getOptimizer());
  /external/deqp-deps/SPIRV-Tools/tools/opt/
opt.cpp 29 #include "spirv-tools/optimizer.hpp"
54 std::string GetListOfPassesAsString(const spvtools::Optimizer& optimizer) {
56 for (const auto& name : optimizer.GetPassNames()) {
65 spvtools::Optimizer optimizer(kDefaultEnvironment);
66 optimizer.RegisterLegalizationPasses();
67 return GetListOfPassesAsString(optimizer);
71 spvtools::Optimizer optimizer(kDefaultEnvironment)
    [all...]

Completed in 1791 milliseconds

1 2 3 4 5 6 7 8 91011>>