Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for addTasks (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc

      pm.addPass(createPrepareQuantizePass(options));
    
      QuantizePassOptions quantize_options;
      quantize_options.enable_per_channel_quantized_weight_ =
          enable_per_channel_quantized_weight_;
    
      // QuantizePass modifies FuncOps referenced outside of its given scope
      // and therefore requires a module-level context.
      pm.addPass(createQuantizePass(quantize_options));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/debug/debug_test.cc

    TEST_F(InitPassManagerTest, CrashReproducer) {
      converter::DebugOptions debug_options;
      *debug_options.mutable_ir_dump_dir() = path_;
    
      mlir::PassManager pm(&context_);
      InitPassManager(pm, debug_options);
      pm.addPass(std::make_unique<AlwaysFailPass>());
      ASSERT_TRUE(mlir::failed(pm.run(*module_)));
    
      std::string dump_dir;
      TF_ASSERT_OK(GetDumpDir(&dump_dir));
    
      std::string mlir_dump;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeWithUnmanagedPropertiesIntegrationTest.groovy

                    @Model
                    void m(ManagedThing thing) {
                        thing.unmanaged = new UnmanagedThing(value: "foo")
                    }
    
                    @Mutate
                    void addTask(ModelMap<Task> tasks, ManagedThing thing) {
                        tasks.create("echo") {
                            it.doLast {
                                println "value: $thing.unmanaged.value"
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

                                                    llvm::StringRef module_name) {
      pm.addPass(mlir::TFTPU::CreateTPURewritePass(module_name));
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addNestedPass<FuncOp>(
          mlir::TFDevice::CreateReplicateInvariantOpHoistingPass());
      pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateEmbeddingProgramKeyPass());
      pm.addPass(mlir::TFTPU::CreateTPUMergeVariablesWithExecutePass());
      pm.addNestedPass<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

      // - materialize the eventual "pass-through" ops by inlining their content.
      func_pm.addPass(tf_executor::CreateTFExecutorGraphPruningPass());
      func_pm.addPass(tf_executor::CreateTFExecutorIslandCoarseningPass());
      func_pm.addPass(CreateMaterializePassthroughOpPass());
      if (options.form_clusters) pm.addPass(TFDevice::CreateClusterFormationPass());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

      // the results of side effect analysis.
      pm.addPass(
          mlir::tf_executor::CreateTFExecutorUpdateControlDependenciesPass());
    
      pm.addNestedPass<FuncOp>(mlir::TFTPU::CreateTPUDevicePropagationPass());
      pm.addNestedPass<FuncOp>(mlir::TFTPU::CreateTPUColocateSplitsPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addNestedPass<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/PolymorphicManagedTypeIntegrationTest.groovy

                    void namedThing(NamedThing namedThing) {
                        namedThing.name = "name"
                        namedThing.value = "value"
                    }
    
                    @Mutate
                    void addTask(ModelMap<Task> tasks, NamedThing namedThing) {
                        tasks.create("echo") {
                            it.doLast {
                                println "name: $namedThing.name, value: $namedThing.value"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

      void runOnOperation() override {
        mlir::MLIRContext* ctx = &getContext();
        mlir::ModuleOp module_op = getOperation();
        mlir::PassManager pm(ctx);
    
        pm.addPass(CreateNoOpPass());
    
        EnableIrPrinting(pm, "dump2");
    
        if (failed(pm.run(module_op))) {
          signalPassFailure();
        }
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      // Prepare the imported graph.
      func_pm.addPass(mlir::CreateExecutorDialectToFunctionalConversionPass());
    
      // Run TFR lowering, inlining and raising to tf.
      func_pm.addPass(mlir::TFR::CreateDecomposeTFOpsPass(tfr_module_));
      func_pm.addPass(mlir::TFR::CreateRaiseToTFOpsPass(
          tfr_module_, /*materialize_derived_attrs=*/true));
    
      // Prepare to be exported.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ConfigurationCycleIntegrationTest.groovy

                    }
    
                    // in cycle…
                    @Mutate void m3ToM1(@Path("m1") m1, @Path("m3") m3) {}
                    @Mutate void m1ToM3(@Path("m3") m3, @Path("m1") m1) {}
    
                    @Mutate void addTask(ModelMap<Task> tasks, @Path("m1") m1) {}
                }
    
                apply type: Rules
            '''
    
            then:
            fails "tasks"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top