- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DecodeShardingAttribute (0.39 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/xla_sharding_util_test.cc
TEST(DecodeShardingAttributeTest, CheckInvalidString) { xla::OpSharding sharding; EXPECT_TRUE(DecodeShardingAttribute("", sharding).succeeded()); EXPECT_TRUE(DecodeShardingAttribute("manual", sharding).failed()); } TEST(DecodeShardingAttributeTest, CheckManualShardString) { xla::OpSharding sharding; EXPECT_TRUE(DecodeShardingAttribute("{manual}", sharding).succeeded()); EXPECT_TRUE(sharding.type() == sharding.MANUAL);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h
// or human readable. mlir::LogicalResult DecodeShardingAttribute(const std::string& shard_str, xla::OpSharding& sharding, bool report_error = true); // Encodes the sharding in human readable form. mlir::LogicalResult DecodeShardingAttribute(mlir::Attribute shard_attr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:18:34 UTC 2024 - 6K bytes - Viewed (0)