t3f
t3f copied to clipboard
Implement working with batches as a decorator
Something like
@support_batches
def matmul(a, b):
...
matmul(a, b)
matmul(batch_a, b)
matmul(batch_a, batch_b)
Something like
@support_batches
def matmul(a, b):
...
matmul(a, b)
matmul(batch_a, b)
matmul(batch_a, batch_b)