Function openvino_sys::ie_network_set_input_layout
source · pub unsafe fn ie_network_set_input_layout(
network: *mut ie_network_t,
input_name: *const c_char,
l: layout_e
) -> IEStatusCode
Expand description
@brief Changes the layout of the input data named “input_name”. This function should be called before loading the network to the device. @ingroup Network @param network A pointer to ie_network_t instance. @param input_name Name of input data. @param l A new layout of the input data to set. @return Status code of the operation: OK(0) for success.