Sha256: 8ba553176619db246e0442235a82b901d5c3170260d9dbd1d9181db7ec63cf3a
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-2023 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.7.0 | ext/hnswlib/hnswlibext.cpp |