Some of tensorflow operations only have CPU implementations. Therefore, the soft placement config must be set as True as default.