MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CoreOutOfRangeError

Function CoreOutOfRangeError

tensorflow/compiler/tf2xla/sharding_util.cc:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45Status CoreOutOfRangeError(int core, int num_cores_per_replica) {
46 return errors::InvalidArgument(
47 "Invalid replicated core id: ", core,
48 "; num_cores_per_replica=", num_cores_per_replica);
49}
50} // namespace
51
52xla::StatusOr<absl::optional<xla::OpSharding>> ParseShardingFromDevice(

Callers 1

ParseShardingFromDeviceFunction · 0.85

Calls 1

InvalidArgumentFunction · 0.85

Tested by

no test coverage detected