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

Method BinaryNode

src/backend/common/jit/BinaryNode.hpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18class BinaryNode : public NaryNode {
19 public:
20 BinaryNode(const af::dtype type, const char *op_str, common::Node_ptr lhs,
21 common::Node_ptr rhs, af_op_t op)
22 : NaryNode(type, op_str, 2, {{lhs, rhs}}, op,
23 std::max(lhs->getHeight(), rhs->getHeight()) + 1) {}
24};
25
26template<typename To, typename Ti, af_op_t op>

Callers

nothing calls this directly

Calls 2

getHeightMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected