Function DP_NewDeepTensorWithParam

Function Documentation

DP_DeepTensor *DP_NewDeepTensorWithParam(const char *c_model, const int gpu_rank, const char *c_name_scope)

Deep Tensor constructor with initialization.

Parameters
  • c_model – The name of the frozen model file.

  • gpu_rank – The rank of the GPU.

  • c_name_scope – The name scope.

Returns

DP_DeepTensor* A pointer to the deep tensor.