Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 298 for OperationPass (0.25 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

    // marked noinline should be specified by the `noinline-functions` option.
    class MarkFunctionsNoinlinePass
        : public PassWrapper<MarkFunctionsNoinlinePass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MarkFunctionsNoinlinePass)
    
      explicit MarkFunctionsNoinlinePass()
          : MarkFunctionsNoinlinePass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_gpu.cc

    namespace mlir {
    namespace TFL {
    namespace tac {
    namespace {
    
    struct DeviceTransformGPUPass
        : public mlir::PassWrapper<DeviceTransformGPUPass,
                                   OperationPass<func::FuncOp>> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(DeviceTransformGPUPass)
    
      llvm::StringRef getArgument() const final {
        return "tfl-device-transform-gpu";
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

        op->replaceAllUsesWith(custom_op);
        op->erase();
      }
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateRaiseCustomOpsPass() {
      return std::make_unique<RaiseCustomOpsPass>();
    }
    
    // Creates an instance of the TensorFlow Lite dialect raise custom op pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateRaiseCustomOpsPass(
        const std::vector<std::string> &target_ops) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_duplicate_resource_ops.cc

    using ::mlir::tf_executor::IslandOp;
    
    constexpr StringRef kSharedNameAttr = "shared_name";
    
    class MergeDuplicateResourceOpsPass
        : public PassWrapper<MergeDuplicateResourceOpsPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MergeDuplicateResourceOpsPass)
    
      StringRef getArgument() const final {
        return "quant-merge-duplicate-resource-ops";
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 04:26:16 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc

    }
    
    }  // namespace
    }  // namespace TF
    
    namespace tf_test {
    std::unique_ptr<OperationPass<ModuleOp>> CreateInitTextFileToImportTestPass() {
      return std::make_unique<TF::InitTextFileToImportTestPass>();
    }
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateInitTextFileToImportSavedModelTestPass() {
      return std::make_unique<TF::InitTextFileToImportSavedModelTestPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables_test_pass.h

          }
        }
        return OkStatus();
      }
    };
    
    // This pass is only available in the tf-opt binary for testing.
    class LiftVariablesTestPass
        : public PassWrapper<LiftVariablesTestPass, OperationPass<ModuleOp>> {
     public:
      LiftVariablesTestPass() { session_ = new FakeSession(); }
    
      ~LiftVariablesTestPass() override { delete session_; }
    
      void runOnOperation() override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 21 15:49:06 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

      }
    };
    
    }  // namespace tensorflow
    
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    tensorflow::CreateTensorFlowGraphOptimizationPass(
        std::vector<tensorflow::GraphOptimizationPass*> tf_passes) {
      return std::make_unique<GraphOptPass>(std::move(tf_passes));
    }
    
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    tensorflow::CreateTensorFlowGraphOptimizationPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc

    // normally as "quantization params" adjust. We should check more careful to
    // include those as those ops wouldn't be "squashed".
    
    class ComputeCostPass
        : public mlir::PassWrapper<ComputeCostPass, mlir::OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ComputeCostPass)
    
     private:
      llvm::StringRef getArgument() const final { return "tfl-compute-cost"; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc

    // effect is desired (e.g. there is a `tf.RestoreV2Op` restoring the variables
    // instead).
    class RemoveVariableInitializationByConstPass
        : public PassWrapper<RemoveVariableInitializationByConstPass,
                             OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          RemoveVariableInitializationByConstPass)
    
      StringRef getArgument() const final {
        return "quant-remove-var-init-by-const";
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 03 12:04:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/cast_bf16_ops_to_f32.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    class CastBf16OpsToF32Pass
        : public PassWrapper<CastBf16OpsToF32Pass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CastBf16OpsToF32Pass)
      explicit CastBf16OpsToF32Pass() = default;
    
      StringRef getArgument() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top