Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for channel_handle (0.11 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

      builder.setInsertionPoint(op);
      ChannelHandleAttr channel_handle = ConvertChannel(builder, channel_id, mode);
      Location loc = op->getLoc();
      Type element_type = getElementTypeOrSelf(input.getType());
      auto all_reduce = builder.create<AllReduceOp>(
          loc, result_type, input, replica_groups, channel_handle, nullptr);
    
      if (all_reduce.getNumResults() != 1) {
        return op->emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      // type 2 == DEVICE_TO_HOST
      auto channel_handle = ChannelHandleAttr::get(builder.getContext(),
                                                   /*handle=*/GetNextChannelId(),
                                                   /*type=*/2);
      auto send = builder.create<SendOp>(
          loc, token.getType(), operand, token, channel_handle,
          /*is_host_transfer=*/builder.getBoolAttr(true));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top