Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ UnaryNode
Method
UnaryNode
src/backend/cpu/jit/UnaryNode.hpp:36–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
35
public:
36
UnaryNode(common::Node_ptr child)
37
: TNode<To>(To(0), child->getHeight() + 1, {{child}},
38
common::kNodeType::Nary) {}
39
40
std::unique_ptr<common::Node> clone() final {
41
return std::make_unique<UnaryNode>(*this);
Callers
nothing calls this directly
Calls
1
getHeight
Method · 0.80
Tested by
no test coverage detected