Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 211 for getIpr (0.13 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

          }
        }
        Builder stablehlo_builder(stablehlo_module_op.get().getContext());
        // Rename XlaCallModuleOp's functions to avoid naming conflicts.
        for (auto func_op : stablehlo_module_op.get().getOps<func::FuncOp>()) {
          const std::string new_func_name =
              CreateNewFuncName(func_op.getSymName(), parent_module_symbol_table);
          if (failed(stablehlo_module_symbol_table.replaceAllSymbolUses(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyModule.java

    import java.util.Map;
    
    public interface IvyModule extends Module {
        String getOrganisation();
        @Override
        String getModule();
        String getRevision();
    
        ModuleArtifact getIvy();
    
        ModuleArtifact getJar();
    
        TestFile getIvyFile();
    
        TestFile getJarFile();
    
        TestFile getModuleMetadataFile();
    
        /**
         * Don't publish an ivy.xml / .module for this module.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

      // to store its `SymbolTable` to `SymbolTableCollection`.
      SymbolTable stablehlo_symbol_table(stablehlo_module);
    
      Builder builder(context);
      StringAttr main_func_name;
      for (auto func : stablehlo_module.getOps<func::FuncOp>()) {
        const bool is_main_func = func.getSymName() == kStablehloMainFunctionName;
        if (tf_symbol_table.lookup(func.getSymName())) {
          if (failed(stablehlo_symbol_table.renameToUnique(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        builder.create<YieldOp>(island_op.getLoc(), yield_operands);
      }
    
      // Outline all the transitively called functions by moving them in the
      // outlined module.
      for (func::FuncOp func : outlined_module.getOps<func::FuncOp>()) {
        func.walk([&](Operation *op) {
          for (NamedAttribute attr : op->getAttrs()) {
            if (auto symbol_ref =
                    mlir::dyn_cast<FlatSymbolRefAttr>(attr.getValue())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/freeze_saved_model_assets.cc

    void FreezeAssetsPass::runOnOperation() {
      auto module = getOperation();
      if (!tf_saved_model::HasTfSavedModelSemantics(module)) {
        return;
      }
      SymbolTable symbol_table(module);
    
      for (auto func : module.getOps<func::FuncOp>()) {
        llvm::BitVector args_to_erase(func.getNumArguments());
        OpBuilder builder(func.getBody());
    
        for (int i = 0, e = func.getNumArguments(); i < e; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 30 01:12:09 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyJavaModule.groovy

        }
    
        @Override
        ModuleArtifact getIvy() {
            backingModule.ivy
        }
    
        @Override
        ModuleArtifact getJar() {
            backingModule.jar
        }
    
        @Override
        ModuleArtifact getModuleMetadata() {
            backingModule.moduleMetadata
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/order_by_dialect.cc

                                op->getName().getDialectNamespace();
    }
    
    void OrderByDialectPass::runOnOperation() {
      ModuleOp module = getOperation();
      for (func::FuncOp func : module.getOps<func::FuncOp>()) {
        std::vector<std::pair<Operation*, Operation*>> side_effect_data;
        const detail::SideEffectAnalysisInfo* info = nullptr;
        auto extra_dependencies =
            [&](Operation* op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      LogicalResult UnifyReplicationInfo(func::FuncOp func) {
        auto new_repl_info =
            builder.getStringAttr(func.getSymName().str() + "_repl_info");
        for (auto& op : func.getRegion().getOps()) {
          if (auto compile_op = llvm::dyn_cast<TF::TPUCompilationResultOp>(op)) {
            UpdateReplicationAttr(compile_op, new_repl_info);
          } else {
            UpdateReplicationAttr(&op, new_repl_info);
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/test/groovy/org/gradle/model/dsl/internal/NonTransformedModelDslBackingTest.groovy

        }
    
        @Managed
        interface Thing {
            void setName(String name)
    
            String getName()
        }
    
        @Managed
        interface Foo {
            ModelSet<Thing> getBar()
        }
    
        interface Unmanaged {}
    
        def "can create via DSL"() {
            when:
            modelDsl.configure {
                foo(Foo)
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/test_base.h

      FailureOr<OpT> FindFirstOpFromMainFunc(ModuleOp module_op) {
        func::FuncOp main_func_op = FindMainFuncOp(module_op);
        if (main_func_op == nullptr) return failure();
    
        auto ops = main_func_op.getOps<OpT>();
        if (ops.empty()) return failure();
    
        return *ops.begin();
      }
    
      std::unique_ptr<MLIRContext> ctx_;
      OpBuilder builder_;
    };
    
    }  // namespace mlir::quant
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top