This function returns true if the \p node is a Shift node or a Buffer node
| 84 | |
| 85 | /// This function returns true if the \p node is a Shift node or a Buffer node |
| 86 | auto isBufferOrShift(const Node_ptr &node) -> bool { |
| 87 | return node->getNodeType() == kNodeType::Buffer || |
| 88 | node->getNodeType() == kNodeType::Shift; |
| 89 | } |
| 90 | |
| 91 | } // namespace common |
| 92 | } // namespace arrayfire |
nothing calls this directly
no test coverage detected