MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / Get

Method Get

paddle/ap/include/graph/node_arena.h:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151template <typename T>
152adt::Result<T> Node<T>::Get() const {
153 ADT_LET_CONST_REF(arena, adt::WeakPtrLock(this->node_arena()));
154 return arena->At(this->node_id());
155}
156
157template <typename T>
158adt::Result<NodeList<T>> Node<T>::DownstreamNodes() const {

Calls 3

node_arenaMethod · 0.95
WeakPtrLockFunction · 0.85
AtMethod · 0.45

Tested by

no test coverage detected