d66d6486

By: lcnbr <im@lcnbr.ch>

add typed tensor factories and pattern builders