13 const ONNXTensorElementDataType
type,
21 const ONNXTensorElementDataType
type,
22 const std::string& model_name)
30 if (model_name ==
"UnknownModelName") {
33 return model_name +
"_" +
name;
38 using ORT = ONNXTensorElementDataType;
39 if (
type == ORT::ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT) {
42 }
else if (rank == 1) {
45 }
else if (
type == ORT::ONNX_TENSOR_ELEMENT_DATA_TYPE_INT8) {