Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckSingleBlockFunction (0.16 sec)

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

        "expects resource to be a VarHandleOp or function argument";
    constexpr char kResourceNameArgAttr[] = "tf.resource_name";
    
    // Checks if a function has only one block.
    mlir::LogicalResult CheckSingleBlockFunction(func::FuncOp function) {
      if (!llvm::hasSingleElement(function)) {
        return function.emitError()
               << "expects function '" << function.getName()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top