|
OpenNN
Open-source neural networks library
|
#include <algorithm>#include <ranges>#include <span>#include <numbers>#include <source_location>#include <execution>#include <charconv>#include <format>#include <string>#include <string_view>#include <cassert>#include <cmath>#include <ctime>#include <filesystem>#include <functional>#include <iomanip>#include <iostream>#include <time.h>#include <iterator>#include <map>#include <numeric>#include <vector>#include <unordered_map>#include <unordered_set>#include <exception>#include <memory>#include <random>#include <regex>#include <cstring>#include <cstdlib>#include <fstream>#include <stdexcept>#include <stdlib.h>#include <set>#include <sstream>#include <omp.h>#include <Eigen/Core>#include <unsupported/Eigen/CXX11/Tensor>#include <Eigen/src/Core/util/DisableStupidWarnings.h>#include "json.h"Go to the source code of this file.
Classes | |
| struct | __nv_bfloat16 |
| struct | __half |
| struct | cudnnTensorStruct |
Namespaces | |
| namespace | opennn |
Macros | |
| #define | EIGEN_USE_THREADS |
| #define | EIGEN_MAX_ALIGN_BYTES 64 |
| #define | EIGEN_NO_DEBUG |
| #define | NOMINMAX |
| #define | _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING |
| #define | _CRT_SECURE_NO_WARNINGS |
| #define | EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS |
| #define | _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING |
Typedefs | |
| using | cudaStream_t = void* |
| using | cudaEvent_t = void* |
| using | cublasHandle_t = void* |
| using | cublasLtHandle_t = void* |
| using | cudnnHandle_t = void* |
| using | cudnnTensorDescriptor_t = cudnnTensorStruct* |
| using | cudnnFilterDescriptor_t = void* |
| using | cudnnConvolutionDescriptor_t = void* |
| using | cudnnPoolingDescriptor_t = void* |
| using | cudnnActivationDescriptor_t = void* |
| using | cudnnDropoutDescriptor_t = void* |
| using | cudnnOpTensorDescriptor_t = void* |
| using | opennn::bfloat16 = __nv_bfloat16 |
| using | MatrixR = Matrix<float, Dynamic, Dynamic, Layout> |
| using | MatrixI = Matrix<Index, Dynamic, Dynamic, Layout> |
| using | MatrixB = Matrix<bool, Dynamic, Dynamic, Layout> |
| using | VectorR = Matrix<float, Dynamic, 1> |
| using | VectorI = Matrix<Index, Dynamic, 1> |
| using | VectorB = Matrix<bool, Dynamic, 1> |
| using | VectorMap = Map<VectorR, AlignedMax> |
| using | MatrixMap = Map<MatrixR, Layout | AlignedMax> |
| using | Tensor0 = Tensor<float, 0, Layout | AlignedMax> |
| using | Tensor2 = Tensor<float, 2, Layout | AlignedMax> |
| using | Tensor3 = Tensor<float, 3, Layout | AlignedMax> |
| using | Tensor4 = Tensor<float, 4, Layout | AlignedMax> |
| template<int Rank> | |
| using | TensorR = Tensor<float, Rank, Layout | AlignedMax> |
| using | TensorMap2 = TensorMap<Tensor<float, 2, Layout | AlignedMax>, AlignedMax> |
| using | TensorMap3 = TensorMap<Tensor<float, 3, Layout | AlignedMax>, AlignedMax> |
| using | TensorMap4 = TensorMap<Tensor<float, 4, Layout | AlignedMax>, AlignedMax> |
| template<int Rank> | |
| using | TensorMapR = TensorMap<Tensor<float, Rank, Layout | AlignedMax>, AlignedMax> |
Functions | |
| void | opennn::throw_if (bool condition, const string &message, const source_location &loc=source_location::current()) |
| template<typename T> | |
| ostream & | opennn::operator<< (ostream &os, const vector< T > &vec) |
Variables | |
| constexpr float | opennn::EPSILON = numeric_limits<float>::epsilon() |
| constexpr float | opennn::MAX = numeric_limits<float>::max() |
| constexpr float | opennn::NEG_INFINITY = -numeric_limits<float>::infinity() |
| constexpr float | opennn::QUIET_NAN = numeric_limits<float>::quiet_NaN() |
| constexpr float | opennn::SOFTMAX_MASK_VALUE = float(-1e9f) |
| constexpr int | Layout = Eigen::RowMajor |
| #define _CRT_SECURE_NO_WARNINGS |
| #define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING |
| #define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING |
| #define EIGEN_MAX_ALIGN_BYTES 64 |
| #define EIGEN_NO_DEBUG |
| #define EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS |
| #define EIGEN_USE_THREADS |
| #define NOMINMAX |
| using cublasHandle_t = void* |
| using cublasLtHandle_t = void* |
| using cudaEvent_t = void* |
| using cudaStream_t = void* |
| using cudnnActivationDescriptor_t = void* |
| using cudnnConvolutionDescriptor_t = void* |
| using cudnnDropoutDescriptor_t = void* |
| using cudnnFilterDescriptor_t = void* |
| using cudnnHandle_t = void* |
| using cudnnOpTensorDescriptor_t = void* |
| using cudnnPoolingDescriptor_t = void* |
| using cudnnTensorDescriptor_t = cudnnTensorStruct* |
| using TensorMap2 = TensorMap<Tensor<float, 2, Layout | AlignedMax>, AlignedMax> |
| using TensorMap3 = TensorMap<Tensor<float, 3, Layout | AlignedMax>, AlignedMax> |
| using TensorMap4 = TensorMap<Tensor<float, 4, Layout | AlignedMax>, AlignedMax> |
| using TensorMapR = TensorMap<Tensor<float, Rank, Layout | AlignedMax>, AlignedMax> |
| using VectorB = Matrix<bool, Dynamic, 1> |
| using VectorI = Matrix<Index, Dynamic, 1> |
| using VectorR = Matrix<float, Dynamic, 1> |
| enum cublasComputeType_t |
| enum cublasLtEpilogue_t |
| enum cublasOperation_t |
| enum cudaDataType_t |
| enum cudnnBatchNormMode_t |
| enum cudnnDataType_t |
| enum cudnnPoolingMode_t |
|
constexpr |