Function deepmd::get_backend

Function deepmd::get_backend#

Function Documentation#

DPBackend deepmd::get_backend(const std::string &model)#

Get the backend of the model.

Parameters:

model[in] The model name.

Returns:

The backend of the model.