MCPcopy Create free account
hub / github.com/alibaba/graph-learn / SetPartitionKey

Method SetPartitionKey

graphlearn/src/actor/tensor_map.cc:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void ShardableTensorMap::SetPartitionKey(const std::string& pkey) {
64 partition_key_ = pkey;
65}
66
67bool ShardableTensorMap::HasPartitionKey() const {
68 return !partition_key_.empty();

Callers 1

PartitionInputFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected