Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateStripSavedModuleMetadataPass (0.54 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/strip_saved_module_metadata.cc

    void StripSavedModuleMetadataPass::runOnOperation() {
      auto module = getOperation();
      StripModule(module);
      module.walk(StripFunction);
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateStripSavedModuleMetadataPass() {
      return std::make_unique<StripSavedModuleMetadataPass>();
    }
    
    }  // namespace tf_saved_model
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/mlprogram.cc

      pm.addPass(mlir::TF::CreateLocalizeVarHandlesPass());
      pm.addPass(mlir::tf_saved_model::CreateAddFunctionsForExportedNamesPass());
      pm.addPass(mlir::tf_saved_model::CreateStripSavedModuleMetadataPass());
    
      pm.addPass(mlir::TF::CreateRemoveUnusedArgumentsPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::TF::CreateRemoveUnusedWhileResultsPass());
    
      pm.addPass(mlir::createInlinerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:39:15 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h

    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLowerVariableOpsToMlProgramPass();
    
    // Strips saved_model attributes from a module and its functions.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStripSavedModuleMetadataPass();
    
    // Convert the session initializer to a function.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateConvertSessionInitializerToFunctionPass();
    
    // Creates forwarding functions for 'exported_names'.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

            module attributes {tf_saved_model.semantics} [...]
    
          so the result becomes just
    
            module [...]
      }];
      let constructor = "::mlir::tf_saved_model::CreateStripSavedModuleMetadataPass()";
    }
    
    def ConvertSessionInitializerToFunctionPass : Pass<"tf-saved-model-convert-session-initializer-to-function", "ModuleOp"> {
      let summary = "Converts the session initializer to a function.";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top