|
OpenNN
Open-source neural networks library
|
Namespaces | |
| namespace | opennn |
| namespace | profiler |
Classes | |
| struct | __half |
| struct | __nv_bfloat16 |
| struct | Activation |
| class | AdaptiveMomentEstimation |
| Adam optimizer (Kingma & Ba, 2014). More... | |
| struct | Add |
| class | Addition |
| Elementwise tensor addition layer (residual / skip connections). More... | |
| class | ApproximationNetwork |
| Standard regression (function approximation) MLP. More... | |
| struct | Attention |
| struct | AugmentationSettings |
| Optional data-augmentation transforms applied at training time. More... | |
| class | AutoAssociationNetwork |
| Standard auto-encoder for outlier and novelty detection. More... | |
| class | Backend |
| struct | BackPropagation |
| struct | BackPropagationLM |
| Scratch state used by LevenbergMarquardtAlgorithm. More... | |
| struct | BackwardEdge |
| struct | Batch |
| Owns the host-side and (optional) device-side buffers for one mini-batch of dataset samples. More... | |
| struct | BatchNorm |
| struct | Bound |
| class | Bounding |
| Per-feature output-clamping layer. More... | |
| struct | BoxPlot |
| struct | Buffer |
| class | ClassificationNetwork |
| Standard tabular classification MLP. More... | |
| struct | Combination |
| class | Configuration |
| struct | Convolution |
| class | Convolutional |
| 2D convolutional layer: y = activation(BN(conv(x, kernels) + bias)). More... | |
| class | ConvolutionalRelu |
| 2D convolution + ReLU fused into a single forward op on GPU. More... | |
| struct | Correlation |
| struct | cudnnTensorStruct |
| class | Dataset |
| Base data container with samples, variables and per-variable metadata. More... | |
| class | Dense |
| Fully-connected layer: y = activation(BN(x * W + b)) with optional dropout. More... | |
| class | DenseRelu |
| Dense + ReLU fused into a single forward op. More... | |
| struct | Descriptives |
| struct | Dropout |
| class | Embedding |
| Token-id-to-vector lookup layer used in language models. More... | |
| struct | EmbeddingLookup |
| struct | EnumMap |
| struct | EpochStats |
| Aggregate metrics produced for a single training or evaluation epoch. More... | |
| struct | Flat |
| class | Flatten |
| Reshape layer that collapses every input axis into a single feature axis. More... | |
| class | ForecastingNetwork |
| Standard time-series forecasting MLP. More... | |
| struct | ForwardPropagation |
| class | GeneticAlgorithm |
| Genetic-algorithm based input feature selection. More... | |
| class | GrowingInputs |
| Forward-selection of input features driven by feature-target correlation. More... | |
| class | GrowingNeurons |
| Forward-selection of hidden-layer size. More... | |
| struct | Histogram |
| class | ImageClassificationNetwork |
| Standard convolutional image classifier. More... | |
| class | ImageDataset |
| Dataset specialization for image data. More... | |
| class | InputsSelection |
| Abstract base class for input feature selection methods. More... | |
| struct | InputsSelectionResults |
| Outcome of an InputsSelection run. More... | |
| class | Json |
| class | JsonDocument |
| class | JsonWriter |
| class | KMeans |
| class | LanguageDataset |
| Dataset specialization for tokenized text. More... | |
| class | Layer |
| Abstract base class for every layer in an OpenNN NeuralNetwork. More... | |
| struct | LayerNorm |
| class | LevenbergMarquardtAlgorithm |
| Levenberg-Marquardt optimizer with adaptive damping. More... | |
| class | Loss |
| Trainable loss function attached to a NeuralNetwork and a Dataset. More... | |
| class | ModelExpression |
| class | ModelSelection |
| Searches for the best generalizing architecture for a model. More... | |
| class | MultiHeadAttention |
| Scaled dot-product attention with multiple heads and learned linear projections. More... | |
| struct | MultiHeadProjection |
| class | NeuralNetwork |
| Stack of Layers forming a trainable model. More... | |
| class | NeuronSelection |
| Abstract base class for hidden-layer-size selection methods. More... | |
| struct | NeuronsSelectionResults |
| Outcome of a NeuronSelection run. More... | |
| class | Normalization3d |
| Layer normalization across the embedding dimension of rank-2 inputs. More... | |
| struct | Operator |
| class | Optimizer |
| Abstract base class for every training algorithm in OpenNN. More... | |
| struct | OptimizerData |
| Per-optimizer scratch state shared across iterations. More... | |
| struct | Pool |
| struct | Pool3d |
| class | Pooling |
| 2D pooling layer (max or average). More... | |
| class | Pooling3d |
| Sequence-pooling layer for rank-2 inputs (sequence_length, features). More... | |
| class | QuasiNewtonMethod |
| BFGS quasi-Newton optimizer with line search. More... | |
| class | Recurrent |
| Plain (Elman-style) recurrent layer over fixed-length sequences. More... | |
| class | Registry |
| class | ResponseOptimization |
| struct | Scale |
| class | Scaling |
| Per-feature input normalization layer. More... | |
| struct | Shape |
| class | SimpleResNet |
| Compact residual network for image classification. More... | |
| class | StochasticGradientDescent |
| Mini-batch SGD with optional momentum, Nesterov acceleration and learning-rate decay. More... | |
| class | TabularDataset |
| struct | TensorView |
| class | TestingAnalysis |
| Computes diagnostic metrics for a trained network on testing data. More... | |
| class | TextClassificationNetwork |
| Standard text classification model. More... | |
| class | ThreadSafeQueue |
| class | TimeSeriesDataset |
| Dataset specialization for time series with explicit past / future windows. More... | |
| struct | TrainingResults |
| Per-epoch error history and final summary produced by Optimizer::train(). More... | |
| class | TrainingStrategy |
| Coordinates the training of a NeuralNetwork on a Dataset. More... | |
| class | Transformer |
| Encoder-decoder Transformer (Vaswani et al., 2017) for sequence-to-sequence modeling. More... | |
| struct | TypeInfo |
| struct | TypeInfo< Type::BF16 > |
| struct | TypeInfo< Type::FP32 > |
| struct | TypeInfo< Type::INT8 > |
| struct | Unscale |
| class | Unscaling |
| Per-output inverse normalization layer. More... | |
| struct | Variable |
| class | VGG16 |
| VGG-16 architecture (Simonyan & Zisserman, 2014) for image classification. More... | |
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 | 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> |
| template<typename T, size_t N> | |
| using | array = Eigen::array<T, N> |
Functions | |
| template<Type... Supported, typename F> | |
| void | visit_type (Type t, F &&f) |
| template<Type... Supported, typename F> | |
| void | visit_type_pair (Type t_in, Type t_out, F &&f) |
| cudnnDataType_t | to_cudnn (Type type) noexcept |
| cudaDataType_t | to_cuda (Type type) noexcept |
| Index | type_bytes (Type type) noexcept |
| Correlation | linear_correlation (const VectorR &, const VectorR &) |
| Correlation | logarithmic_correlation (const VectorR &, const VectorR &) |
| Correlation | exponential_correlation (const VectorR &, const VectorR &) |
| Correlation | power_correlation (const VectorR &, const VectorR &) |
| Correlation | logistic_correlation (const VectorR &, const VectorR &) |
| Correlation | logistic_correlation (const VectorR &, const MatrixR &) |
| Correlation | logistic_correlation (const MatrixR &, const VectorR &) |
| Correlation | logistic_correlation (const MatrixR &, const MatrixR &) |
| Correlation | point_biserial_correlation (const VectorR &, const VectorR &) |
| Correlation | eta_squared_correlation (const VectorR &, const MatrixR &) |
| Correlation | correlation (const MatrixR &, const MatrixR &) |
| Correlation | linear_correlation_spearman (const VectorR &, const VectorR &) |
| VectorR | calculate_spearman_ranks (const VectorR &) |
| Correlation | logistic_correlation_spearman (const VectorR &, const VectorR &) |
| Correlation | correlation_spearman (const MatrixR &, const MatrixR &) |
| float | r_correlation_to_z_correlation (const float) |
| float | z_correlation_to_r_correlation (const float) |
| pair< float, float > | confidence_interval_z_correlation (const float, Index) |
| VectorR | autocorrelations (const VectorR &, Index=10) |
| VectorR | cross_correlations (const VectorR &, const VectorR &, Index) |
| MatrixR | get_correlation_values (const Tensor< Correlation, 2 > &) |
| const EnumMap< SampleRole > & | sample_role_map () |
| Returns the string<->enum mapping for SampleRole values. | |
| const string & | sample_role_to_string (SampleRole role) |
| Converts a SampleRole to its canonical string name. | |
| SampleRole | string_to_sample_role (const string &name) |
| Parses a SampleRole from string. | |
| void | mean_squared_error (const TensorView &input, const TensorView &target, float &error, float *workspace_device) |
| void | mean_squared_error_gradient (const TensorView &input, const TensorView &target, TensorView &input_delta) |
| void | normalized_squared_error (const TensorView &input, const TensorView &target, float coefficient, float &error, float *workspace_device) |
| void | normalized_squared_error_gradient (const TensorView &input, const TensorView &target, float coefficient, TensorView &input_delta) |
| void | weighted_squared_error (const TensorView &input, const TensorView &target, float pos_w, float neg_w, float &error, float *workspace_device) |
| void | weighted_squared_error_gradient (const TensorView &input, const TensorView &target, float pos_w, float neg_w, float coefficient, TensorView &input_delta) |
| void | binary_cross_entropy (const TensorView &input, const TensorView &target, float &error, float *workspace_device) |
| void | categorical_cross_entropy (const TensorView &input, const TensorView &target, float &error, float *workspace_device) |
| void | cross_entropy_gradient (const TensorView &input, const TensorView &target, TensorView &input_delta) |
| void | minkowski_error (const TensorView &input, const TensorView &target, float power, float &error, float *workspace_device) |
| void | minkowski_error_gradient (const TensorView &input, const TensorView &target, float power, TensorView &input_delta) |
| void | cross_entropy_3d (const TensorView &input, const TensorView &target, float &error, Index &active_tokens_out, Index &correct_tokens_out, float *errors_device=nullptr) |
| void | cross_entropy_3d_gradient (const TensorView &input, const TensorView &target, TensorView &input_delta, Index active_tokens_count) |
| void | l1_regularization (const TensorView ¶meters, float lambda, float &penalty) |
| void | l1_regularization_gradient (const TensorView ¶meters, float lambda, TensorView &gradient) |
| void | l2_regularization (const TensorView ¶meters, float lambda, float &penalty) |
| void | l2_regularization_gradient (const TensorView ¶meters, float lambda, TensorView &gradient) |
| Tensor3 | load_image (const filesystem::path &) |
| Tensor3 | resize_image (const Tensor3 &, Index, Index) |
| void | reflect_image_horizontal (Tensor3 &) |
| void | reflect_image_vertical (Tensor3 &) |
| void | rotate_image (const Tensor3 &, Tensor3 &, float) |
| void | translate_image_x (const Tensor3 &, Tensor3 &, Index) |
| void | translate_image_y (const Tensor3 &, Tensor3 &, Index) |
| void | add_json_field (JsonWriter &writer, const std::string &name, const std::string &value) |
| void | write_json (JsonWriter &writer, std::initializer_list< std::pair< const char *, std::string > > props) |
| float | read_json_type (const Json *root, const std::string &field) |
| long | read_json_index (const Json *root, const std::string &field) |
| bool | read_json_bool (const Json *root, const std::string &field) |
| std::string | read_json_string (const Json *root, const std::string &field) |
| std::string | read_json_string_fallback (const Json *root, std::initializer_list< std::string > names) |
| const Json * | require_json_field (const Json *root, const std::string &field) |
| template<typename Func> | |
| void | for_json_items (const Json *parent, const char *tag, long count, Func func) |
| JsonDocument | load_json_file (const std::filesystem::path &file_name) |
| const Json * | get_json_root (const JsonDocument &document, const std::string &tag) |
| const EnumMap< LayerType > & | layer_type_map () |
| Returns the singleton string<->enum mapping for LayerType values. | |
| const string & | layer_type_to_string (LayerType type) |
| Converts a LayerType to its canonical string name. | |
| LayerType | string_to_layer_type (const string &name) |
| Parses a LayerType from its canonical string name. | |
| vector< Shape > | spec_shapes (const vector< pair< Shape, Type > > &specs) |
| Extracts the shape component from a list of (Shape, Type) specs. | |
| vector< Type > | spec_dtypes (const vector< pair< Shape, Type > > &specs) |
| Extracts the dtype component from a list of (Shape, Type) specs. | |
| void | pad (const TensorView &input, TensorView &output) |
| void | bound (const TensorView &input, const TensorView &lower_bounds, const TensorView &upper_bounds, TensorView &output) |
| void | bound_cpu (const TensorView &input, const TensorView &lower_bounds, const TensorView &upper_bounds, TensorView &output) |
| void | scale (const TensorView &input, const TensorView &minimums, const TensorView &maximums, const TensorView &means, const TensorView &standard_deviations, const TensorView &scalers, float min_range, float max_range, TensorView &output) |
| void | scale_cpu (const TensorView &input, const TensorView &minimums, const TensorView &maximums, const TensorView &means, const TensorView &standard_deviations, const TensorView &scalers, float min_range, float max_range, TensorView &output) |
| void | unscale (const TensorView &input, const TensorView &minimums, const TensorView &maximums, const TensorView &means, const TensorView &standard_deviations, const TensorView &scalers, float min_range, float max_range, TensorView &output) |
| void | unscale_cpu (const TensorView &input, const TensorView &minimums, const TensorView &maximums, const TensorView &means, const TensorView &standard_deviations, const TensorView &scalers, float min_range, float max_range, TensorView &output) |
| void | copy (const TensorView &source, TensorView &destination) |
| void | copy_cpu (const TensorView &source, TensorView &destination) |
| void | add (const TensorView &input_1, const TensorView &input_2, TensorView &output) |
| void | add_cpu (const TensorView &input_1, const TensorView &input_2, TensorView &output) |
| void | multiply (const TensorView &input_a, bool transpose_a, const TensorView &input_b, bool transpose_b, TensorView &output, float alpha=1.0f, float beta=0.0f) |
| void | multiply_cpu (const TensorView &input_a, bool transpose_a, const TensorView &input_b, bool transpose_b, TensorView &output, float alpha=1.0f, float beta=0.0f) |
| void | softmax (TensorView &output) |
| void | softmax_cpu (TensorView &output) |
| void | max_pooling_3d_forward (const TensorView &input, TensorView &output, TensorView &maximal_indices, bool is_training) |
| void | max_pooling_3d_forward_cpu (const TensorView &input, TensorView &output, TensorView &maximal_indices, bool is_training) |
| void | average_pooling_3d_forward (const TensorView &input, TensorView &output) |
| void | average_pooling_3d_forward_cpu (const TensorView &input, TensorView &output) |
| void | max_pooling_3d_backward (const TensorView &maximal_indices, const TensorView &output_delta, TensorView &input_delta) |
| void | max_pooling_3d_backward_cpu (const TensorView &maximal_indices, const TensorView &output_delta, TensorView &input_delta) |
| void | average_pooling_3d_backward (const TensorView &input, const TensorView &output_delta, TensorView &input_delta) |
| void | average_pooling_3d_backward_cpu (const TensorView &input, const TensorView &output_delta, TensorView &input_delta) |
| void | split_heads (const TensorView &source, TensorView &destination) |
| void | split_heads_cpu (const TensorView &source, TensorView &destination) |
| void | merge_heads (const TensorView &source, TensorView &destination) |
| void | merge_heads_cpu (const TensorView &source, TensorView &destination) |
| void | sort_string_vector (vector< string > &) |
| vector< string > | concatenate_string_vectors (const vector< string > &, const vector< string > &) |
| string | formatNumber (float, int) |
| float | round_to_precision (float, const int &) |
| template<typename T> | |
| ostream & | operator<< (ostream &os, const vector< T > &vec) |
| const string & | pooling_method_to_string (PoolingMethod method) |
| Converts a PoolingMethod to its canonical string name. | |
| PoolingMethod | string_to_pooling_method (const string &name) |
| Parses a PoolingMethod from its canonical string name. | |
| void | set_seed (unsigned seed) |
| long long | get_seed () |
| float | random_uniform (float=-1, float=1) |
| Index | random_integer (Index, Index) |
| bool | random_bool (float=0.5) |
| void | set_random_uniform (MatrixR &, float=-0.1, float=0.1) |
| void | set_random_uniform (VectorMap, float=-0.1, float=0.1) |
| void | set_random_normal (MatrixMap, float=0, float=1) |
| void | set_random_integer (MatrixR &, Index, Index) |
| void | shuffle (VectorB &vector_to_shuffle) |
| template<typename T> | |
| void | shuffle_vector (vector< T > &) |
| void | shuffle_vector_blocks (vector< Index > &, size_t=20) |
| Index | get_random_element (const vector< Index > &) |
| void | register_classes () |
| void | scale_mean_standard_deviation (MatrixMap, Index, const Descriptives &) |
| void | scale_standard_deviation (MatrixMap, Index, const Descriptives &) |
| void | scale_minimum_maximum (MatrixMap, Index, const Descriptives &, float=-1.0f, float=1.0f) |
| void | scale_logarithmic (MatrixMap, Index) |
| void | unscale_minimum_maximum (MatrixMap, Index, const Descriptives &, float=-1.0f, float=1.0f) |
| void | unscale_mean_standard_deviation (MatrixMap, Index, const Descriptives &) |
| void | unscale_standard_deviation (MatrixMap, Index, const Descriptives &) |
| void | unscale_logarithmic (MatrixMap, Index) |
| void | unscale_image_minimum_maximum (MatrixMap, Index) |
| float | minimum (const MatrixR &) |
| float | minimum (const VectorR &) |
| float | minimum (const VectorR &, const vector< Index > &) |
| VectorR | column_minimums (const Tensor2 &, const vector< Index > &=vector< Index >(), const vector< Index > &=vector< Index >()) |
| float | maximum (const MatrixR &) |
| float | maximum (const VectorR &) |
| float | maximum (const VectorR &, const vector< Index > &) |
| VectorR | column_maximums (const Tensor2 &, const vector< Index > &=vector< Index >(), const vector< Index > &=vector< Index >()) |
| float | range (const VectorR &) |
| float | mean (const VectorR &) |
| float | mean (const MatrixR &, Index) |
| VectorR | mean (const MatrixR &) |
| VectorR | mean (const MatrixR &, const vector< Index > &, const vector< Index > &) |
| float | median (const VectorR &) |
| float | median (const MatrixR &, Index) |
| VectorR | median (const MatrixR &) |
| VectorR | median (const MatrixR &, const vector< Index > &) |
| VectorR | median (const MatrixR &, const vector< Index > &, const vector< Index > &) |
| float | variance (const VectorR &) |
| float | variance (const VectorR &, const VectorI &) |
| float | standard_deviation (const VectorR &) |
| VectorR | standard_deviation (const VectorR &, Index) |
| VectorR | quartiles (const VectorR &) |
| VectorR | quartiles (const VectorR &, const vector< Index > &) |
| BoxPlot | box_plot (const VectorR &) |
| BoxPlot | box_plot (const VectorR &, const vector< Index > &) |
| Descriptives | vector_descriptives (const VectorR &) |
| vector< Descriptives > | descriptives (const MatrixR &) |
| vector< Descriptives > | descriptives (const MatrixR &, const vector< Index > &, const vector< Index > &) |
| Histogram | histogram (const VectorR &, Index=10) |
| Histogram | histogram_centered (const VectorR &, float=0.0f, Index=10) |
| Histogram | histogram (const VectorB &) |
| Histogram | histogram (const VectorI &, Index=10) |
| vector< Histogram > | histograms (const MatrixR &, Index=10) |
| VectorI | total_frequencies (const vector< Histogram > &) |
| Index | minimal_index (const VectorR &) |
| VectorI | minimal_indices (const VectorR &, Index) |
| VectorI | minimal_indices (const MatrixR &) |
| Index | maximal_index (const VectorR &) |
| VectorI | maximal_indices (const VectorR &, Index) |
| VectorI | maximal_indices (const MatrixR &) |
| bool | row_finite (const VectorR &values, Index i) |
| bool | row_finite (const MatrixR &matrix, Index i) |
| VectorR | slice_rows (const VectorR &values, const vector< Index > &indices) |
| MatrixR | slice_rows (const MatrixR &matrix, const vector< Index > &indices) |
| VectorR | filter_missing_values (const VectorR &) |
| template<typename X, typename Y> | |
| pair< X, Y > | filter_missing_values (const X &x, const Y &y) |
| void | shuffle_rows (MatrixR &matrix) |
| bool | is_contiguous (const vector< Index > &indices) |
| template<typename T> | |
| bool | is_binary (const T &tensor) |
| MatrixR | append_rows (const MatrixR &, const MatrixR &) |
| template<typename T> | |
| vector< T > | gather_by_index (const vector< T > &data, const vector< Index > &indices) |
| vector< Index > | build_feasible_rows_mask (const MatrixR &outputs, const VectorR &minimums, const VectorR &maximums) |
| template<typename T> | |
| bool | is_constant (const T &tensor) |
| vector< Index > | get_true_indices (const VectorB &flags) |
| VectorI | calculate_rank (const VectorR &, bool ascending=true) |
| vector< Index > | get_elements_greater_than (const vector< Index > &, Index) |
| VectorI | get_nearest_points (const MatrixR &, const VectorR &, int=1) |
| void | fill_tensor_data (const MatrixR &, const vector< Index > &, const vector< Index > &, float *, bool=true, int contiguous=-1) |
| VectorR | perform_Householder_QR_decomposition (const MatrixR &, const VectorR &) |
| VectorMap | vector_map (const MatrixR &, Index) |
| void | prepare_line (string &) |
| Index | count_non_empty_lines (const filesystem::path &) |
| Index | count_tokens (const string &, const string &) |
| vector< string > | get_tokens (const string &, const string &) |
| vector< string > | tokenize (const string &) |
| vector< string > | convert_string_vector (const vector< vector< string > > &, const string &) |
| VectorR | to_type_vector (const string &, const string &) |
| bool | is_numeric_string (const string &) |
| bool | is_date_time_string (const string &) |
| time_t | date_to_timestamp (const string &, Index=0, const DateFormat &format=AUTO) |
| void | replace_all_appearances (string &, const string &, const string &) |
| void | replace_all_word_appearances (string &, const string &, const string &) |
| void | trim (string &) |
| void | normalize_csv_line (string &) |
| void | erase (string &, char) |
| void | replace_first_and_last_char_with_missing_label (string &, char, const string &, const string &) |
| string | get_trimmed (const string &) |
| bool | has_numbers (const vector< string > &) |
| void | replace (string &, const string &, const string &) |
| void | replace_double_char_with_label (string &, const string &, const string &) |
| void | replace_substring_within_quotes (string &, const string &, const string &) |
| void | display_progress_bar (const int &, const int &) |
| string | get_time (float) |
| string | get_first_word (const string &) |
| template<typename T> | |
| string | vector_to_string (const vector< T > &values, const string &separator=" ") |
| template<typename Derived> | |
| string | vector_to_string (const Eigen::DenseBase< Derived > &values, const string &separator=" ") |
| void | string_to_vector (const string &input, VectorR &values) |
| template<typename T, size_t Rank> | |
| string | tensor_to_string (const TensorR< Rank > &values, const string &separator=" ") |
| template<typename T, size_t Rank> | |
| void | string_to_tensor (const string &input, TensorR< Rank > &values) |
| bool | contains (const vector< string > &, const string &) |
| int | to_int (Index value) |
| float | to_type (Index value) |
| Index | align_up (Index value, Index alignment) |
| Index | get_aligned_size (Index size) |
| Index | get_aligned_bytes (Index n_bytes) |
| template<typename Container> | |
| Index | ssize (const Container &container) noexcept |
| bool | is_aligned (const void *ptr) |
| Index | aligned_total_elements (const vector< Shape > &shapes) |
| Index | aligned_total_elements (const vector< vector< Shape > > &nested) |
| Index | aligned_total_bytes (const vector< Shape > &shapes, const vector< Type > &dtypes) |
| Index | aligned_total_bytes (const vector< vector< Shape > > &nested, const vector< vector< Type > > &dtypes) |
| Index | aligned_total_bytes (const vector< Shape > &shapes, Type dtype) |
| string | shape_to_string (const Shape &, const string &=" ") |
| Shape | string_to_shape (const string &, const string &=" ") |
| template<typename... Vs> | |
| size_t | hash_combine (const Vs &... values) |
| ThreadPoolDevice & | get_device () |
| const EnumMap< ScalerMethod > & | scaler_method_map () |
| const string & | scaler_method_to_string (ScalerMethod method) |
| ScalerMethod | string_to_scaler_method (const string &name) |
| const EnumMap< VariableRole > & | variable_role_map () |
| const string & | variable_role_to_string (VariableRole role) |
| VariableRole | string_to_variable_role (const string &name) |
| bool | role_matches (VariableRole actual, VariableRole query) |
Variables | |
| constexpr int | Layout = Eigen::RowMajor |
| constexpr float | EPSILON = numeric_limits<float>::epsilon() |
| constexpr float | MAX = numeric_limits<float>::max() |
| constexpr float | NEG_INFINITY = -numeric_limits<float>::infinity() |
| constexpr float | QUIET_NAN = numeric_limits<float>::quiet_NaN() |
| constexpr float | SOFTMAX_MASK_VALUE = float(-1e9f) |
| static constexpr Index | ALIGN_BYTES = EIGEN_MAX_ALIGN_BYTES |
| static constexpr Index | ALIGN_ELEMENTS = ALIGN_BYTES / sizeof(float) |
| constexpr cudaDataType_t | CUDA_REDUCTION_DTYPE = CUDA_R_32F |
| constexpr cublasComputeType_t | CUBLAS_COMPUTE_DTYPE = CUBLAS_COMPUTE_32F_FAST_TF32 |
| using opennn::array = Eigen::array<T, N> |
| using opennn::cublasHandle_t = void* |
| using opennn::cublasLtHandle_t = void* |
| using opennn::cudaEvent_t = void* |
| using opennn::cudaStream_t = void* |
| using opennn::cudnnActivationDescriptor_t = void* |
| using opennn::cudnnConvolutionDescriptor_t = void* |
| using opennn::cudnnDropoutDescriptor_t = void* |
| using opennn::cudnnFilterDescriptor_t = void* |
| using opennn::cudnnHandle_t = void* |
| using opennn::cudnnOpTensorDescriptor_t = void* |
| using opennn::cudnnPoolingDescriptor_t = void* |
| using opennn::MatrixB = Matrix<bool, Dynamic, Dynamic, Layout> |
| using opennn::MatrixI = Matrix<Index, Dynamic, Dynamic, Layout> |
| using opennn::MatrixMap = Map<MatrixR, Layout | AlignedMax> |
| using opennn::MatrixR = Matrix<float, Dynamic, Dynamic, Layout> |
| 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> |
| 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> |
| using opennn::TensorMapR = TensorMap<Tensor<float, Rank, Layout | AlignedMax>, AlignedMax> |
| using opennn::TensorR = Tensor<float, Rank, Layout | AlignedMax> |
| using opennn::VectorB = Matrix<bool, Dynamic, 1> |
| using opennn::VectorI = Matrix<Index, Dynamic, 1> |
| using opennn::VectorMap = Map<VectorR, AlignedMax> |
| using opennn::VectorR = Matrix<float, Dynamic, 1> |
| enum opennn::DateFormat |
|
strong |
|
strong |
Identifier for every concrete Layer subclass supported by OpenNN.
Used for serialization, runtime type queries and the registry-based factory that rebuilds layers from XML/JSON.
| Enumerator | |
|---|---|
| Addition | |
| Bounding | |
| Convolutional | |
| ConvolutionalRelu | |
| Dense | |
| DenseRelu | |
| Embedding | |
| Flatten | |
| MultiHeadAttention | |
| Normalization3d | |
| Pooling | |
| Pooling3d | |
| Recurrent | |
| Scaling | |
| Unscaling | |
|
strong |
|
strong |
Role of a sample within a dataset partition.
| Enumerator | |
|---|---|
| Training | |
| Validation | |
| Testing | |
| None | |
|
strong |
|
strong |
|
strong |
|
strong |
| void opennn::add | ( | const TensorView & | input_1, |
| const TensorView & | input_2, | ||
| TensorView & | output ) |
| void opennn::add_cpu | ( | const TensorView & | input_1, |
| const TensorView & | input_2, | ||
| TensorView & | output ) |
| void opennn::add_json_field | ( | JsonWriter & | writer, |
| const std::string & | name, | ||
| const std::string & | value ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void opennn::average_pooling_3d_backward | ( | const TensorView & | input, |
| const TensorView & | output_delta, | ||
| TensorView & | input_delta ) |
| void opennn::average_pooling_3d_backward_cpu | ( | const TensorView & | input, |
| const TensorView & | output_delta, | ||
| TensorView & | input_delta ) |
| void opennn::average_pooling_3d_forward | ( | const TensorView & | input, |
| TensorView & | output ) |
| void opennn::average_pooling_3d_forward_cpu | ( | const TensorView & | input, |
| TensorView & | output ) |
| void opennn::binary_cross_entropy | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float & | error, | ||
| float * | workspace_device ) |
| void opennn::bound | ( | const TensorView & | input, |
| const TensorView & | lower_bounds, | ||
| const TensorView & | upper_bounds, | ||
| TensorView & | output ) |
| void opennn::bound_cpu | ( | const TensorView & | input, |
| const TensorView & | lower_bounds, | ||
| const TensorView & | upper_bounds, | ||
| TensorView & | output ) |
| vector< Index > opennn::build_feasible_rows_mask | ( | const MatrixR & | outputs, |
| const VectorR & | minimums, | ||
| const VectorR & | maximums ) |
| void opennn::categorical_cross_entropy | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float & | error, | ||
| float * | workspace_device ) |
| VectorR opennn::column_maximums | ( | const Tensor2 & | , |
| const vector< Index > & | = vector< Index >(), | ||
| const vector< Index > & | = vector< Index >() ) |
| VectorR opennn::column_minimums | ( | const Tensor2 & | , |
| const vector< Index > & | = vector< Index >(), | ||
| const vector< Index > & | = vector< Index >() ) |
| vector< string > opennn::concatenate_string_vectors | ( | const vector< string > & | , |
| const vector< string > & | ) |
| pair< float, float > opennn::confidence_interval_z_correlation | ( | const float | , |
| Index | ) |
| bool opennn::contains | ( | const vector< string > & | , |
| const string & | ) |
| vector< string > opennn::convert_string_vector | ( | const vector< vector< string > > & | , |
| const string & | ) |
| void opennn::copy | ( | const TensorView & | source, |
| TensorView & | destination ) |
| void opennn::copy_cpu | ( | const TensorView & | source, |
| TensorView & | destination ) |
| Correlation opennn::correlation | ( | const MatrixR & | , |
| const MatrixR & | ) |
| Correlation opennn::correlation_spearman | ( | const MatrixR & | , |
| const MatrixR & | ) |
| Index opennn::count_non_empty_lines | ( | const filesystem::path & | ) |
| Index opennn::count_tokens | ( | const string & | , |
| const string & | ) |
| void opennn::cross_entropy_3d | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float & | error, | ||
| Index & | active_tokens_out, | ||
| Index & | correct_tokens_out, | ||
| float * | errors_device = nullptr ) |
| void opennn::cross_entropy_3d_gradient | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| TensorView & | input_delta, | ||
| Index | active_tokens_count ) |
| void opennn::cross_entropy_gradient | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| TensorView & | input_delta ) |
| time_t opennn::date_to_timestamp | ( | const string & | , |
| Index | = 0, | ||
| const DateFormat & | format = AUTO ) |
| vector< Descriptives > opennn::descriptives | ( | const MatrixR & | ) |
| vector< Descriptives > opennn::descriptives | ( | const MatrixR & | , |
| const vector< Index > & | , | ||
| const vector< Index > & | ) |
| void opennn::display_progress_bar | ( | const int & | , |
| const int & | ) |
| void opennn::erase | ( | string & | , |
| char | ) |
| Correlation opennn::eta_squared_correlation | ( | const VectorR & | , |
| const MatrixR & | ) |
| Correlation opennn::exponential_correlation | ( | const VectorR & | , |
| const VectorR & | ) |
| void opennn::fill_tensor_data | ( | const MatrixR & | , |
| const vector< Index > & | , | ||
| const vector< Index > & | , | ||
| float * | , | ||
| bool | = true, | ||
| int | contiguous = -1 ) |
| pair< X, Y > opennn::filter_missing_values | ( | const X & | x, |
| const Y & | y ) |
| void opennn::for_json_items | ( | const Json * | parent, |
| const char * | tag, | ||
| long | count, | ||
| Func | func ) |
| string opennn::formatNumber | ( | float | , |
| int | ) |
| vector< T > opennn::gather_by_index | ( | const vector< T > & | data, |
| const vector< Index > & | indices ) |
|
inline |
|
inline |
| MatrixR opennn::get_correlation_values | ( | const Tensor< Correlation, 2 > & | ) |
|
inline |
| vector< Index > opennn::get_elements_greater_than | ( | const vector< Index > & | , |
| Index | ) |
| string opennn::get_first_word | ( | const string & | ) |
| const Json * opennn::get_json_root | ( | const JsonDocument & | document, |
| const std::string & | tag ) |
| Index opennn::get_random_element | ( | const vector< Index > & | ) |
| long long opennn::get_seed | ( | ) |
| string opennn::get_time | ( | float | ) |
| vector< string > opennn::get_tokens | ( | const string & | , |
| const string & | ) |
| string opennn::get_trimmed | ( | const string & | ) |
|
inline |
| bool opennn::has_numbers | ( | const vector< string > & | ) |
| size_t opennn::hash_combine | ( | const Vs &... | values | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| bool opennn::is_date_time_string | ( | const string & | ) |
| bool opennn::is_numeric_string | ( | const string & | ) |
| void opennn::l1_regularization | ( | const TensorView & | parameters, |
| float | lambda, | ||
| float & | penalty ) |
| void opennn::l1_regularization_gradient | ( | const TensorView & | parameters, |
| float | lambda, | ||
| TensorView & | gradient ) |
| void opennn::l2_regularization | ( | const TensorView & | parameters, |
| float | lambda, | ||
| float & | penalty ) |
| void opennn::l2_regularization_gradient | ( | const TensorView & | parameters, |
| float | lambda, | ||
| TensorView & | gradient ) |
|
inline |
| Correlation opennn::linear_correlation | ( | const VectorR & | , |
| const VectorR & | ) |
| Correlation opennn::linear_correlation_spearman | ( | const VectorR & | , |
| const VectorR & | ) |
| Tensor3 opennn::load_image | ( | const filesystem::path & | ) |
| JsonDocument opennn::load_json_file | ( | const std::filesystem::path & | file_name | ) |
| Correlation opennn::logarithmic_correlation | ( | const VectorR & | , |
| const VectorR & | ) |
| Correlation opennn::logistic_correlation | ( | const MatrixR & | , |
| const MatrixR & | ) |
| Correlation opennn::logistic_correlation | ( | const MatrixR & | , |
| const VectorR & | ) |
| Correlation opennn::logistic_correlation | ( | const VectorR & | , |
| const MatrixR & | ) |
| Correlation opennn::logistic_correlation | ( | const VectorR & | , |
| const VectorR & | ) |
| Correlation opennn::logistic_correlation_spearman | ( | const VectorR & | , |
| const VectorR & | ) |
| void opennn::max_pooling_3d_backward | ( | const TensorView & | maximal_indices, |
| const TensorView & | output_delta, | ||
| TensorView & | input_delta ) |
| void opennn::max_pooling_3d_backward_cpu | ( | const TensorView & | maximal_indices, |
| const TensorView & | output_delta, | ||
| TensorView & | input_delta ) |
| void opennn::max_pooling_3d_forward | ( | const TensorView & | input, |
| TensorView & | output, | ||
| TensorView & | maximal_indices, | ||
| bool | is_training ) |
| void opennn::max_pooling_3d_forward_cpu | ( | const TensorView & | input, |
| TensorView & | output, | ||
| TensorView & | maximal_indices, | ||
| bool | is_training ) |
| Index opennn::maximal_index | ( | const VectorR & | ) |
| float opennn::maximum | ( | const MatrixR & | ) |
| float opennn::maximum | ( | const VectorR & | ) |
| float opennn::maximum | ( | const VectorR & | , |
| const vector< Index > & | ) |
| float opennn::mean | ( | const MatrixR & | , |
| Index | ) |
| float opennn::mean | ( | const VectorR & | ) |
| void opennn::mean_squared_error | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float & | error, | ||
| float * | workspace_device ) |
| void opennn::mean_squared_error_gradient | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| TensorView & | input_delta ) |
| float opennn::median | ( | const MatrixR & | , |
| Index | ) |
| float opennn::median | ( | const VectorR & | ) |
| void opennn::merge_heads | ( | const TensorView & | source, |
| TensorView & | destination ) |
| void opennn::merge_heads_cpu | ( | const TensorView & | source, |
| TensorView & | destination ) |
| Index opennn::minimal_index | ( | const VectorR & | ) |
| float opennn::minimum | ( | const MatrixR & | ) |
| float opennn::minimum | ( | const VectorR & | ) |
| float opennn::minimum | ( | const VectorR & | , |
| const vector< Index > & | ) |
| void opennn::minkowski_error | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float | power, | ||
| float & | error, | ||
| float * | workspace_device ) |
| void opennn::minkowski_error_gradient | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float | power, | ||
| TensorView & | input_delta ) |
| void opennn::multiply | ( | const TensorView & | input_a, |
| bool | transpose_a, | ||
| const TensorView & | input_b, | ||
| bool | transpose_b, | ||
| TensorView & | output, | ||
| float | alpha = 1.0f, | ||
| float | beta = 0.0f ) |
| void opennn::multiply_cpu | ( | const TensorView & | input_a, |
| bool | transpose_a, | ||
| const TensorView & | input_b, | ||
| bool | transpose_b, | ||
| TensorView & | output, | ||
| float | alpha = 1.0f, | ||
| float | beta = 0.0f ) |
| void opennn::normalize_csv_line | ( | string & | ) |
| void opennn::normalized_squared_error | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float | coefficient, | ||
| float & | error, | ||
| float * | workspace_device ) |
| void opennn::normalized_squared_error_gradient | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float | coefficient, | ||
| TensorView & | input_delta ) |
| ostream & opennn::operator<< | ( | ostream & | os, |
| const vector< T > & | vec ) |
| void opennn::pad | ( | const TensorView & | input, |
| TensorView & | output ) |
| Correlation opennn::point_biserial_correlation | ( | const VectorR & | , |
| const VectorR & | ) |
|
inline |
Converts a PoolingMethod to its canonical string name.
| method | Pooling method value. |
| Correlation opennn::power_correlation | ( | const VectorR & | , |
| const VectorR & | ) |
| void opennn::prepare_line | ( | string & | ) |
| float opennn::r_correlation_to_z_correlation | ( | const float | ) |
| bool opennn::random_bool | ( | float | = 0.5 | ) |
| Index opennn::random_integer | ( | Index | , |
| Index | ) |
| float opennn::random_uniform | ( | float | = -1, |
| float | = 1 ) |
| float opennn::range | ( | const VectorR & | ) |
| bool opennn::read_json_bool | ( | const Json * | root, |
| const std::string & | field ) |
| long opennn::read_json_index | ( | const Json * | root, |
| const std::string & | field ) |
| std::string opennn::read_json_string | ( | const Json * | root, |
| const std::string & | field ) |
| std::string opennn::read_json_string_fallback | ( | const Json * | root, |
| std::initializer_list< std::string > | names ) |
| float opennn::read_json_type | ( | const Json * | root, |
| const std::string & | field ) |
| void opennn::reflect_image_horizontal | ( | Tensor3 & | ) |
| void opennn::reflect_image_vertical | ( | Tensor3 & | ) |
| void opennn::register_classes | ( | ) |
| void opennn::replace | ( | string & | , |
| const string & | , | ||
| const string & | ) |
| void opennn::replace_all_appearances | ( | string & | , |
| const string & | , | ||
| const string & | ) |
| void opennn::replace_all_word_appearances | ( | string & | , |
| const string & | , | ||
| const string & | ) |
| void opennn::replace_double_char_with_label | ( | string & | , |
| const string & | , | ||
| const string & | ) |
| void opennn::replace_first_and_last_char_with_missing_label | ( | string & | , |
| char | , | ||
| const string & | , | ||
| const string & | ) |
| void opennn::replace_substring_within_quotes | ( | string & | , |
| const string & | , | ||
| const string & | ) |
|
inline |
| float opennn::round_to_precision | ( | float | , |
| const int & | ) |
|
inline |
|
inline |
|
inline |
Returns the string<->enum mapping for SampleRole values.
|
inline |
Converts a SampleRole to its canonical string name.
| role | The sample role. |
| void opennn::scale | ( | const TensorView & | input, |
| const TensorView & | minimums, | ||
| const TensorView & | maximums, | ||
| const TensorView & | means, | ||
| const TensorView & | standard_deviations, | ||
| const TensorView & | scalers, | ||
| float | min_range, | ||
| float | max_range, | ||
| TensorView & | output ) |
| void opennn::scale_cpu | ( | const TensorView & | input, |
| const TensorView & | minimums, | ||
| const TensorView & | maximums, | ||
| const TensorView & | means, | ||
| const TensorView & | standard_deviations, | ||
| const TensorView & | scalers, | ||
| float | min_range, | ||
| float | max_range, | ||
| TensorView & | output ) |
| void opennn::scale_logarithmic | ( | MatrixMap | , |
| Index | ) |
| void opennn::scale_mean_standard_deviation | ( | MatrixMap | , |
| Index | , | ||
| const Descriptives & | ) |
| void opennn::scale_minimum_maximum | ( | MatrixMap | , |
| Index | , | ||
| const Descriptives & | , | ||
| float | = -1.0f, | ||
| float | = 1.0f ) |
| void opennn::scale_standard_deviation | ( | MatrixMap | , |
| Index | , | ||
| const Descriptives & | ) |
|
inline |
|
inline |
| void opennn::set_random_integer | ( | MatrixR & | , |
| Index | , | ||
| Index | ) |
| void opennn::set_random_normal | ( | MatrixMap | , |
| float | = 0, | ||
| float | = 1 ) |
| void opennn::set_random_uniform | ( | MatrixR & | , |
| float | = -0.1, | ||
| float | = 0.1 ) |
| void opennn::set_random_uniform | ( | VectorMap | , |
| float | = -0.1, | ||
| float | = 0.1 ) |
| void opennn::set_seed | ( | unsigned | seed | ) |
| string opennn::shape_to_string | ( | const Shape & | , |
| const string & | = " " ) |
| void opennn::shuffle | ( | VectorB & | vector_to_shuffle | ) |
| void opennn::shuffle_rows | ( | MatrixR & | matrix | ) |
| void opennn::shuffle_vector | ( | vector< T > & | ) |
| void opennn::shuffle_vector_blocks | ( | vector< Index > & | , |
| size_t | = 20 ) |
| void opennn::softmax | ( | TensorView & | output | ) |
| void opennn::softmax_cpu | ( | TensorView & | output | ) |
| void opennn::sort_string_vector | ( | vector< string > & | ) |
| void opennn::split_heads | ( | const TensorView & | source, |
| TensorView & | destination ) |
| void opennn::split_heads_cpu | ( | const TensorView & | source, |
| TensorView & | destination ) |
|
inlinenoexcept |
| float opennn::standard_deviation | ( | const VectorR & | ) |
|
inline |
|
inline |
Parses a PoolingMethod from its canonical string name.
| name | String to parse ("MaxPooling" or "AveragePooling"). |
|
inline |
Parses a SampleRole from string.
Accepts both the canonical names and the numeric encodings ("0", "1", "2", "3").
| name | String to parse. |
|
inline |
| Shape opennn::string_to_shape | ( | const string & | , |
| const string & | = " " ) |
| void opennn::string_to_tensor | ( | const string & | input, |
| TensorR< Rank > & | values ) |
|
inline |
| void opennn::string_to_vector | ( | const string & | input, |
| VectorR & | values ) |
| string opennn::tensor_to_string | ( | const TensorR< Rank > & | values, |
| const string & | separator = " " ) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
| VectorR opennn::to_type_vector | ( | const string & | , |
| const string & | ) |
| vector< string > opennn::tokenize | ( | const string & | ) |
| void opennn::trim | ( | string & | ) |
|
inlinenoexcept |
| void opennn::unscale | ( | const TensorView & | input, |
| const TensorView & | minimums, | ||
| const TensorView & | maximums, | ||
| const TensorView & | means, | ||
| const TensorView & | standard_deviations, | ||
| const TensorView & | scalers, | ||
| float | min_range, | ||
| float | max_range, | ||
| TensorView & | output ) |
| void opennn::unscale_cpu | ( | const TensorView & | input, |
| const TensorView & | minimums, | ||
| const TensorView & | maximums, | ||
| const TensorView & | means, | ||
| const TensorView & | standard_deviations, | ||
| const TensorView & | scalers, | ||
| float | min_range, | ||
| float | max_range, | ||
| TensorView & | output ) |
| void opennn::unscale_image_minimum_maximum | ( | MatrixMap | , |
| Index | ) |
| void opennn::unscale_logarithmic | ( | MatrixMap | , |
| Index | ) |
| void opennn::unscale_mean_standard_deviation | ( | MatrixMap | , |
| Index | , | ||
| const Descriptives & | ) |
| void opennn::unscale_minimum_maximum | ( | MatrixMap | , |
| Index | , | ||
| const Descriptives & | , | ||
| float | = -1.0f, | ||
| float | = 1.0f ) |
| void opennn::unscale_standard_deviation | ( | MatrixMap | , |
| Index | , | ||
| const Descriptives & | ) |
|
inline |
|
inline |
| float opennn::variance | ( | const VectorR & | ) |
| Descriptives opennn::vector_descriptives | ( | const VectorR & | ) |
|
inline |
| string opennn::vector_to_string | ( | const vector< T > & | values, |
| const string & | separator = " " ) |
| void opennn::visit_type | ( | Type | t, |
| F && | f ) |
| void opennn::visit_type_pair | ( | Type | t_in, |
| Type | t_out, | ||
| F && | f ) |
| void opennn::weighted_squared_error | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float | pos_w, | ||
| float | neg_w, | ||
| float & | error, | ||
| float * | workspace_device ) |
| void opennn::weighted_squared_error_gradient | ( | const TensorView & | input, |
| const TensorView & | target, | ||
| float | pos_w, | ||
| float | neg_w, | ||
| float | coefficient, | ||
| TensorView & | input_delta ) |
| void opennn::write_json | ( | JsonWriter & | writer, |
| std::initializer_list< std::pair< const char *, std::string > > | props ) |
| float opennn::z_correlation_to_r_correlation | ( | const float | ) |
|
staticconstexpr |
|
staticconstexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |