- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 435 for ModuleOp (0.19 sec)
-
tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc
mlir_module_ = mlir::parseSourceFile<mlir::ModuleOp>(mlir_module_path, &context_); if (!mlir_module_) { return absl::Status( absl::StatusCode::kNotFound, absl::StrCat("Could not find MLIR module at ", mlir_module_path)); } return absl::OkStatus(); } DialectRegistry registry_; MLIRContext context_; OwningOpRef<mlir::ModuleOp> mlir_module_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:44:37 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc
return WalkResult::advance(); }); } } // namespace QuantizationReport::QuantizationReport(ModuleOp module_op) : quantization_results_(CollectResultsFromModuleOp(module_op)) {} QuantizationResults QuantizationReport::CollectResultsFromModuleOp( ModuleOp module_op) const { QuantizationResults results{}; PopulateQuantizedResults(module_op, results);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.h
// max values. absl::Status AddCalibrationStatistics( mlir::ModuleOp module_op, absl::string_view calibration_data_dir, const stablehlo::quantization::CalibrationOptions& calibration_options, const tensorflow::quantization::PyFunctionLibrary& py_function_library); // Checks if the model required calibration. bool IsCalibrationRequired(mlir::ModuleOp module_op); } // namespace stablehlo::quantization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc
// portion of the pipeline on just the single submodule. absl::Status RunClusteringPipelineOnSubmodule( ModuleOp parent_module, bool is_in_fallback_enabled_mode) { int num_submodules = 0; absl::Status clustering_pipeline_status; parent_module.walk([&](ModuleOp submodule) { if (submodule == parent_module) return mlir::WalkResult::advance(); num_submodules++;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc
using ::tensorflow::kImportModelDefaultGraphFuncName; class MergeSaveFunctionOpsToMainPass : public PassWrapper<MergeSaveFunctionOpsToMainPass, OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MergeSaveFunctionOpsToMainPass) explicit MergeSaveFunctionOpsToMainPass() = default; StringRef getArgument() const override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/visitor.h
// Creates a new MLIR module that contains only the given functions and all // reachable functions from them. mlir::FailureOr<mlir::OwningOpRef<mlir::ModuleOp>> CreatePrunedModule( mlir::ModuleOp module, llvm::ArrayRef<llvm::StringRef> function_names); } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 03:46:51 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/insert_call_once_op.cc
InsertCallOnceOpFromSessionInitializerPass) private: void runOnOperation() override; }; void InsertCallOnceOpFromSessionInitializerPass::runOnOperation() { ModuleOp module = getOperation(); for (func::FuncOp init_func_op : tf_saved_model::GetInitializerFunctions(module)) { for (auto func : module.getOps<func::FuncOp>()) { auto dict_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 05:03:09 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc
} // Testing ConvertMlirModuleToExportedModel requires parsing MLIR string to // ModuleOp. using ConvertMlirModuleToExportedModelTest = ::mlir::quant::QuantizationTestBase; TEST_F(ConvertMlirModuleToExportedModelTest, SimpleGraphDefSet) { // Define a module a no-op main function. mlir::OwningOpRef<mlir::ModuleOp> module_op = ParseModuleOpString(R"mlir( module attributes {tf_saved_model.semantics} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 19.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc
#include "mlir/Tools/mlir-translate/Translation.h" // from @llvm-project #include "tensorflow/compiler/mlir/lite/flatbuffer_import.h" namespace tensorflow { namespace { static mlir::OwningOpRef<mlir::ModuleOp> FlatBufferFileToMlirTranslation( llvm::SourceMgr* source_mgr, mlir::MLIRContext* context) { const llvm::MemoryBuffer* input = source_mgr->getMemoryBuffer(source_mgr->getMainFileID()); std::string error;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
]; } def StripNoinlineAttributePass : Pass<"tf-strip-noinline-attribute", "ModuleOp"> { let summary = "Strip the tf._noinline attribute from top-level functions."; let constructor = "TF::CreateStripNoinlineAttributePass()"; } def ExecutorConvertControlToDataOutputsPass : Pass<"tf-executor-convert-control-to-data-outputs", "ModuleOp"> { let summary = "Chain control outputs of while loop body"; let description = [{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0)