A library that provides conversion method between Apache Arrow and Numo::NArray
Ruby Dockerfile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc/text Fix date Apr 20, 2017
lib Bump version Apr 20, 2017
test test: fix input Apr 22, 2017
.gitignore Ignore auto generated files Apr 20, 2017
.travis.yml travis: use Webhook Aug 15, 2018
.yardopts Import Apr 20, 2017
Dockerfile Import Apr 20, 2017
Gemfile Import Apr 20, 2017
LICENSE Import Apr 20, 2017
README.md Improve description Apr 22, 2017
Rakefile Import Apr 20, 2017
red-arrow-numo-narray.gemspec Fix a typo Apr 20, 2017

README.md

README

Name

Red Arrow Numo::NArray

Description

Red Arrow Numo::NArray is a library that provides converters between Apache Arrow's tensor data (Arrow::Tensor) and Numo::NArray data.

Red Arrow Numo::NArray adds Arrow::Tensor#to_narray and #to_arrow to Numo::NArray's numerical subclasses such as Numo::Int8. Arrow::Tensor#to_narray returns a Numo::NArray's numerical subclass such as Numo::Int8. #to_arrow returns a Arrow::Tensor.

Install

% gem install red-arrow-numo-narray

Usage

require "arrow-numo-narray"

tensor.to_narray # -> An object of Numo::NArray's numeric subclass such as Numo::Int8
narray.to_arrow  # -> An object of Arrow::Tensor

Dependencies

Authors

License

Apache License 2.0. See doc/text/apache-2.0.txt for details.

(Kouhei Sutou has a right to change the license including contributed patches.)