File FaissAssert.h
Defines
-
FAISS_ASSERT(X)
Copyright (c) Facebook, Inc. and its affiliates.
This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. Assertions
-
FAISS_ASSERT_MSG(X, MSG)
-
FAISS_ASSERT_FMT(X, FMT, ...)
-
FAISS_THROW_MSG(MSG)
Exceptions for returning user errors
-
FAISS_THROW_FMT(FMT, ...)
-
FAISS_THROW_IF_NOT(X)
Exceptions thrown upon a conditional failure
-
FAISS_THROW_IF_NOT_MSG(X, MSG)
-
FAISS_THROW_IF_NOT_FMT(X, FMT, ...)