Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 435 for ModuleOp (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h

              signature_def_map,
          std::vector<std::string> signature_keys);
    
      // Runs calibration on `module_op` and returns a calibrated ModuleOp with
      // calibrated statistics embedded.
      absl::StatusOr<ModuleOp> Run(
          ModuleOp module_op,
          const ::stablehlo::quantization::QuantizationConfig& config) override;
    
     private:
      // Exports `module_op` to SavedModel at `dst_saved_model_path`. This is used
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.h

    // pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateTrimFunctionsPass();
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTrimFunctionsPass(
        const std::vector<std::string>& trim_funcs_allowlist);
    
    // Creates an instance of the TensorFlow Lite dialect PrepareCompositeFunctions
    // pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreatePrepareCompositeFunctionsPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.h

    namespace mlir::quant::stablehlo {
    
    // Represents a pair of `mlir::ModuleOp` and `tensorflow::SavedModelBundle`. The
    // SavedModelBundle complements the imported ModuleOp by providing access to
    // `tensorflow::Session` which may be useful when reading values from resources
    // (e.g. `TF::VarHandleOp`s).
    using ImportedMlirModuleOp =
        std::pair<OwningOpRef<ModuleOp>,
                  std::unique_ptr<::tensorflow::SavedModelBundle>>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.h

    // tf_executor dialect.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ConvertGraphdefToMlir(
        const GraphDef& graphdef, const GraphDebugInfo& debug_info,
        const GraphImportConfig& specs, mlir::MLIRContext* context);
    
    // Given a Graph, returns a MLIR module containing the graph, expressed with
    // tf_executor dialect.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ConvertGraphToMlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.h

                                             StringPiece func_name);
    
      // Runs the decompose passes on the user_module.
      Status DecomposeGraph(mlir::ModuleOp user_module);
    
      // Erases the tfr_module created.
      void Destroy();
    
     private:
      mlir::ModuleOp tfr_module_;
      mlir::PassManager pm_;
    
      GraphExportConfig export_confs_;
    };
    
    // Decomposes the NodeDef to a set of primitive ops according to the decompose
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 11:12:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

        "mlir::TFL::TFLDialect",
      ];
    }
    
    def LegalizeHloToTfPass : Pass<"tf-legalize-hlo", "ModuleOp"> {
      let summary = "Legalize from MHLO to the TF dialect";
      let dependentDialects = ["TF::TensorFlowDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfPass()";
    }
    
    def LegalizeHloToTfLitePass : Pass<"tfl-legalize-hlo", "mlir::ModuleOp"> {
      let summary = "Legalize from MHLO to the TFLite dialect";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc

      MLIRContext ctx_;
    };
    
    // Parses `module_op_str` and returns the resulting `ModuleOp`.
    ModuleOp ParseModuleOp(const StringRef module_op_str, Block& block,
                           MLIRContext& ctx) {
      const LogicalResult parse_result =
          parseSourceString(module_op_str, &block, ParserConfig(&ctx));
      EXPECT_TRUE(succeeded(parse_result));
    
      return cast<ModuleOp>(block.front());
    }
    
    TEST_F(TfSavedModelTest,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    std::unique_ptr<OperationPass<ModuleOp>> CreateQuantizeWeightsPass(
        const tensorflow::quantization::QuantizationOptions& quant_options);
    
    // Propagate quantized type through allowed ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreatePropagateQuantizeTypePass();
    
    // Create a pass that inserts dump tensor to quantizable layer's output.
    std::unique_ptr<OperationPass<ModuleOp>> CreateAddDumpTensorOpPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h

    SessionInitializerOp GetSessionInitializerOp(ModuleOp module_op);
    
    // Returns the exported name for the session initializer function.
    SmallVector<StringRef, 2> GetSessionInitializerExportedName(ModuleOp module_op);
    
    // Returns initializer function ops. These functions' symbols are in the
    // "initializers" attribute of the session initializer op.
    SmallVector<func::FuncOp, 2> GetInitializerFunctions(ModuleOp module_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_test_passes.td

      "ModuleOp"> {
      let summary = "Freezes read only variables";
    
      let description = [{
        Test pass for freezing read only variables in the graph.
      }];
    
      let constructor = "::mlir::tf_test::CreateFreezeVariableTestPass()";
    }
    
    def InitTextFileToImportTestPass : Pass<"tf-init-text-file-to-import-test",
      "ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:21:29 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top