Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yf711 committed Dec 18, 2023
1 parent ea6186e commit 0e7dc50
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ struct TensorRTCustomOp : Ort::CustomOpBase<TensorRTCustomOp, TensorRTCustomKern

OrtCustomOpInputOutputCharacteristic GetOutputCharacteristic(size_t) const { return OrtCustomOpInputOutputCharacteristic::INPUT_OUTPUT_VARIADIC; };

constexpr bool GetVariadicInputHomogeneity() const noexcept {
return false; // heterogenous
}

constexpr bool GetVariadicOutputHomogeneity() const noexcept {
return false; // heterogeneous
}

private:
const char* provider_{onnxruntime::kTensorrtExecutionProvider};
void* compute_stream_;
Expand Down

0 comments on commit 0e7dc50

Please sign in to comment.