Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsLocalVarOp (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      if (auto var_handle_op = std::get_if<TF::VarHandleOp>(&op)) {
        var_handle_op->erase();
      } else {
        std::get<TF::MlirLocalVarOp>(op).erase();
      }
    }
    
    std::optional<LocalVarOp> IsLocalVarOp(Operation &op) {
      if (TF::MlirLocalVarOp mlir_local_var_op =
              llvm::dyn_cast<TF::MlirLocalVarOp>(&op)) {
        return std::make_optional(LocalVarOp(mlir_local_var_op));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top