cutlass
cutlass copied to clipboard
[QST]Can I create a null tensor?
Hi! I am wondering can I create a null tensor?
I am creating a tensor within a {} but need to use it in another {}. The lifetime of a variable is within a {}. So I need to create the tensor before the first {}, like:
Tensor s;
{
auto s = ......
}
{
func(s, ......)
}
But it seems I can not create like Tensor s
???