将tvm格式的shape转换为列表格式的shape。
def shape_to_list(shape)
参数
说明
shape
数据shape
返回列表。
无
from tbe.common.utils import shape_util shape_util.shape_to_list((32,64,64,3))
把shape(32,64,64,3)转为列表[32,64,64,3]。