WooCommerce: how to set stock per attribute on variable product

WooCommerce: how to set stock per attribute on variable product