Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecodeShardingAttribute (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

    }
    
    bool IsReplicatedSharding(const xla::OpSharding& sharding) {
      return sharding.type() == xla::OpSharding::REPLICATED ||
             IsOtherReplicatedSharding(sharding);
    }
    
    mlir::LogicalResult DecodeShardingAttribute(const std::string& shard_str,
                                                xla::OpSharding& sharding,
                                                bool report_error) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

        const XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
        xla::Shape* shape) {
      if (!sharding) return absl::OkStatus();
    
      xla::OpSharding op_sharding;
      if (tensorflow::DecodeShardingAttribute(sharding, op_sharding).failed()) {
        return errors::InvalidArgument("failed to parse sharding '",
                                       sharding.getValue().str(), "'");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top