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

Method HasPartitionKey

graphlearn/src/actor/tensor_map.cc:67–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67bool ShardableTensorMap::HasPartitionKey() const {
68 return !partition_key_.empty();
69}
70
71ShardsPtr<ShardableTensorMap> ShardableTensorMap::Partition() const {
72 // FIXME(@goldenleaves): Be careful, `n` should be initialized at runtime.

Callers 1

PartitionMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected