- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RemoveVariablesInSessionInitializerPass (0.62 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc
#define GEN_PASS_DEF_REMOVEVARIABLESINSESSIONINITIALIZERPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.h.inc" class RemoveVariablesInSessionInitializerPass : public impl::RemoveVariablesInSessionInitializerPassBase< RemoveVariablesInSessionInitializerPass> { public: void runOnOperation() override; }; void RecursiveRemove(Operation* op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_import_options.h
// `lift_variables == true`) or newly adding variable initialization patterns // in the initializer functions. One might want to set this to `true` because // the `RemoveVariablesInSessionInitializerPass` pass, which runs otherwise, // may unexpectedly also remove the initialization patterns for non-variable // resources (like hash tables) if they involve variables. Such a case is // illustrated in the test file
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 20 13:19:26 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td
let summary = "Optimize tf_saved_model.global_tensor's."; let constructor = "mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass()"; } def RemoveVariablesInSessionInitializerPass : Pass<"tf-saved-model-remove-vars-in-session-initializer", "ModuleOp"> { let summary = "Remove variables in tf saved model's session initializer.";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 09 19:11:34 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
// If `include_variables_in_initializers` is set to false, then it removes all // variables from the initializer functions (registered in the // `tf_saved_model::SessionInitializerOp`) by running the // `RemoveVariablesInSessionInitializerPass`, regardless of whether // `lift_variable_ops_to_args` is true or not. static Status LiftVariables(const SavedModelBundle& bundle, mlir::ModuleOp module,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)