Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
void ShardableTensorMap::SetPartitionKey(const std::string& pkey) {
64
partition_key_ = pkey;
65
}
66
67
bool ShardableTensorMap::HasPartitionKey() const {
68
return !partition_key_.empty();
Callers
1
PartitionInput
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected