MCPcopy Create free account
hub / github.com/ml-explore/mlx-data / is_final_node

Method is_final_node

mlx/data/core/Graph.cpp:157–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 return startNodeIds_.find(id) != startNodeIds_.end();
156}
157bool GraphBase::is_final_node(int64_t id) const {
158 return finalNodeIds_.find(id) != finalNodeIds_.end();
159}
160
161const std::unordered_set<int64_t>& GraphBase::start_nodes() const {
162 return startNodeIds_;

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected