Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for addTasks (0.15 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy

                }
    
                class Rules extends RuleSource {
                    @Model
                    String message() {
                        "foo"
                    }
    
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.create("echo", MessageTask)
                        tasks.named("echo", EchoRules)
                    }
                }
    
                apply type: Rules
            '''
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.create("executed") {
                            dependsOn ":b:dependency"
                        }
                    }
                }
    
                class ProjectBRules extends RuleSource {
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.create("dependency")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/MutationRuleApplicationOrderIntegrationTest.groovy

                        @Mutate
                        void a(MutationRecorder recorder) {
                            recorder.mutations << "a"
                        }
    
                        @Mutate
                        void addTasks(ModelMap<Task> tasks, MutationRecorder recorderInput) {
                            tasks.create("echo", EchoTask) {
                                recorder = recorderInput
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/mlprogram.cc

          /*prefer_tf2xla=*/false));
    
      pm.addPass(mlir::TF::CreateStripTfAttributesPass());
    
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::createInlinerPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::createCanonicalizerPass());
    
      pm.addPass(mlir::TF::CreateOrderByDialectPass());
    
      pm.addPass(mlir::mhlo::createHloLegalizeToStablehloPass());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:39:15 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

      pm.addPass(createQuantizeCompositeFunctionsPass(options));
    
      // Add an inliner pass to inline quantized StableHLO functions.
      pm.addPass(createInlinerPass());
      if (pipeline_config.unpack_quantized_types()) {
        AddStablehloQuantToIntPasses(pm);
      }
    }
    
    void AddXlaCallModuleOpDeserializationPasses(OpPassManager& pm) {
      pm.addPass(TF::CreateXlaCallModuleDeserializationPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

          tf_executor::CreateTFExecutorIslandCoarseningPass());
      pm.addPass(TF::CreateTFFunctionalControlFlowToRegions());
      pm.addPass(mlir::createInlinerPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::TF::CreateTFShapeInferencePass());
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::TF::CreateTensorListOpsDecompositionPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

                               llvm::ArrayRef<std::string> device_specs) {
      pass_manager->addPass(mlir::TFL::tac::CreateTargetAnnotationPass(this));
      pass_manager->addPass(mlir::TFL::tac::CreateRaiseTargetSubgraphsPass());
      pass_manager->addPass(mlir::TFL::tac::CreateFoldConstantsToSubgraphPass(
          /*fold_all_constants=*/false));
      pass_manager->addPass(
          mlir::TFL::tac::CreateAlternativeSubgraphPass(device_specs));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/unfreeze_constants.cc

          /*add_passes_func=*/
          [](mlir::PassManager &pm) {
            pm.addPass(mlir::quant::CreateInsertRestoreOpPass());
            pm.addPass(mlir::quant::CreateInsertSaveOpPass());
            // Initialization by `tf.ConstOp` is no longer required as there is
            // a `tf.RestoreV2Op` now.
            pm.addPass(
                mlir::quant::CreateRemoveVariableInitializationByConstPass());
          },
          ctx, module_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 11:07:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/TaskReportRendererTest.groovy

            when:
            renderer.showDetail(true)
            renderer.addDefaultTasks(testDefaultTasks)
            renderer.startTaskGroup('group')
            renderer.addTask(task1)
            renderer.addTask(task2)
            renderer.addTask(task3)
            renderer.completeTasks()
            renderer.addRule(rule1)
            renderer.addRule(rule2)
    
            then:
            writer.value == '''Default tasks: task1, task2
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 12:50:23 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

    namespace {
    
    void AddTfDialectToExecutorPasses(OpPassManager &pm) {
      auto add_pass = [&](std::unique_ptr<Pass> pass) {
        pm.addNestedPass<FuncOp>(std::move(pass));
        pm.addPass(mlir::CreateBreakUpIslandsPass());
      };
    
      pm.addPass(mlir::tf_executor::CreateTFExecutorTPUV1IslandInliningPass());
      // There are cases where we don't consume all compilation and
      // replication attributes like we do for the V2 pipeline, so we need to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top