Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

          }
          // Token is a control signal and not a real data, so arbitrarily assign
          // the token to device 0.
          if (sharding_proto.type() == ::xla::OpSharding::TUPLE) {
            *sharding_proto.add_tuple_shardings() =
                ::xla::sharding_builder::AssignDevice(0);
            data_and_token->setAttr(
                kShardingAttr,
                rewriter.getStringAttr(sharding_proto.SerializeAsString()));
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top