Tensorizing flows: a tool for variational inference