Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.49 sec)

  1. tensorflow/compiler/mlir/lite/transforms/get_arithmetic_count.cc

    #define GEN_PASS_DEF_GETARITHMETICCOUNTPASS
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    struct GetArithmeticCountPass
        : public impl::GetArithmeticCountPassBase<GetArithmeticCountPass> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(GetArithmeticCountPass)
    
      void runOnOperation() override;
    };
    
    void GetArithmeticCountPass::runOnOperation() {
      auto func = getOperation();
      OpBuilder builder(func);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc"
    
    class CompositeLoweringPass
        : public impl::CompositeLoweringPassBase<CompositeLoweringPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CompositeLoweringPass);
    
      void runOnOperation() override;
    };
    
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/generated_composite_lowering.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc

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

    // for canonicalization and folding which is not offered directly by the
    // shlo implementation.
    class SHLOSimplifyPass : public impl::SHLOSimplifyPassBase<SHLOSimplifyPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(SHLOSimplifyPass)
    
      void runOnOperation() override {
        ModuleOp module = getOperation();
        RewritePatternSet patterns(&getContext());
        populateWithGenerated(patterns);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 03:05:20 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_pre_calibration_component.cc

    using ::stablehlo::quantization::QuantizationConfig;
    
    class TestPreCalibrationComponentPass
        : public impl::TestPreCalibrationComponentPassBase<
              TestPreCalibrationComponentPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestPreCalibrationComponentPass)
    
     private:
      void runOnOperation() override;
    };
    
    void TestPreCalibrationComponentPass::runOnOperation() {
      ModuleOp module_op = getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 21:41:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/xla_call_module_to_call.cc

    namespace {
    
    // Converts XlaCallModuleOps to func.call.
    class XlaCallModuleToCallPass
        : public impl::XlaCallModuleToCallPassBase<XlaCallModuleToCallPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(XlaCallModuleToCallPass)
    
      explicit XlaCallModuleToCallPass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    // Converts XlaCallModuleOps to func.call.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 20:02:00 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/order_by_dialect.cc

    // which factors consecutive same-dialect ops into functions.
    class OrderByDialectPass
        : public impl::OrderByDialectPassBase<OrderByDialectPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OrderByDialectPass)
      void runOnOperation() override;
    };
    
    int DialectOrdering(Operation* predecessor, Operation* op) {
      return predecessor && predecessor->getName().getDialectNamespace() ==
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/check_accepted_ops_pass.cc

    // Define a pass class for checking if non-accepted dialect ops exist or not.
    namespace {
    class CheckAcceptedOpsPass
        : public PassWrapper<CheckAcceptedOpsPass, OperationPass<>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CheckAcceptedOpsPass)
    
      explicit CheckAcceptedOpsPass(
          const std::vector<std::string> &optional_accepted_dialects)
          : accepted_dialects_(GetAcceptedStableHLODialects()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc

    namespace mlir::quant {
    namespace {
    
    // Applies optimization after quantization.
    class OptimizePass
        : public PassWrapper<OptimizePass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OptimizePass)
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
        return "quant-optimize";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_fake_quant_to_qdq.cc

    namespace mlir {
    namespace quant {
    namespace {
    
    class ConvertFakeQuantToQdqPass
        : public PassWrapper<ConvertFakeQuantToQdqPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ConvertFakeQuantToQdqPass)
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 15 00:56:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top