Sha256: fe3744abeff673b2fa1820bf956f7c0d3a4ebda9aaa16fbef710fc0a42c39479
Contents?: true
Size: 950 Bytes
Versions: 2
Compression:
Stored size: 950 Bytes
Contents
/** * hnswlib.rb is a Ruby binding for the Hnswlib. * * Copyright (c) 2021 Atsushi Tatsuma * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "hnswlibext.hpp" VALUE rb_mHnswlib; extern "C" void Init_hnswlibext(void) { rb_mHnswlib = rb_define_module("Hnswlib"); RbHnswlibL2Space::define_class(rb_mHnswlib); RbHnswlibInnerProductSpace::define_class(rb_mHnswlib); RbHnswlibHierarchicalNSW::define_class(rb_mHnswlib); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hnswlib-0.1.1 | ext/hnswlib/hnswlibext.cpp |
hnswlib-0.1.0 | ext/hnswlib/hnswlibext.cpp |