Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EncodeSharding (0.23 sec)

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

      auto shard_str = mlir::cast<mlir::StringAttr>(shard_attr).getValue().str();
      return DecodeShardingAttribute(shard_str, sharding, report_error);
    }
    
    void EncodeSharding(mlir::Operation* op, llvm::StringRef shard_str) {
      if (!op->hasAttrOfType<mlir::StringAttr>(shard_str)) return;
    
      ::xla::OpSharding sharding;
      auto sharding_proto_str =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top