Skip to content

Commit

Permalink
eliminated backend and enum functions
Browse files Browse the repository at this point in the history
  • Loading branch information
sbein committed Apr 12, 2023
1 parent 42ac076 commit 843898a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions PhysicsTools/ONNXRuntime/interface/ONNXRuntime.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
namespace cms::Ort {

typedef std::vector<std::vector<float>> FloatArrays;

enum class Backend {
cpu,
};

class ONNXRuntime {
public:
Expand All @@ -33,7 +29,6 @@ namespace cms::Ort {
ONNXRuntime& operator=(const ONNXRuntime&) = delete;
~ONNXRuntime();

static ::Ort::SessionOptions defaultSessionOptions(Backend backend = Backend::cpu);
// Run inference and get outputs
// input_names: list of the names of the input nodes.
// input_values: list of input arrays for each input node. The order of `input_values` must match `input_names`.
Expand Down

0 comments on commit 843898a

Please sign in to comment.