Sha256: eacc103913959760719c5008c363f6d1d2a9a7e4fd3d7a1be750f78d1a87e472

Contents?: true

Size: 287 Bytes

Versions: 89

Compression:

Stored size: 287 Bytes

Contents

module OnnxRuntime
  module Datasets
    def self.example(name)
      unless %w(logreg_iris.onnx mul_1.onnx sigmoid.onnx).include?(name)
        raise ArgumentError, "Unable to find example '#{name}'"
      end
      File.expand_path("../../datasets/#{name}", __dir__)
    end
  end
end

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
onnxruntime-0.5.1 lib/onnxruntime/datasets.rb
onnxruntime-0.5.0 lib/onnxruntime/datasets.rb
onnxruntime-0.4.0 lib/onnxruntime/datasets.rb
onnxruntime-0.3.3 lib/onnxruntime/datasets.rb
onnxruntime-0.3.2 lib/onnxruntime/datasets.rb
onnxruntime-0.3.1 lib/onnxruntime/datasets.rb
onnxruntime-0.3.0 lib/onnxruntime/datasets.rb
onnxruntime-0.2.3 lib/onnxruntime/datasets.rb
onnxruntime-0.2.2 lib/onnxruntime/datasets.rb