Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for PassRegistration (0.45 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass() {
      return std::make_unique<CompositeLoweringPass>();
    }
    
    // Registers the pass implementation
    static PassRegistration<CompositeLoweringPass> pass;
    
    }  // namespace odml
    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/transforms/smuggle_disallowed_ops.cc

          signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> CreateSmuggleDisallowedOpsPass() {
      return std::make_unique<SmuggleDisallowedOpsPass>();
    }
    
    static PassRegistration<SmuggleDisallowedOpsPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

        const_op->erase();
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfoldSplatConstantPass() {
      return std::make_unique<UnfoldSplatConstantPass>();
    }
    
    static PassRegistration<UnfoldSplatConstantPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

    // Creates an instance of `ConvertTpuModelToCpuPass`.
    std::unique_ptr<OperationPass<ModuleOp>> CreateConvertTpuModelToCpuPass() {
      return std::make_unique<ConvertTpuModelToCpuPass>();
    }
    
    static PassRegistration<ConvertTpuModelToCpuPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc

        if (failed(applyPartialConversion(getOperation(), target,
                                          std::move(patterns)))) {
          return signalPassFailure();
        }
      }
    };
    
    static PassRegistration<LegalizeStablehloCustomCallToCompositePass>
        pass_shlo_sc2c;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top