Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.49 sec)

  1. tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc

        : public PassWrapper<MockSuccessPass, OperationPass<ModuleOp>> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MockSuccessPass)
    
      explicit MockSuccessPass() = default;
    
     private:
      void runOnOperation() override {
        getOperation().walk([](Operation* nestedOp) {
          nestedOp->emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/restore_function_name.cc

    // the XlaCallModuleSerialization.
    class RestoreFunctionNamePass
        : public impl::RestoreFunctionNamePassBase<RestoreFunctionNamePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(RestoreFunctionNamePass)
    
      explicit RestoreFunctionNamePass() = default;
    
      void runOnOperation() override;
    };
    
    void RestoreFunctionNameFromXlaCallModuleOp(TF::XlaCallModuleOp& call_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/test_side_effect_analysis.cc

    namespace tf_test {
    
    namespace {
    
    struct TestSideEffectAnalysisPass
        : public TF::PerFunctionAggregateAnalysisConsumerPass<
              TestSideEffectAnalysisPass, TF::SideEffectAnalysis> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestSideEffectAnalysisPass)
    
      void runOnFunction(func::FuncOp func,
                         const TF::SideEffectAnalysis::Info& analysis) {
        int64_t next_id = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_variables.cc

    // arguments to functions, to TFLite variables.
    class LegalizeVariablesPass
        : public impl::LegalizeVariablesPassBase<LegalizeVariablesPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeVariablesPass)
    
      void runOnOperation() override {
        auto module = getOperation();
        // If TFLite variable legalization is not allowed, then we skip this pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_tf_to_stablehlo_pass.cc

    using ::tensorflow::quantization::RunPassesOnModuleOp;
    
    class TestTFToStablehloPass
        : public impl::TestTFToStablehloPassBase<TestTFToStablehloPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestTFToStablehloPass)
    
     private:
      void runOnOperation() override;
    };
    
    void TestTFToStablehloPass::runOnOperation() {
      ModuleOp module_op = getOperation();
      MLIRContext* ctx = &getContext();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 17:19:36 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_gpu.cc

    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";
      }
      llvm::StringRef getDescription() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc

    using ::tensorflow::quantization::RunPassesOnModuleOp;
    
    class QuantizeCompositeFunctionsPass
        : public impl::QuantizeCompositeFunctionsPassBase<
              QuantizeCompositeFunctionsPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizeCompositeFunctionsPass)
    
      using impl::QuantizeCompositeFunctionsPassBase<
          QuantizeCompositeFunctionsPass>::QuantizeCompositeFunctionsPassBase;
    
      explicit QuantizeCompositeFunctionsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc

    // that ID is used to annotate the operations.
    struct TestResourceAliasAnalysis
        : public TF::PerFunctionAggregateAnalysisConsumerPass<
              TestResourceAliasAnalysis, TF::ResourceAliasAnalysis> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestResourceAliasAnalysis)
    
      StringRef getArgument() const final {
        return "tf-test-resource-alias-analysis";
      }
    
      StringRef getDescription() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

    class MarkFunctionsNoinlinePass
        : public PassWrapper<MarkFunctionsNoinlinePass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MarkFunctionsNoinlinePass)
    
      explicit MarkFunctionsNoinlinePass()
          : MarkFunctionsNoinlinePass(
                /*noinline_functions=*/ArrayRef<std::string>{}) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_post_calibration_component.cc

              TestPostCalibrationComponentPass> {
     public:
      using impl::TestPostCalibrationComponentPassBase<
          TestPostCalibrationComponentPass>::TestPostCalibrationComponentPassBase;
    
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestPostCalibrationComponentPass)
    
     private:
      void runOnOperation() override;
    };
    
    void TestPostCalibrationComponentPass::runOnOperation() {
      ModuleOp module_op = getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top