设置Tensor的数据排布格式。
void SetFormat(Format format)
参数
输入/输出
说明
format
输入
数据排布格式,类型定义在cpu_types.h文件中。
无。
shape->SetFormat(FORMAT_NCHW);