Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.52 sec)

  1. tensorflow/compiler/mlir/lite/debug/debug_test.cc

    namespace debug_test {
    
    class NopPass : public mlir::PassWrapper<NopPass, mlir::OperationPass<>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(NopPass)
    
      void runOnOperation() override {}
    };
    
    class MutatePass : public mlir::PassWrapper<MutatePass, mlir::OperationPass<>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MutatePass)
    
      void runOnOperation() override {
        mlir::OpBuilder builder(&getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/optimize_graph.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc"
    
    namespace {
    
    class OptimizeGraphPass
        : public impl::OptimizeGraphPassBase<OptimizeGraphPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OptimizeGraphPass)
    
      explicit OptimizeGraphPass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 21 20:11:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/unfuse_mhlo_batch_norm.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc"
    
    namespace {
    
    class UnfuseMhloBatchNormPass
        : public impl::UnfuseMhloBatchNormPassBase<UnfuseMhloBatchNormPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(UnfuseMhloBatchNormPass)
    
      explicit UnfuseMhloBatchNormPass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    void UnfuseMhloBatchNormPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 06:28:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

    namespace tensorflow {
    namespace quantization {
    namespace mlir_dump_test {
    
    class NoOpPass
        : public mlir::PassWrapper<NoOpPass, mlir::OperationPass<mlir::ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(NoOpPass)
    
      NoOpPass() = default;
    
      llvm::StringRef getArgument() const final { return "no-op-pass"; }
    
      void runOnOperation() override {
        // Noop pass does nothing on the operation.
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.h

    class QuantizationUnitLoc : public CallSiteLoc {
     public:
      using QuantizationUnit =
          tensorflow::quantization::UnitWiseQuantizationSpec::QuantizationUnit;
    
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizationUnitLoc)
    
      QuantizationUnitLoc(MLIRContext* context, const QuantizationUnit& unit);
    
      // Checks if the given location is QuantizationUnitLoc. Users could call
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 02:39:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top