Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreateTflToStablehloPass (0.31 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.h

    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace odml {
    
    // Creates a pass which transforms TFLite to StableHLO Ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass();
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 07:38:29 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        auto stablehlo_op = builder.create(op_state);
        custom_op.replaceAllUsesWith(stablehlo_op);
        custom_op.erase();
      });
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass() {
      return std::make_unique<TflToStablehloPass>();
    }
    
    static PassRegistration<TflToStablehloPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top