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.9.3-x86_64-linux lib/onnxruntime/datasets.rb
onnxruntime-0.9.3-x86_64-darwin lib/onnxruntime/datasets.rb
onnxruntime-0.9.3-x64-mingw lib/onnxruntime/datasets.rb
onnxruntime-0.9.3-arm64-darwin lib/onnxruntime/datasets.rb
onnxruntime-0.9.3-aarch64-linux lib/onnxruntime/datasets.rb
onnxruntime-0.9.3 lib/onnxruntime/datasets.rb
onnxruntime-0.9.2-x86_64-linux lib/onnxruntime/datasets.rb
onnxruntime-0.9.2-x86_64-darwin lib/onnxruntime/datasets.rb
onnxruntime-0.9.2-x64-mingw lib/onnxruntime/datasets.rb
onnxruntime-0.9.2-arm64-darwin lib/onnxruntime/datasets.rb
onnxruntime-0.9.2-aarch64-linux lib/onnxruntime/datasets.rb
onnxruntime-0.9.2 lib/onnxruntime/datasets.rb
onnxruntime-0.9.0-x86_64-linux lib/onnxruntime/datasets.rb
onnxruntime-0.9.0-x86_64-darwin lib/onnxruntime/datasets.rb
onnxruntime-0.9.0-x64-mingw lib/onnxruntime/datasets.rb
onnxruntime-0.9.0-arm64-darwin lib/onnxruntime/datasets.rb
onnxruntime-0.9.0-aarch64-linux lib/onnxruntime/datasets.rb
onnxruntime-0.9.0 lib/onnxruntime/datasets.rb
onnxruntime-0.8.0-x86_64-linux lib/onnxruntime/datasets.rb
onnxruntime-0.8.0-x86_64-darwin lib/onnxruntime/datasets.rb