python类参数定义及数据扩展方式unsqueeze/expand