|
| using | opennn::cudaStream_t = void* |
| |
| using | opennn::cudaEvent_t = void* |
| |
| using | opennn::cublasHandle_t = void* |
| |
| using | opennn::cublasLtHandle_t = void* |
| |
| using | opennn::cudnnHandle_t = void* |
| |
| using | opennn::cudnnTensorDescriptor_t = cudnnTensorStruct* |
| |
| using | opennn::cudnnFilterDescriptor_t = void* |
| |
| using | opennn::cudnnConvolutionDescriptor_t = void* |
| |
| using | opennn::cudnnPoolingDescriptor_t = void* |
| |
| using | opennn::cudnnActivationDescriptor_t = void* |
| |
| using | opennn::cudnnDropoutDescriptor_t = void* |
| |
| using | opennn::cudnnOpTensorDescriptor_t = void* |
| |
| using | opennn::MatrixR = Matrix<float, Dynamic, Dynamic, Layout> |
| |
| using | opennn::MatrixI = Matrix<Index, Dynamic, Dynamic, Layout> |
| |
| using | opennn::MatrixB = Matrix<bool, Dynamic, Dynamic, Layout> |
| |
| using | opennn::VectorR = Matrix<float, Dynamic, 1> |
| |
| using | opennn::VectorI = Matrix<Index, Dynamic, 1> |
| |
| using | opennn::VectorB = Matrix<bool, Dynamic, 1> |
| |
| using | opennn::VectorMap = Map<VectorR, AlignedMax> |
| |
| using | opennn::MatrixMap = Map<MatrixR, Layout | AlignedMax> |
| |
| using | opennn::Tensor0 = Tensor<float, 0, Layout | AlignedMax> |
| |
| using | opennn::Tensor2 = Tensor<float, 2, Layout | AlignedMax> |
| |
| using | opennn::Tensor3 = Tensor<float, 3, Layout | AlignedMax> |
| |
| using | opennn::Tensor4 = Tensor<float, 4, Layout | AlignedMax> |
| |
| template<int Rank> |
| using | opennn::TensorR = Tensor<float, Rank, Layout | AlignedMax> |
| |
| using | opennn::TensorMap2 = TensorMap<Tensor<float, 2, Layout | AlignedMax>, AlignedMax> |
| |
| using | opennn::TensorMap3 = TensorMap<Tensor<float, 3, Layout | AlignedMax>, AlignedMax> |
| |
| using | opennn::TensorMap4 = TensorMap<Tensor<float, 4, Layout | AlignedMax>, AlignedMax> |
| |
| template<int Rank> |
| using | opennn::TensorMapR = TensorMap<Tensor<float, Rank, Layout | AlignedMax>, AlignedMax> |
| |
| template<typename T, size_t N> |
| using | opennn::opennn::array = Eigen::array<T, N> |
| |
|
| template<typename T> |
| ostream & | opennn::opennn::operator<< (ostream &os, const vector< T > &vec) |
| |
| void | opennn::opennn::add_json_field (JsonWriter &writer, const std::string &name, const std::string &value) |
| |
| void | opennn::opennn::write_json (JsonWriter &writer, std::initializer_list< std::pair< const char *, std::string > > props) |
| |
| float | opennn::opennn::read_json_type (const Json *root, const std::string &field) |
| |
| long | opennn::opennn::read_json_index (const Json *root, const std::string &field) |
| |
| bool | opennn::opennn::read_json_bool (const Json *root, const std::string &field) |
| |
| std::string | opennn::opennn::read_json_string (const Json *root, const std::string &field) |
| |
| std::string | opennn::opennn::read_json_string_fallback (const Json *root, std::initializer_list< std::string > names) |
| |
| const Json * | opennn::opennn::require_json_field (const Json *root, const std::string &field) |
| |
| template<typename Func> |
| void | opennn::opennn::for_json_items (const Json *parent, const char *tag, long count, Func func) |
| |
| JsonDocument | opennn::opennn::load_json_file (const std::filesystem::path &file_name) |
| |
| const Json * | opennn::opennn::get_json_root (const JsonDocument &document, const std::string &tag) |
| |
| template<Type... Supported, typename F> |
| void | opennn::opennn::visit_type (Type t, F &&f) |
| |
| template<Type... Supported, typename F> |
| void | opennn::opennn::visit_type_pair (Type t_in, Type t_out, F &&f) |
| |
| cudnnDataType_t | opennn::opennn::to_cudnn (Type type) noexcept |
| |
| cudaDataType_t | opennn::opennn::to_cuda (Type type) noexcept |
| |
| Index | opennn::opennn::type_bytes (Type type) noexcept |
| |
| int | opennn::opennn::to_int (Index value) |
| |
| float | opennn::opennn::to_type (Index value) |
| |
| Index | opennn::opennn::align_up (Index value, Index alignment) |
| |
| Index | opennn::opennn::get_aligned_size (Index size) |
| |
| Index | opennn::opennn::get_aligned_bytes (Index n_bytes) |
| |
| template<typename Container> |
| Index | opennn::opennn::ssize (const Container &container) noexcept |
| |
| bool | opennn::opennn::is_aligned (const void *ptr) |
| |
| Index | opennn::opennn::aligned_total_elements (const vector< Shape > &shapes) |
| |
| Index | opennn::opennn::aligned_total_elements (const vector< vector< Shape > > &nested) |
| |
| Index | opennn::opennn::aligned_total_bytes (const vector< Shape > &shapes, const vector< Type > &dtypes) |
| |
| Index | opennn::opennn::aligned_total_bytes (const vector< vector< Shape > > &nested, const vector< vector< Type > > &dtypes) |
| |
| Index | opennn::opennn::aligned_total_bytes (const vector< Shape > &shapes, Type dtype) |
| |
| string | opennn::opennn::shape_to_string (const Shape &, const string &=" ") |
| |
| Shape | opennn::opennn::string_to_shape (const string &, const string &=" ") |
| |
| template<typename... Vs> |
| size_t | opennn::opennn::hash_combine (const Vs &... values) |
| |
| ThreadPoolDevice & | opennn::opennn::get_device () |
| |
Declares the NeuralNetwork class.
NeuralNetwork is the base class for every model in OpenNN. It owns an ordered stack of Layer instances, the parameter buffer they share, and the device/precision configuration used for forward and backward passes.