The flavor set command just adds a key-value pair to the flavor. You can use it, for example, to link the flavor to an aggregate, or to influence the Nova scheduler, but it doesn't change any of the fundamental flavor parameters (CPU, disk, RAM). Run openstack flavor list or flavor show and check the number of CPUs - it doesn't change.