- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EncodeSharding (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h
bool report_error = true); // Parses the sharding attr. This sharding attr can be binary (serialized) // or human readable. void EncodeSharding(mlir::Operation* op, llvm::StringRef shard_str); // Parses "input_sharding_configuration" attribute and returns a list where i-th // element is a list of mlir::Value's which represent inputs for the TPU
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:18:34 UTC 2024 - 6K bytes - Viewed (0) -
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)