26 case circle::TensorType_FLOAT32:
27 return circlechef::FLOAT32;
28 case circle::TensorType_INT32:
29 return circlechef::INT32;
30 case circle::TensorType_INT64:
31 return circlechef::INT64;
32 case circle::TensorType_UINT8:
33 return circlechef::UINT8;
34 case circle::TensorType_UINT4:
35 return circlechef::UINT4;
36 case circle::TensorType_BOOL:
37 return circlechef::BOOL;
38 case circle::TensorType_INT16:
39 return circlechef::INT16;
40 case circle::TensorType_INT4:
41 return circlechef::INT4;
42 case circle::TensorType_MXFP4:
43 return circlechef::MXFP4;
44 case circle::TensorType_MXINT8:
45 return circlechef::MXINT8;
51 throw std::runtime_error{
"unsupported tensor type"};