|
|
|
@@ -377,10 +377,9 @@ |
|
|
|
var options=ele.options; |
|
|
|
var option = options[index]; |
|
|
|
console.log("SrcEngine value=" + option); |
|
|
|
|
|
|
|
let destFormatHtml = "<option name=\"ONNX\" value=\"0\">ONNX</option>"; |
|
|
|
let netOutputFormatHtml = "<option name=\"FP32\" value=\"0\">FP32</option>"; |
|
|
|
if(option.value == 0){ |
|
|
|
if(option==null || option =="undefined" || option.value == 0){ |
|
|
|
destFormatHtml += "<option name=\"TensorRT\" value=\"1\">TensorRT</option>" |
|
|
|
netOutputFormatHtml += "<option name=\"FP16\" value=\"1\">FP16</option>"; |
|
|
|
} |
|
|
|
|