MCPcopy Create free account
hub / github.com/NVIDIA/DALI / GetOperator

Method GetOperator

dali/pipeline/executor/executor_impl.cc:346–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344
345template <typename WorkspacePolicy, typename QueuePolicy>
346OperatorBase *Executor<WorkspacePolicy, QueuePolicy>::GetOperator(std::string_view op_name) {
347 if (auto *node = graph_->NodePtr(op_name))
348 return node->op.get();
349 else
350 return nullptr;
351}
352
353
354template <typename WorkspacePolicy, typename QueuePolicy>

Callers 4

SerializeToProtobufMethod · 0.45
ValidateSplitPinnedMethod · 0.45
ValidateMergePinnedMethod · 0.45

Calls 2

NodePtrMethod · 0.80
getMethod · 0.45

Tested by 2

ValidateSplitPinnedMethod · 0.36
ValidateMergePinnedMethod · 0.36