Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parseRegion (0.7 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

    }
    
    ParseResult GraphOp::parse(OpAsmParser &parser, OperationState &result) {
      llvm::SMLoc loc = parser.getCurrentLocation();
    
      // Parse the body region.
      Region &body = *result.addRegion();
      if (parser.parseRegion(body)) return failure();
    
      // Ensure that the region is well formed: it contains at least a block with
      // a FetchOp terminator.
      GraphOp::ensureTerminator(body, parser.getBuilder(), result.location);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      for (auto argAndType : llvm::zip(region_args, region_arg_types)) {
        auto& arg = packed_args.emplace_back();
        arg.ssaName = std::get<0>(argAndType);
        arg.type = std::get<1>(argAndType);
      }
      if (parser.parseRegion(body, packed_args)) return failure();
    
      // Add derived `operandSegmentSizes` attribute based on parsed operands.
      if (!result.attributes.get(kOperandSegmentSizesAttr)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        builder.create<YieldOp>(controlled_op->getLoc(),
                                controlled_op->getResults());
        result.location = controlled_op->getLoc();
      } else if (parser.parseRegion(body)) {
        return failure();
      }
    
      ControlNodeOp::ensureTerminator(body, parser.getBuilder(), result.location);
    
      // Get the results type for the control node from the terminator operands.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top