MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / BinaryNode

Method BinaryNode

src/backend/cpu/jit/BinaryNode.hpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31 public:
32 BinaryNode(common::Node_ptr lhs, common::Node_ptr rhs)
33 : TNode<compute_t<To>>(compute_t<To>(0),
34 std::max(lhs->getHeight(), rhs->getHeight()) + 1,
35 {{lhs, rhs}}, common::kNodeType::Nary) {}
36
37 std::unique_ptr<common::Node> clone() final {
38 return std::make_unique<BinaryNode>(*this);

Callers

nothing calls this directly

Calls 2

getHeightMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected