Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for PassRegistration (0.34 sec)

  1. tensorflow/compiler/mlir/mlir_graph_optimization_pass.h

    class MlirOptimizationPassRegistry {
     public:
      struct PassRegistration {
        int priority;
        std::unique_ptr<MlirOptimizationPass> pass;
      };
    
      struct PriorityComparator {
        bool operator()(const PassRegistration& x,
                        const PassRegistration& y) const {
          return x.priority < y.priority;
        }
      };
    
      using Passes = std::set<PassRegistration, PriorityComparator>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 22:53:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables_test_pass.cc

                getOperation(), /*session=*/nullptr)))
          return signalPassFailure();
      }
    };
    
    }  // namespace
    
    namespace tf_saved_model {
    
    static PassRegistration<MarkInitializedVariablesTestPass>
        mark_initialized_variables_test_pass;
    
    static PassRegistration<MarkInitializedVariablesInvalidSessionTestPass>
        mark_initialized_variables_invalid_session_test_pass;
    
    }  // namespace tf_saved_model
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/analysis/test_cost_analysis_pass.cc

        auto func_op = getOperation();
        for (auto& op : func_op.front()) {
          op.emitRemark() << "Cost: " << cost_analysis.GetCost(&op);
        }
      }
    };
    
    static mlir::PassRegistration<TestCostAnalysis> pass;
    
    }  // namespace tfrt_compiler
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 23:46:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/analysis/test_tensor_array_side_effect_analysis.cc

                               << tensor_array_side_effect_analysis
                                      .HasAtMostTensorArrayEffect(func_op);
        }
      }
    };
    
    mlir::PassRegistration<TestTensorArraySideEffectAnalysis> pass;
    
    }  // namespace
    }  // namespace tfrt_compiler
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 10 21:32:05 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc

    class PostQuantizePass
        : public PassWrapper<PostQuantizePass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PostQuantizePass)
    
      // Constructor used by the PassRegistration. This will remove the adaptor ops.
      explicit PostQuantizePass() = default;
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

    class PropagateQuantizeType
        : public PassWrapper<PropagateQuantizeType, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PropagateQuantizeType)
    
      // Constructor used by the PassRegistration. This will remove the adaptor ops.
      explicit PropagateQuantizeType() = default;
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

                             OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          LiftQuantizableSpotsAsFunctionsDRQPass)
    
      // Constructor used by the PassRegistration. This is only used by test.
      explicit LiftQuantizableSpotsAsFunctionsDRQPass() = default;
    
      // Constructor used by manually creating the pass.
      explicit LiftQuantizableSpotsAsFunctionsDRQPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

        candidate_funcs[0].setName(builder.getStringAttr("main"));
      }
    };
    
    std::unique_ptr<Pass> CreateRenameEntrypointToMainPass() {
      return std::make_unique<RenameEntrypointToMainPass>();
    }
    
    static PassRegistration<RenameEntrypointToMainPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc

        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizePass() {
      return std::make_unique<OptimizePass>();
    }
    
    static PassRegistration<OptimizePass> pass;
    
    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

        registry.insert<TF::TensorFlowDialect>();
        registry.insert<quant::QuantizationDialect>();
        registry.insert<quantfork::QuantizationForkDialect>();
      }
    
      void runOnOperation() override;
    };
    
    static PassRegistration<ConvertFakeQuantToQdqPass> pass;
    
    void ConvertFakeQuantToQdqPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      func::FuncOp func = getOperation();
    
      if (failed(
    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