返回顶部 get_format 功能说明获取张量格式。 函数原型1get_format() -> Format 参数说明无 返回值说明(Format)张量格式。 约束说明如果返回值不是有效的Format,抛出ValueError。 父主题: Tensor