Skip to content

Commit

Permalink
rust: Add missing cases for ORT tensor handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
hgaiser committed Nov 23, 2023
1 parent 9a050a1 commit 5fb71ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rust/onnxruntime/src/tensor/ort_output_tensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,18 @@ impl<'a> TryFrom<OrtOutputTensor> for OrtOutput<'a> {
sys::ONNXTensorElementDataType::ONNX_TENSOR_ELEMENT_DATA_TYPE_BFLOAT16 => {
unimplemented!()
}
sys::ONNXTensorElementDataType::ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E4M3FN => {
unimplemented!()
}
sys::ONNXTensorElementDataType::ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E4M3FNUZ => {
unimplemented!()
}
sys::ONNXTensorElementDataType::ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E5M2 => {
unimplemented!()
}
sys::ONNXTensorElementDataType::ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E5M2FNUZ => {
unimplemented!()
}
}
}
}
Expand Down

0 comments on commit 5fb71ef

Please sign in to comment.