Function DP_NewDeepPotWithParam#
Defined in File c_api.h
Function Documentation#
- DP_DeepPot *DP_NewDeepPotWithParam(const char *c_model, const int gpu_rank, const char *c_file_content)#
DP constructor with initialization.
- Parameters:
c_model – The name of the frozen model file.
gpu_rank – The rank of the GPU.
c_file_content – Broken implementation. Use DP_NewDeepPotWithParam2 instead.
- Returns:
DP_DeepPot* A pointer to the deep potential.