Public Member Functions | |
SubgraphCache (const GraphCache &parent_graph_cache) | |
Constructs a SubgraphCache class object. More... | |
Output< ngraph::Node > | get_node (const std::string &name) const override |
Get the node from the cache (subgraph or parent graph) More... | |
bool | contains (const std::string &name) const override |
Return true if the node named name exist in the cache. More... | |
Public Member Functions inherited from ngraph::onnx_import::GraphCache | |
void | emplace_node (const std::string &name, Output< ngraph::Node > &&node) |
Add node to the cache or override the existing one. More... | |
ngraph::onnx_import::SubgraphCache::SubgraphCache | ( | const GraphCache & | parent_graph_cache | ) |
Constructs a SubgraphCache class object.
[in] | parent_graph_cache | The reference to the parent graph. |
|
overridevirtual |
Return true if the node named name
exist in the cache.
[in] | name | The name of the node. |
name
exist in the cache (subgraph or parent graph), false otherwise. Reimplemented from ngraph::onnx_import::GraphCache.
|
overridevirtual |
Get the node from the cache (subgraph or parent graph)
[in] | name | The name of the node. |
name
from subgraph (as present) or from parent graph. Reimplemented from ngraph::onnx_import::GraphCache.