Function MSModelResize

Function Documentation

MSStatus MSModelResize(MSModelHandle model, const MSTensorHandleArray inputs, MSShapeInfo *shape_infos, size_t shape_info_num)

Resizes the shapes of inputs.

Parameters
  • model[in] Model object handle.

  • inputs[in] The array that includes all input tensor handles.

  • shape_infos[in] Defines the new shapes of inputs, should be consistent with inputs.

  • shape_info_num[in] The num of shape_infos.

Returns

MSStatus.