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

Method UnaryNode

src/backend/common/jit/UnaryNode.hpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16class UnaryNode : public NaryNode {
17 public:
18 UnaryNode(const af::dtype type, const char *op_str, Node_ptr child,
19 af_op_t op)
20 : NaryNode(type, op_str, 1, {{child}}, op, child->getHeight() + 1) {
21 static_assert(std::is_nothrow_move_assignable<UnaryNode>::value,
22 "UnaryNode is not move assignable");
23 static_assert(std::is_nothrow_move_constructible<UnaryNode>::value,
24 "UnaryNode is not move constructible");
25 }
26};
27} // namespace common
28} // namespace arrayfire

Callers

nothing calls this directly

Calls 1

getHeightMethod · 0.80

Tested by

no test coverage detected