Sha256: fee02abb30c3e969eabfb6cd60e2f9a54acd154aad7f6c1781d09d546eb9994b
Contents?: true
Size: 1011 Bytes
Versions: 1
Compression:
Stored size: 1011 Bytes
Contents
/** * hnswlib.rb is a Ruby binding for the Hnswlib. * * Copyright (c) 2021-2022 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); RbHnswlibBruteforceSearch::define_class(rb_mHnswlib); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hnswlib-0.6.2 | ext/hnswlib/hnswlibext.cpp |