private const string _keyModelStdValue = "MV_INFERENCE_MODEL_STD_VALUE";
private const string _keyBackendType = "MV_INFERENCE_BACKEND_TYPE";
private const string _keyTargetType = "MV_INFERENCE_TARGET_TYPE";
- private const string _keyTargetDevice = "MV_INFERENCE_TARGET_DEVICE";
+ private const string _keyTargetDeviceType = "MV_INFERENCE_TARGET_DEVICE_TYPE";
private const string _keyInputTensorWidth = "MV_INFERENCE_INPUT_TENSOR_WIDTH";
private const string _keyInputTensorHeight = "MV_INFERENCE_INPUT_TENSOR_HEIGHT";
private const string _keyInputTensorChannels = "MV_INFERENCE_INPUT_TENSOR_CHANNELS";
{
get
{
- return (InferenceTargetDevice)GetInt(_keyTargetDevice);
+ return (InferenceTargetDevice)GetInt(_keyTargetDeviceType);
}
set
{
ValidationUtil.ValidateEnum(typeof(InferenceTargetDevice), value, nameof(Device));
- Set(_keyTargetDevice, (int)value);
+ Set(_keyTargetDeviceType, (int)value);
}
}