Home
last modified time | relevance | path

Searched refs:ParseShardingFromDevice (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util_test.cc22 TEST(CoreUtilTest, ParseShardingFromDevice) { in TEST() argument
36 auto parse_status = ParseShardingFromDevice("", 1); in TEST()
39 parse_status = ParseShardingFromDevice("", 100); in TEST()
43 parse_status = ParseShardingFromDevice("/device:A_REPLICATED_CORE:-1", 100); in TEST()
46 parse_status = ParseShardingFromDevice("/device:A_REPLICATED_CORE:55", 100); in TEST()
50 parse_status = ParseShardingFromDevice("/device:A_REPLICATED_CORE:100", 100); in TEST()
53 parse_status = ParseShardingFromDevice("/cpu:0", 100); in TEST()
Dsharding_util.cc52 xla::StatusOr<absl::optional<xla::OpSharding>> ParseShardingFromDevice( in ParseShardingFromDevice() function
80 xla::StatusOr<absl::optional<xla::OpSharding>> ParseShardingFromDevice( in ParseShardingFromDevice() function
85 return ParseShardingFromDevice(device_name, num_cores_per_replica, sharding); in ParseShardingFromDevice()
88 xla::StatusOr<absl::optional<xla::OpSharding>> ParseShardingFromDevice( in ParseShardingFromDevice() function
96 return ParseShardingFromDevice(device_name, num_cores_per_replica, sharding); in ParseShardingFromDevice()
Dsharding_util.h36 xla::StatusOr<absl::optional<xla::OpSharding>> ParseShardingFromDevice(
40 xla::StatusOr<absl::optional<xla::OpSharding>> ParseShardingFromDevice(
43 xla::StatusOr<absl::optional<xla::OpSharding>> ParseShardingFromDevice(
Dtf2xla_util_test.cc243 auto parse_status = ParseShardingFromDevice(*c_node, num_cores_per_replica); in TEST()
251 parse_status = ParseShardingFromDevice(*c_node, num_cores_per_replica); in TEST()
258 parse_status = ParseShardingFromDevice(*a_node, num_cores_per_replica); in TEST()
Dxla_compilation_device.cc100 auto sharding_parse_result = ParseShardingFromDevice( in Compute()
Dtf2xla_util.cc508 ParseShardingFromDevice( in SetNodeShardingFromNeighbors()
Dxla_compiler.cc83 ParseShardingFromDevice(*n, std::numeric_limits<int32>::max())); in ComputeArgAndRetvalCores()