Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for module_ (0.37 sec)

  1. tensorflow/compiler/mlir/lite/debug/debug_test.cc

              return registry;
            }()) {
        context_.loadAllAvailableDialects();
    
        mlir::OpBuilder builder(&context_);
        module_ = builder.create<mlir::ModuleOp>(builder.getUnknownLoc());
    
        builder.setInsertionPointToStart(module_->getBody());
        auto func = builder.create<mlir::func::FuncOp>(  //
            builder.getUnknownLoc(), "main", builder.getFunctionType({}, {}));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

      }
    
     protected:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
      llvm::SourceMgr source_manager_;
    };
    
    TEST_F(Tf2XlaRewriterTest, LegalizesOpWithTf2xlaHloImporter) {
      TF_EXPECT_OK(LegalizeModule());
    
      int num_tuple_ops = 0;
      module_->walk([&num_tuple_ops](TupleOp tuple_op) { num_tuple_ops += 1; });
    
      EXPECT_EQ(num_tuple_ops, 0);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

        }
        return main;
      }
    
     protected:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
    };
    
    TEST_F(LegalizationOpConfigTest, FailsWithExpectsLegalizationWithMlir) {
      TF_EXPECT_OK(CreateMlirModule());
      EXPECT_FALSE(IsOpLegalizedWithMlir(*module_->getOperation()));
    }
    
    TEST_F(LegalizationOpConfigTest, ExpectsFalseForNonMlirOps) {
      TF_EXPECT_OK(CreateMlirModule());
      TF_ASSERT_OK_AND_ASSIGN(FuncOp main, GetMain());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    class MlirFunction : public AbstractFunction {
     public:
      explicit MlirFunction(std::unique_ptr<MLIRContext> context,
                            OwningOpRef<mlir::ModuleOp> module, func::FuncOp func)
          : AbstractFunction(kMlir),
            context_(std::move(context)),
            module_(std::move(module)),
            func_(func) {}
    
      Status GetFunctionDef(const tensorflow::FunctionDef** f) override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

     public:
      explicit QuantizationSummary(ModuleOp module)
          : module_(module), symbol_table_(module) {}
    
      void Print() {
        llvm::StringMap<OpCountItem> func_count_map;
        int32_t total_quantized_func_count = 0, float_output_func_count = 0,
                quantize_func_count = 0, dequantize_func_count = 0,
                weight_only_count = 0;
    
        module_.walk([&](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          const GraphImportConfig& specs, mlir::ModuleOp module,
          std::unordered_map<std::string, std::string>* tf_name_to_mlir_name,
          NameUniquifier* function_name_uniquifier,
          llvm::StringRef function_name_for_debug_info = "")
          : builder_(module.getContext()),
            module_(module),
            context_(module.getContext()),
            tf_name_to_mlir_name_(tf_name_to_mlir_name),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      explicit Translator(ModuleOp module, const toco::TocoFlags& toco_flags,
                          const std::unordered_set<std::string>& saved_model_tags,
                          OpOrArgNameMapper* op_or_arg_name_mapper,
                          const std::map<std::string, std::string>& metadata,
                          std::optional<size_t> custom_option_alignment)
          : module_(module),
            name_mapper_(*op_or_arg_name_mapper),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      ModuleOp module = entry_func->getParentOfType<ModuleOp>();
      SymbolTable entry_module_table(module);
      llvm::SmallVector<func::FuncOp, 4> referenced({entry_func});
    
      // Create a new module to hold func and all referenced functions.
      OwningOpRef<mlir::ModuleOp> module_for_func =
          ModuleOp::create(mlir::UnknownLoc::get(entry_func.getContext()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. module.xml

    	<target name="install.module">
    		<get dest="${target.dir}">
    			<url url="${repo.url}/${module.groupId}/${module.name.prefix}${module.name}/${module.version}/${module.name.prefix}${module.name}-${module.zip.version}.zip" />
    		</get>
    		<unzip dest="${modules.dir}/${module.name}" src="${target.dir}/${module.name.prefix}${module.name}-${module.zip.version}.zip">
    			<patternset>
    				<include name="**" />
    			</patternset>
    			<cutdirsmapper dirs="1" />
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 16 07:10:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/Module.java

        /**
         * Returns the modules required by this module.
         */
        Set<Module> getRequiredModules();
    
        /**
         * Returns the transitive closure of all modules required by this module, including the module itself.
         */
        Set<Module> getAllRequiredModules();
    
        /**
         * Returns the implementation + runtime classpath of the transitive closure of all modules required by this module, including the module itself.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top