Function Snpe_RuntimeConfig_SetInputDimensionsMap

Function Documentation

Snpe_ErrorCode_t Snpe_RuntimeConfig_SetInputDimensionsMap(Snpe_RuntimeConfig_Handle_t rcHandle, Snpe_TensorShapeMap_Handle_t tsmHandle)

Set the input dimension map for runtime config.

Parameters
  • rcHandle[in] Handle to access the runtime config.

  • tsmHandle[in] Handle to access the tensor shap map.

Returns

Returns SNPE_SUCCESS if the tensor shap map added successfully.