Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 298 for OperationPass (0.3 sec)

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

        if (failed(tf_saved_model::InitializeVariablesInSessionInitializer(
                getOperation(), session)))
          signalPassFailure();
      }
    
     private:
    };
    }  // anonymous namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateInitializeVariablesInSessionInitializerTestPass() {
      return std::make_unique<InitializeVariablesInSessionInitializerPass>();
    }
    
    }  // namespace tf_test
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/lowering_passes.h

    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    // Create a pass that just collects metrics about the input MLIR. Does not
    // logically transform the program.
    std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>>
    CreateInputLoweringMetricsPass();
    
    #define GEN_PASS_REGISTRATION
    #define GEN_PASS_DECL_INPUTLOWERINGMETRICSPASS
    #include "tensorflow/compiler/mlir/tf2xla/internal/passes/lowering_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 19:49:04 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

    // Convert a TPU model to be compatible on CPU by rewriting/removing TPU ops.
    class ConvertTpuModelToCpuPass
        : public PassWrapper<ConvertTpuModelToCpuPass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ConvertTpuModelToCpuPass)
      explicit ConvertTpuModelToCpuPass() = default;
    
      StringRef getArgument() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

    namespace mlir {
    namespace quant {
    
    using QuantParamsEntry = QuantizationInfo::QuantParams;
    
    namespace {
    class ImportQuantStatsPass
        : public PassWrapper<ImportQuantStatsPass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ImportQuantStatsPass)
    
      explicit ImportQuantStatsPass(OperationToName op_to_name)
          : op_to_name_(op_to_name) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.h

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace odml {
    
    // Creates a pass which transforms TFLite to StableHLO Ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass();
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 07:38:29 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/analysis/test_tensor_array_side_effect_analysis.cc

    namespace tensorflow {
    namespace tfrt_compiler {
    namespace {
    
    class TestTensorArraySideEffectAnalysis
        : public mlir::PassWrapper<TestTensorArraySideEffectAnalysis,
                                   mlir::OperationPass<mlir::ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          TestTensorArraySideEffectAnalysis)
    
     private:
      llvm::StringRef getArgument() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 10 21:32:05 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/mlir_to_graph_passes.h

    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    // Verifies that Executor input is of the expected format.
    std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>>
    CreateVerifyInputDialectToExecutorPass();
    
    #define GEN_PASS_REGISTRATION
    #define GEN_PASS_DECL_VERIFYINPUTDIALECTTOEXECUTORPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 16:32:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

    namespace mlir {
    namespace quant {
    namespace {
    
    class ConvertCustomAggregationOpToQuantStatsPass
        : public PassWrapper<ConvertCustomAggregationOpToQuantStatsPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          ConvertCustomAggregationOpToQuantStatsPass)
    
      StringRef getArgument() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.h

    namespace mlir {
    namespace odml {
    
    // Adds passes which transform TF_XlaCallModule Op to StableHLO Ops.
    // Note that this pass only supports static shape tensors for now.
    std::unique_ptr<mlir::OperationPass<ModuleOp>>
    CreateLegalizeTFXlaCallModuleToStablehloPass();
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 24 16:36:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/trim_functions_tf.cc

      }
    }
    
    }  // namespace
    
    // Creates an instance of the TensorFlow Lite dialect TrimFunctions
    /// pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateTrimFunctionsPass() {
      return std::make_unique<TrimFunctionsPass>();
    }
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTrimFunctionsPass(
        llvm::ArrayRef<std::string> trim_funcs_allowlist) {
      return std::make_unique<TrimFunctionsPass>(trim_funcs_allowlist);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 4.6K bytes
    - Viewed (0)
Back to top