Macros
macro returnEmptyIfEmpty(tensors: varargs[untyped]): untyped
- If any of the argument tensors are empty return an empty tensor Source Edit
Templates
template skipIfEmpty(t: typed): untyped
- Skip the iteration of a "for-loop" or "while-loop" if the tensor is empty Source Edit