|
SHL 2.2.x
|
Functions | |
| void | csinn_set_output_number (int number, struct csinn_session *sess) |
| Set the output number of the model. More... | |
| void | csinn_set_input_number (int number, struct csinn_session *sess) |
| Set the input number of the model. More... | |
| int | csinn_get_output_number (struct csinn_session *sess) |
| Get the output number of the model. More... | |
| int | csinn_get_input_number (struct csinn_session *sess) |
| Get the input number of the model. More... | |
| int | csinn_set_output (int index, struct csinn_tensor *output, struct csinn_session *sess) |
| Set the specified output of the model. More... | |
| int | csinn_set_input (int index, struct csinn_tensor *input, struct csinn_session *sess) |
| Set the specified input of the model. More... | |
| int | csinn_get_output (int index, struct csinn_tensor *output, struct csinn_session *sess) |
| Get the specified output of the model. More... | |
| int | csinn_get_input (int index, struct csinn_tensor *input, struct csinn_session *sess) |
| Get the specified input of the model. More... | |
| int | csinn_update_input (int index, struct csinn_tensor *input, struct csinn_session *sess) |
| Update specified input information. More... | |
| int | csinn_update_output (int index, struct csinn_tensor *output, struct csinn_session *sess) |
| Update specified output information. More... | |
| int | csinn_set_tensor_entry (struct csinn_tensor *t, struct csinn_session *sess) |
| Set input nodes. More... | |
| void csinn_set_output_number | ( | int | number, |
| struct csinn_session * | sess | ||
| ) |
Set the output number of the model.
| [in] | number | Output number |
| [out] | sess | The session to be set |
| void csinn_set_input_number | ( | int | number, |
| struct csinn_session * | sess | ||
| ) |
Set the input number of the model.
| [in] | number | Input number |
| [out] | sess | The session to be set |
| int csinn_get_output_number | ( | struct csinn_session * | sess | ) |
Get the output number of the model.
| [in] | sess | The session to be get |
| int csinn_get_input_number | ( | struct csinn_session * | sess | ) |
Get the input number of the model.
| [in] | sess | The session to be get |
| int csinn_set_output | ( | int | index, |
| struct csinn_tensor * | output, | ||
| struct csinn_session * | sess | ||
| ) |
Set the specified output of the model.
| [in] | index | Output index |
| [in] | output | Output tensor |
| [out] | sess | The session to be set |
| int csinn_set_input | ( | int | index, |
| struct csinn_tensor * | input, | ||
| struct csinn_session * | sess | ||
| ) |
Set the specified input of the model.
| [in] | index | Input index |
| [in] | input | Input tensor |
| [out] | sess | The session to be set |
| int csinn_get_output | ( | int | index, |
| struct csinn_tensor * | output, | ||
| struct csinn_session * | sess | ||
| ) |
Get the specified output of the model.
| [in] | index | Output index |
| [in,out] | output | Output tensor |
| [in] | sess | The session to be obtained |
The interface will modify the output information of the specified serial number into the parameter output.
| int csinn_get_input | ( | int | index, |
| struct csinn_tensor * | input, | ||
| struct csinn_session * | sess | ||
| ) |
Get the specified input of the model.
| [in] | index | Input index |
| [in,out] | input | Input tensor |
| [in] | sess | The session to be obtained |
The interface will modify the input information of the specified serial number into the parameter input.
| int csinn_update_input | ( | int | index, |
| struct csinn_tensor * | input, | ||
| struct csinn_session * | sess | ||
| ) |
Update specified input information.
| [in] | index | Input index |
| [in,out] | input | Input tensor |
| [in] | sess | The session to be obtained |
| int csinn_update_output | ( | int | index, |
| struct csinn_tensor * | output, | ||
| struct csinn_session * | sess | ||
| ) |
Update specified output information.
| [in] | index | Output index |
| [in,out] | output | Output tensor |
| [in] | sess | The session to be obtained |
| int csinn_set_tensor_entry | ( | struct csinn_tensor * | tensor, |
| struct csinn_session * | sess | ||
| ) |
Set input nodes.
| [in] | tensor | The tensor needs to be set as input |
| [out] | sess | The session to be set |