Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateDedupBoundInputBindingPass (0.72 sec)

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

        arg_indices_to_erase.set(i);
      }
      func.eraseArguments(arg_indices_to_erase);
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateDedupBoundInputBindingPass() {
      return std::make_unique<DedupBoundInputBindingPass>();
    }
    
    }  // namespace tf_saved_model
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:25:35 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h

    std::unique_ptr<OperationPass<ModuleOp>>
    CreateRemoveVariablesInSessionInitializerPass();
    
    // Creates a pass that removes duplicate 'tf_saved_model.bound_input' bindings.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDedupBoundInputBindingPass();
    
    // Create a pass that removes function arguments that map to global tensors.
    std::unique_ptr<Pass> CreateLowerGlobalsToMlProgramPass();
    
    // Create a pass that lowers variable read/write ops to ml_program ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

    def DedupBoundInputBindingPass : Pass<"tf-saved-model-dedup-bound-input-binding-pass", "mlir::func::FuncOp"> {
      let summary = "Remove duplicate 'tf_saved_model.bound_input' bindings.";
      let constructor = "mlir::tf_saved_model::CreateDedupBoundInputBindingPass()";
    }
    
    def LowerGlobalsToMlProgramPass: Pass<"tf-saved-model-lower-globals-to-mlprogram", "mlir::ModuleOp"> {
      let summary = "Remove (and remap) function arguments that map to global tensors.";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

              errors::Internal("Failed to initialize variables in session init."));
      }
    
      pm.clear();
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::tf_saved_model::CreateDedupBoundInputBindingPass());
      if (mlir::failed(pm.run(module)))
        return diag_handler.Combine(
            errors::Internal("Failed to dedup bound inputs."));
    
      return absl::OkStatus();
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top