[python] Model summary in pytorch