We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d2902 commit 0371eb8Copy full SHA for 0371eb8
src/python_be.cc
@@ -340,6 +340,9 @@ ModelInstanceState::SaveRequestsToSharedMemory(
340
} else if (type == TRITONSERVER_PARAMETER_STRING) {
341
std::string string = reinterpret_cast<const char*>(vvalue);
342
RETURN_IF_ERROR(parameters_json.AddString(name, string));
343
+ } else if (type == TRITONSERVER_PARAMETER_DOUBLE) {
344
+ RETURN_IF_ERROR(parameters_json.AddDouble(
345
+ name, *(reinterpret_cast<const double*>(vvalue))));
346
} else {
347
return TRITONSERVER_ErrorNew(
348
TRITONSERVER_ERROR_INVALID_ARG,
0 commit comments