Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for saveInsertionPoint (0.2 sec)

  1. tensorflow/compiler/mlir/python/mlir_wrapper/builders.cc

          .def("setInsertionPoint",
               py::overload_cast<mlir::Block*, mlir::Block::iterator>(
                   &mlir::OpBuilder::setInsertionPoint))
          .def("saveInsertionPoint", &mlir::OpBuilder::saveInsertionPoint)
          .def("restoreInsertionPoint", &mlir::OpBuilder::restoreInsertionPoint)
          .def(
              "create",
              [](mlir::OpBuilder& opb, mlir::OperationState& state) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 08:44:55 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.cc

                                             mlir::Operation* op,
                                             llvm::StringRef device) {
      mlir::OpBuilder::InsertPoint insert_point = builder->saveInsertionPoint();
    
      auto launch = builder->create<mlir::tf_device::LaunchOp>(
          loc, builder->getStringAttr(device), op->getResultTypes());
      launch.getBody().push_back(new mlir::Block);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi

        def create(self, *args, **kwargs) -> Any: ...
        def getContext(self) -> MLIRContext: ...
        def getUnknownLoc(self) -> Location: ...
        def restoreInsertionPoint(self, arg0) -> None: ...
        def saveInsertionPoint(self, *args, **kwargs) -> Any: ...
        def setInsertionPoint(self, arg0: Block, arg1: Block_Iterator) -> None: ...
    
    class OpBuilder_InsertionPoint:
        def __init__(self, *args, **kwargs) -> None: ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 17:10:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top