diff --git a/examples/convert_mobilenet.cpp b/examples/convert_mobilenet.cpp index a926244..3599ec9 100644 --- a/examples/convert_mobilenet.cpp +++ b/examples/convert_mobilenet.cpp @@ -3,6 +3,11 @@ * * Example usage of the ONNX/mlpack converter to convert the MobileNet v2.7 * network to an mlpack::DAGNetwork<> and use it to classify a few test images. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #include diff --git a/include/onnx_mlpack.hpp b/include/onnx_mlpack.hpp index 04e5f4b..7f3b19b 100644 --- a/include/onnx_mlpack.hpp +++ b/include/onnx_mlpack.hpp @@ -3,6 +3,11 @@ * * Include this file to include all the necessary functions for the ONNX-mlpack * converter. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_HPP #define ONNX_MLPACK_HPP diff --git a/include/onnx_mlpack/apply_initial_reshapes.hpp b/include/onnx_mlpack/apply_initial_reshapes.hpp index 58f31e8..8fde2de 100644 --- a/include/onnx_mlpack/apply_initial_reshapes.hpp +++ b/include/onnx_mlpack/apply_initial_reshapes.hpp @@ -5,6 +5,11 @@ * If a network has Reshape operations applied to any initialized tensors, * remove those Reshape operations and change the sizes of the initialized * tensors. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_APPLY_INITIAL_RESHAPES_HPP #define ONNX_MLPACK_APPLY_INITIAL_RESHAPES_HPP diff --git a/include/onnx_mlpack/convert.hpp b/include/onnx_mlpack/convert.hpp index e05246a..8b96bbc 100644 --- a/include/onnx_mlpack/convert.hpp +++ b/include/onnx_mlpack/convert.hpp @@ -4,6 +4,11 @@ * @author Ryan Curtin * * Top-level functions for converting ONNX graphs to mlpack DAGNetworks. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_CONVERT_HPP #define ONNX_MLPACK_CONVERT_HPP diff --git a/include/onnx_mlpack/convert_impl.hpp b/include/onnx_mlpack/convert_impl.hpp index 68f9ee1..556177f 100644 --- a/include/onnx_mlpack/convert_impl.hpp +++ b/include/onnx_mlpack/convert_impl.hpp @@ -4,6 +4,11 @@ * @author Ryan Curtin * * Implementation of ONNX-mlpack converter (top level). + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_CONVERT_IMPL_HPP #define ONNX_MLPACK_CONVERT_IMPL_HPP diff --git a/include/onnx_mlpack/extract_attribute.hpp b/include/onnx_mlpack/extract_attribute.hpp index 37b67da..88c9155 100644 --- a/include/onnx_mlpack/extract_attribute.hpp +++ b/include/onnx_mlpack/extract_attribute.hpp @@ -4,6 +4,11 @@ * * Given the name of an attribute, extract its value from the given node and * return a bool indicating whether the operation was successful. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_EXTRACT_ATTRIBUTE_HPP #define ONNX_MLPACK_EXTRACT_ATTRIBUTE_HPP diff --git a/include/onnx_mlpack/extract_scalar.hpp b/include/onnx_mlpack/extract_scalar.hpp index 7826a1a..839e68d 100644 --- a/include/onnx_mlpack/extract_scalar.hpp +++ b/include/onnx_mlpack/extract_scalar.hpp @@ -4,6 +4,11 @@ * * Given the name of a tensor, extract a scalar and return a bool indicating * whether the operation was successful. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_EXTRACT_SCALAR_HPP #define ONNX_MLPACK_EXTRACT_SCALAR_HPP diff --git a/include/onnx_mlpack/matchers/add_connection.hpp b/include/onnx_mlpack/matchers/add_connection.hpp index 5ea553f..42be07a 100644 --- a/include/onnx_mlpack/matchers/add_connection.hpp +++ b/include/onnx_mlpack/matchers/add_connection.hpp @@ -5,9 +5,14 @@ * Candidate ONNX subgraphs that can match an Add ONNX operation that represents * when the outputs of two other layers need to be added together as inputs to * another layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ -#ifndef ONNX_MLPACK_MATCHERS_ADD_HPP -#define ONNX_MLPACK_MATCHERS_ADD_HPP +#ifndef ONNX_MLPACK_MATCHERS_ADD_CONNECTION_HPP +#define ONNX_MLPACK_MATCHERS_ADD_CONNECTION_HPP namespace onnx_mlpack { diff --git a/include/onnx_mlpack/matchers/add_connection_impl.hpp b/include/onnx_mlpack/matchers/add_connection_impl.hpp index f353940..33277b7 100644 --- a/include/onnx_mlpack/matchers/add_connection_impl.hpp +++ b/include/onnx_mlpack/matchers/add_connection_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match an Add ONNX operation that represents * when the outputs of two other layers need to be added together. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_ADD_CONNECTION_IMPL_HPP #define ONNX_MLPACK_MATCHERS_ADD_CONNECTION_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/batch_norm.hpp b/include/onnx_mlpack/matchers/batch_norm.hpp index 35fc9e4..302a487 100644 --- a/include/onnx_mlpack/matchers/batch_norm.hpp +++ b/include/onnx_mlpack/matchers/batch_norm.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the BatchNormalization layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_BATCH_NORM_HPP #define ONNX_MLPACK_MATCHERS_BATCH_NORM_HPP diff --git a/include/onnx_mlpack/matchers/batch_norm_impl.hpp b/include/onnx_mlpack/matchers/batch_norm_impl.hpp index 9702a6a..acd3b0a 100644 --- a/include/onnx_mlpack/matchers/batch_norm_impl.hpp +++ b/include/onnx_mlpack/matchers/batch_norm_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the BatchNorm layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_BATCH_NORM_IMPL_HPP #define ONNX_MLPACK_MATCHERS_BATCH_NORM_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/celu.hpp b/include/onnx_mlpack/matchers/celu.hpp index b0eea62..01b67be 100644 --- a/include/onnx_mlpack/matchers/celu.hpp +++ b/include/onnx_mlpack/matchers/celu.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the CELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_CELU_HPP #define ONNX_MLPACK_MATCHERS_CELU_HPP diff --git a/include/onnx_mlpack/matchers/celu_impl.hpp b/include/onnx_mlpack/matchers/celu_impl.hpp index 7e41837..9245df9 100644 --- a/include/onnx_mlpack/matchers/celu_impl.hpp +++ b/include/onnx_mlpack/matchers/celu_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the CELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_CELU_IMPL_HPP #define ONNX_MLPACK_MATCHERS_CELU_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/conv.hpp b/include/onnx_mlpack/matchers/conv.hpp index 3873401..8b2e09b 100644 --- a/include/onnx_mlpack/matchers/conv.hpp +++ b/include/onnx_mlpack/matchers/conv.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Conv layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_CONV_HPP #define ONNX_MLPACK_MATCHERS_CONV_HPP diff --git a/include/onnx_mlpack/matchers/conv_add.hpp b/include/onnx_mlpack/matchers/conv_add.hpp index b393157..e515225 100644 --- a/include/onnx_mlpack/matchers/conv_add.hpp +++ b/include/onnx_mlpack/matchers/conv_add.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the Conv layer when it is followed by * an Add (per-feature-map bias). + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_CONV_ADD_HPP #define ONNX_MLPACK_MATCHERS_CONV_ADD_HPP diff --git a/include/onnx_mlpack/matchers/conv_add_impl.hpp b/include/onnx_mlpack/matchers/conv_add_impl.hpp index 18c0e8d..96d5637 100644 --- a/include/onnx_mlpack/matchers/conv_add_impl.hpp +++ b/include/onnx_mlpack/matchers/conv_add_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Conv layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_CONV_ADD_IMPL_HPP #define ONNX_MLPACK_MATCHERS_CONV_ADD_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/conv_impl.hpp b/include/onnx_mlpack/matchers/conv_impl.hpp index b0643eb..bd2a479 100644 --- a/include/onnx_mlpack/matchers/conv_impl.hpp +++ b/include/onnx_mlpack/matchers/conv_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Conv layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_CONV_IMPL_HPP #define ONNX_MLPACK_MATCHERS_CONV_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/elu.hpp b/include/onnx_mlpack/matchers/elu.hpp index d361cb4..b54bf5e 100644 --- a/include/onnx_mlpack/matchers/elu.hpp +++ b/include/onnx_mlpack/matchers/elu.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the ELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_ELU_HPP #define ONNX_MLPACK_MATCHERS_ELU_HPP diff --git a/include/onnx_mlpack/matchers/elu_impl.hpp b/include/onnx_mlpack/matchers/elu_impl.hpp index d34feef..3e393ce 100644 --- a/include/onnx_mlpack/matchers/elu_impl.hpp +++ b/include/onnx_mlpack/matchers/elu_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the ELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_ELU_IMPL_HPP #define ONNX_MLPACK_MATCHERS_ELU_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/elu_piecewise.hpp b/include/onnx_mlpack/matchers/elu_piecewise.hpp index fa92392..5b1bbb0 100644 --- a/include/onnx_mlpack/matchers/elu_piecewise.hpp +++ b/include/onnx_mlpack/matchers/elu_piecewise.hpp @@ -5,6 +5,11 @@ * Candidate ONNX subgraphs that can match the ELU layer when it is represented * as a strange series of piecewise operations (this is the default output of * TensorFlow). + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_ELU_PIECEWISE_HPP #define ONNX_MLPACK_MATCHERS_ELU_PIECEWISE_HPP diff --git a/include/onnx_mlpack/matchers/elu_piecewise_impl.hpp b/include/onnx_mlpack/matchers/elu_piecewise_impl.hpp index 40f7d42..0077a51 100644 --- a/include/onnx_mlpack/matchers/elu_piecewise_impl.hpp +++ b/include/onnx_mlpack/matchers/elu_piecewise_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraph that can match the ELU layer when it is represented * as a series of piecewise operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_ELU_PIECEWISE_IMPL_HPP #define ONNX_MLPACK_MATCHERS_ELU_PIECEWISE_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/gelu.hpp b/include/onnx_mlpack/matchers/gelu.hpp index e581c90..8252988 100644 --- a/include/onnx_mlpack/matchers/gelu.hpp +++ b/include/onnx_mlpack/matchers/gelu.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the approximate GELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_HPP #define ONNX_MLPACK_MATCHERS_GELU_HPP diff --git a/include/onnx_mlpack/matchers/gelu_exact.hpp b/include/onnx_mlpack/matchers/gelu_exact.hpp index 2075b73..c577d11 100644 --- a/include/onnx_mlpack/matchers/gelu_exact.hpp +++ b/include/onnx_mlpack/matchers/gelu_exact.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the exact GELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_EXACT_HPP #define ONNX_MLPACK_MATCHERS_GELU_EXACT_HPP diff --git a/include/onnx_mlpack/matchers/gelu_exact_impl.hpp b/include/onnx_mlpack/matchers/gelu_exact_impl.hpp index ec87c77..e5f91df 100644 --- a/include/onnx_mlpack/matchers/gelu_exact_impl.hpp +++ b/include/onnx_mlpack/matchers/gelu_exact_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the exact GELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_EXACT_IMPL_HPP #define ONNX_MLPACK_MATCHERS_GELU_EXACT_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/gelu_exact_multi_op.hpp b/include/onnx_mlpack/matchers/gelu_exact_multi_op.hpp index 50212fd..08405e1 100644 --- a/include/onnx_mlpack/matchers/gelu_exact_multi_op.hpp +++ b/include/onnx_mlpack/matchers/gelu_exact_multi_op.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the exact GELU layer when it is * represented by several operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_EXACT_MULTI_OP_HPP #define ONNX_MLPACK_MATCHERS_GELU_EXACT_MULTI_OP_HPP diff --git a/include/onnx_mlpack/matchers/gelu_exact_multi_op_impl.hpp b/include/onnx_mlpack/matchers/gelu_exact_multi_op_impl.hpp index 414b5c5..68f72d2 100644 --- a/include/onnx_mlpack/matchers/gelu_exact_multi_op_impl.hpp +++ b/include/onnx_mlpack/matchers/gelu_exact_multi_op_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraph that can match the GELU layer when it is represented * as a series of operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_EXACT_MULTI_OP_IMPL_HPP #define ONNX_MLPACK_MATCHERS_GELU_EXACT_MULTI_OP_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/gelu_impl.hpp b/include/onnx_mlpack/matchers/gelu_impl.hpp index 67e542e..58e6baf 100644 --- a/include/onnx_mlpack/matchers/gelu_impl.hpp +++ b/include/onnx_mlpack/matchers/gelu_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the approximate GELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_IMPL_HPP #define ONNX_MLPACK_MATCHERS_GELU_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/gelu_multi_op.hpp b/include/onnx_mlpack/matchers/gelu_multi_op.hpp index f17f8b6..067f92a 100644 --- a/include/onnx_mlpack/matchers/gelu_multi_op.hpp +++ b/include/onnx_mlpack/matchers/gelu_multi_op.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the approximate GELU layer when it is * represented by several operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_MULTI_OP_HPP #define ONNX_MLPACK_MATCHERS_GELU_MULTI_OP_HPP diff --git a/include/onnx_mlpack/matchers/gelu_multi_op_impl.hpp b/include/onnx_mlpack/matchers/gelu_multi_op_impl.hpp index 7b32df6..7c9d141 100644 --- a/include/onnx_mlpack/matchers/gelu_multi_op_impl.hpp +++ b/include/onnx_mlpack/matchers/gelu_multi_op_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraph that can match the approximate GELU layer when it is * represented as a series of operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_GELU_MULTI_OP_IMPL_HPP #define ONNX_MLPACK_MATCHERS_GELU_MULTI_OP_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/hard_sigmoid.hpp b/include/onnx_mlpack/matchers/hard_sigmoid.hpp index 4982199..8522398 100644 --- a/include/onnx_mlpack/matchers/hard_sigmoid.hpp +++ b/include/onnx_mlpack/matchers/hard_sigmoid.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the HardSigmoid layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_HARD_SIGMOID_HPP #define ONNX_MLPACK_MATCHERS_HARD_SIGMOID_HPP diff --git a/include/onnx_mlpack/matchers/hard_sigmoid_impl.hpp b/include/onnx_mlpack/matchers/hard_sigmoid_impl.hpp index 3170a41..45b3c49 100644 --- a/include/onnx_mlpack/matchers/hard_sigmoid_impl.hpp +++ b/include/onnx_mlpack/matchers/hard_sigmoid_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the HardSigmoid layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_HARD_SIGMOID_IMPL_HPP #define ONNX_MLPACK_MATCHERS_HARD_SIGMOID_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/hard_sigmoid_multi_op.hpp b/include/onnx_mlpack/matchers/hard_sigmoid_multi_op.hpp index 83d7699..ca739b1 100644 --- a/include/onnx_mlpack/matchers/hard_sigmoid_multi_op.hpp +++ b/include/onnx_mlpack/matchers/hard_sigmoid_multi_op.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the HardSigmoid layer when it is * represented as a series of operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_HARD_SIGMOID_MULTI_OP_HPP #define ONNX_MLPACK_MATCHERS_HARD_SIGMOID_MULTI_OP_HPP diff --git a/include/onnx_mlpack/matchers/hard_sigmoid_multi_op_impl.hpp b/include/onnx_mlpack/matchers/hard_sigmoid_multi_op_impl.hpp index 336d728..76d5006 100644 --- a/include/onnx_mlpack/matchers/hard_sigmoid_multi_op_impl.hpp +++ b/include/onnx_mlpack/matchers/hard_sigmoid_multi_op_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraph that can match the HardSigmoid layer when it is * represented as a series of operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_HARD_SIGMOID_MULTI_OP_IMPL_HPP #define ONNX_MLPACK_MATCHERS_HARD_SIGMOID_MULTI_OP_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/hard_swish.hpp b/include/onnx_mlpack/matchers/hard_swish.hpp index a7633df..d4d53fb 100644 --- a/include/onnx_mlpack/matchers/hard_swish.hpp +++ b/include/onnx_mlpack/matchers/hard_swish.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the HardSwish layer using a * HardSigmoid ONNX node. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_HARD_SWISH_HPP #define ONNX_MLPACK_MATCHERS_HARD_SWISH_HPP diff --git a/include/onnx_mlpack/matchers/hard_swish_impl.hpp b/include/onnx_mlpack/matchers/hard_swish_impl.hpp index b335f55..3d16f2f 100644 --- a/include/onnx_mlpack/matchers/hard_swish_impl.hpp +++ b/include/onnx_mlpack/matchers/hard_swish_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the HardSwish layer using an ONNX * HardSwish layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_HARD_SWISH_IMPL_HPP #define ONNX_MLPACK_MATCHERS_HARD_SWISH_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/leaky_relu.hpp b/include/onnx_mlpack/matchers/leaky_relu.hpp index c77a09b..850a614 100644 --- a/include/onnx_mlpack/matchers/leaky_relu.hpp +++ b/include/onnx_mlpack/matchers/leaky_relu.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the LeakyReLU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LEAKY_RELU_HPP #define ONNX_MLPACK_MATCHERS_LEAKY_RELU_HPP diff --git a/include/onnx_mlpack/matchers/leaky_relu_impl.hpp b/include/onnx_mlpack/matchers/leaky_relu_impl.hpp index 91dc50f..ae1d17f 100644 --- a/include/onnx_mlpack/matchers/leaky_relu_impl.hpp +++ b/include/onnx_mlpack/matchers/leaky_relu_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the LeakyReLU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LEAKY_RELU_IMPL_HPP #define ONNX_MLPACK_MATCHERS_LEAKY_RELU_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/linear_gemm.hpp b/include/onnx_mlpack/matchers/linear_gemm.hpp index b33d8d6..5e43811 100644 --- a/include/onnx_mlpack/matchers/linear_gemm.hpp +++ b/include/onnx_mlpack/matchers/linear_gemm.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraph that can match the Linear layer with a Gemm ONNX * operation.. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_GEMM_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_GEMM_HPP diff --git a/include/onnx_mlpack/matchers/linear_gemm_impl.hpp b/include/onnx_mlpack/matchers/linear_gemm_impl.hpp index dbd3b8c..e2ac76b 100644 --- a/include/onnx_mlpack/matchers/linear_gemm_impl.hpp +++ b/include/onnx_mlpack/matchers/linear_gemm_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Linear layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_GEMM_IMPL_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_GEMM_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/linear_matmul_add.hpp b/include/onnx_mlpack/matchers/linear_matmul_add.hpp index 682d9ab..18f21e7 100644 --- a/include/onnx_mlpack/matchers/linear_matmul_add.hpp +++ b/include/onnx_mlpack/matchers/linear_matmul_add.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraph that can match the Linear layer to a GEMM combined * MatMul/Add operation. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_MATMUL_ADD_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_MATMUL_ADD_HPP diff --git a/include/onnx_mlpack/matchers/linear_matmul_add_impl.hpp b/include/onnx_mlpack/matchers/linear_matmul_add_impl.hpp index d03fd39..9a3965c 100644 --- a/include/onnx_mlpack/matchers/linear_matmul_add_impl.hpp +++ b/include/onnx_mlpack/matchers/linear_matmul_add_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Linear layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_MATMUL_ADD_IMPL_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_MATMUL_ADD_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/linear_no_bias_gemm.hpp b/include/onnx_mlpack/matchers/linear_no_bias_gemm.hpp index 746cc32..549bd38 100644 --- a/include/onnx_mlpack/matchers/linear_no_bias_gemm.hpp +++ b/include/onnx_mlpack/matchers/linear_no_bias_gemm.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the LinearNoBias layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_GEMM_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_GEMM_HPP diff --git a/include/onnx_mlpack/matchers/linear_no_bias_gemm_impl.hpp b/include/onnx_mlpack/matchers/linear_no_bias_gemm_impl.hpp index 039629f..1bcff11 100644 --- a/include/onnx_mlpack/matchers/linear_no_bias_gemm_impl.hpp +++ b/include/onnx_mlpack/matchers/linear_no_bias_gemm_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the LinearNoBias layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_GEMM_IMPL_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_GEMM_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/linear_no_bias_matmul.hpp b/include/onnx_mlpack/matchers/linear_no_bias_matmul.hpp index 1d9bb9e..1edb023 100644 --- a/include/onnx_mlpack/matchers/linear_no_bias_matmul.hpp +++ b/include/onnx_mlpack/matchers/linear_no_bias_matmul.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the LinearNoBias layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_MATMUL_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_MATMUL_HPP diff --git a/include/onnx_mlpack/matchers/linear_no_bias_matmul_impl.hpp b/include/onnx_mlpack/matchers/linear_no_bias_matmul_impl.hpp index 403f976..d35a980 100644 --- a/include/onnx_mlpack/matchers/linear_no_bias_matmul_impl.hpp +++ b/include/onnx_mlpack/matchers/linear_no_bias_matmul_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the LinearNoBias layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_MATMUL_IMPL_HPP #define ONNX_MLPACK_MATCHERS_LINEAR_NO_BIAS_MATMUL_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/match.hpp b/include/onnx_mlpack/matchers/match.hpp index 17fe06e..df780f6 100644 --- a/include/onnx_mlpack/matchers/match.hpp +++ b/include/onnx_mlpack/matchers/match.hpp @@ -5,6 +5,11 @@ * Support for matching ONNX subgraphs. This includes all of the * implementations in a specific order, because the Matching class depends on * the Subgraph class (and vice versa). + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MATCH_HPP #define ONNX_MLPACK_MATCHERS_MATCH_HPP diff --git a/include/onnx_mlpack/matchers/matcher.hpp b/include/onnx_mlpack/matchers/matcher.hpp index 580a63b..6794280 100644 --- a/include/onnx_mlpack/matchers/matcher.hpp +++ b/include/onnx_mlpack/matchers/matcher.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Subgraph matcher for ONNX graphs. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MATCHER_HPP #define ONNX_MLPACK_MATCHERS_MATCHER_HPP diff --git a/include/onnx_mlpack/matchers/matcher_impl.hpp b/include/onnx_mlpack/matchers/matcher_impl.hpp index 7fd7406..2fd77d4 100644 --- a/include/onnx_mlpack/matchers/matcher_impl.hpp +++ b/include/onnx_mlpack/matchers/matcher_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Implementation of subgraph matcher for ONNX graphs. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MATCHER_IMPL_HPP #define ONNX_MLPACK_MATCHERS_MATCHER_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/max_pooling.hpp b/include/onnx_mlpack/matchers/max_pooling.hpp index acd12c3..abc50dd 100644 --- a/include/onnx_mlpack/matchers/max_pooling.hpp +++ b/include/onnx_mlpack/matchers/max_pooling.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the MaxPooling layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MAX_POOLING_HPP #define ONNX_MLPACK_MATCHERS_MAX_POOLING_HPP diff --git a/include/onnx_mlpack/matchers/max_pooling_impl.hpp b/include/onnx_mlpack/matchers/max_pooling_impl.hpp index f108516..86c15eb 100644 --- a/include/onnx_mlpack/matchers/max_pooling_impl.hpp +++ b/include/onnx_mlpack/matchers/max_pooling_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the MaxPooling layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MAX_POOLING_IMPL_HPP #define ONNX_MLPACK_MATCHERS_MAX_POOLING_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/mean_pooling.hpp b/include/onnx_mlpack/matchers/mean_pooling.hpp index a6d4101..e007431 100644 --- a/include/onnx_mlpack/matchers/mean_pooling.hpp +++ b/include/onnx_mlpack/matchers/mean_pooling.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraph that can match the ONNX GlobalAveragePool operation * to the mlpack MeanPooling layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MEAN_POOLING_HPP #define ONNX_MLPACK_MATCHERS_MEAN_POOLING_HPP diff --git a/include/onnx_mlpack/matchers/mean_pooling_impl.hpp b/include/onnx_mlpack/matchers/mean_pooling_impl.hpp index 4b53f7c..a380319 100644 --- a/include/onnx_mlpack/matchers/mean_pooling_impl.hpp +++ b/include/onnx_mlpack/matchers/mean_pooling_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the MaxPooling layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MEAN_POOLING_IMPL_HPP #define ONNX_MLPACK_MATCHERS_MEAN_POOLING_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/mish.hpp b/include/onnx_mlpack/matchers/mish.hpp index 2c03b22..2ca0c4b 100644 --- a/include/onnx_mlpack/matchers/mish.hpp +++ b/include/onnx_mlpack/matchers/mish.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Mish layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MISH_HPP #define ONNX_MLPACK_MATCHERS_MISH_HPP diff --git a/include/onnx_mlpack/matchers/mish_impl.hpp b/include/onnx_mlpack/matchers/mish_impl.hpp index 51b926c..e48cb35 100644 --- a/include/onnx_mlpack/matchers/mish_impl.hpp +++ b/include/onnx_mlpack/matchers/mish_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Mish layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MISH_IMPL_HPP #define ONNX_MLPACK_MATCHERS_MISH_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/mish_multi_op.hpp b/include/onnx_mlpack/matchers/mish_multi_op.hpp index d53e92e..77bf9a1 100644 --- a/include/onnx_mlpack/matchers/mish_multi_op.hpp +++ b/include/onnx_mlpack/matchers/mish_multi_op.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the Mish layer when it is serialized * as a series of ONNX operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MISH_MULTI_OP_HPP #define ONNX_MLPACK_MATCHERS_MISH_MULTI_OP_HPP diff --git a/include/onnx_mlpack/matchers/mish_multi_op_impl.hpp b/include/onnx_mlpack/matchers/mish_multi_op_impl.hpp index d65526d..08d7685 100644 --- a/include/onnx_mlpack/matchers/mish_multi_op_impl.hpp +++ b/include/onnx_mlpack/matchers/mish_multi_op_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the Mish layer as a series of ONNX * operations. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MISH_MULTI_OP_IMPL_HPP #define ONNX_MLPACK_MATCHERS_MISH_MULTI_OP_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/mul_scalar.hpp b/include/onnx_mlpack/matchers/mul_scalar.hpp index 7d2f3d2..41210d8 100644 --- a/include/onnx_mlpack/matchers/mul_scalar.hpp +++ b/include/onnx_mlpack/matchers/mul_scalar.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match a plain Mul node that multiplies a * scalar. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MUL_SCALAR_HPP #define ONNX_MLPACK_MATCHERS_MUL_SCALAR_HPP diff --git a/include/onnx_mlpack/matchers/mul_scalar_impl.hpp b/include/onnx_mlpack/matchers/mul_scalar_impl.hpp index 9efc262..eee9cdb 100644 --- a/include/onnx_mlpack/matchers/mul_scalar_impl.hpp +++ b/include/onnx_mlpack/matchers/mul_scalar_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the Mul ONNX node when it is * multiplying the input by a scalar.. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_MUL_SCALAR_IMPL_HPP #define ONNX_MLPACK_MATCHERS_MUL_SCALAR_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/prelu.hpp b/include/onnx_mlpack/matchers/prelu.hpp index 8500c95..9e23677 100644 --- a/include/onnx_mlpack/matchers/prelu.hpp +++ b/include/onnx_mlpack/matchers/prelu.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the PReLU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_PRELU_HPP #define ONNX_MLPACK_MATCHERS_PRELU_HPP diff --git a/include/onnx_mlpack/matchers/prelu_impl.hpp b/include/onnx_mlpack/matchers/prelu_impl.hpp index 0148eea..0e721e1 100644 --- a/include/onnx_mlpack/matchers/prelu_impl.hpp +++ b/include/onnx_mlpack/matchers/prelu_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the PReLU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_PRELU_IMPL_HPP #define ONNX_MLPACK_MATCHERS_PRELU_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/prelu_multi_op.hpp b/include/onnx_mlpack/matchers/prelu_multi_op.hpp index dc98ea2..67d58fc 100644 --- a/include/onnx_mlpack/matchers/prelu_multi_op.hpp +++ b/include/onnx_mlpack/matchers/prelu_multi_op.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the PReLU layer when it is * represented as a series of operations. This is done by the tf2onnx tool. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_PRELU_MULTI_OP_HPP #define ONNX_MLPACK_MATCHERS_PRELU_MULTI_OP_HPP diff --git a/include/onnx_mlpack/matchers/prelu_multi_op_impl.hpp b/include/onnx_mlpack/matchers/prelu_multi_op_impl.hpp index 2320b79..ed9af7d 100644 --- a/include/onnx_mlpack/matchers/prelu_multi_op_impl.hpp +++ b/include/onnx_mlpack/matchers/prelu_multi_op_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the PReLU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_PRELU_MULTI_OP_IMPL_HPP #define ONNX_MLPACK_MATCHERS_PRELU_MULTI_OP_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/relu.hpp b/include/onnx_mlpack/matchers/relu.hpp index 291cd3c..ae90f9a 100644 --- a/include/onnx_mlpack/matchers/relu.hpp +++ b/include/onnx_mlpack/matchers/relu.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the ReLU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_RELU_HPP #define ONNX_MLPACK_MATCHERS_RELU_HPP diff --git a/include/onnx_mlpack/matchers/relu_impl.hpp b/include/onnx_mlpack/matchers/relu_impl.hpp index f972d8f..ee6ec8a 100644 --- a/include/onnx_mlpack/matchers/relu_impl.hpp +++ b/include/onnx_mlpack/matchers/relu_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the ReLU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_RELU_IMPL_HPP #define ONNX_MLPACK_MATCHERS_RELU_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/selu.hpp b/include/onnx_mlpack/matchers/selu.hpp index e3493a2..a3759f6 100644 --- a/include/onnx_mlpack/matchers/selu.hpp +++ b/include/onnx_mlpack/matchers/selu.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the SELU layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SELU_HPP #define ONNX_MLPACK_MATCHERS_SELU_HPP diff --git a/include/onnx_mlpack/matchers/sigmoid.hpp b/include/onnx_mlpack/matchers/sigmoid.hpp index 6707d1f..596dac9 100644 --- a/include/onnx_mlpack/matchers/sigmoid.hpp +++ b/include/onnx_mlpack/matchers/sigmoid.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Sigmoid layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SIGMOID_HPP #define ONNX_MLPACK_MATCHERS_SIGMOID_HPP diff --git a/include/onnx_mlpack/matchers/sigmoid_impl.hpp b/include/onnx_mlpack/matchers/sigmoid_impl.hpp index 9d24d08..958991b 100644 --- a/include/onnx_mlpack/matchers/sigmoid_impl.hpp +++ b/include/onnx_mlpack/matchers/sigmoid_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Sigmoid layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SIGMOID_IMPL_HPP #define ONNX_MLPACK_MATCHERS_SIGMOID_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/softmax.hpp b/include/onnx_mlpack/matchers/softmax.hpp index f1b7206..4d77b56 100644 --- a/include/onnx_mlpack/matchers/softmax.hpp +++ b/include/onnx_mlpack/matchers/softmax.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Softmax layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SOFTMAX_HPP #define ONNX_MLPACK_MATCHERS_SOFTMAX_HPP diff --git a/include/onnx_mlpack/matchers/softmax_impl.hpp b/include/onnx_mlpack/matchers/softmax_impl.hpp index 4d68fd7..f6d10de 100644 --- a/include/onnx_mlpack/matchers/softmax_impl.hpp +++ b/include/onnx_mlpack/matchers/softmax_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Softplus layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SOFTMAX_IMPL_HPP #define ONNX_MLPACK_MATCHERS_SOFTMAX_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/softplus.hpp b/include/onnx_mlpack/matchers/softplus.hpp index d669c65..7c640ca 100644 --- a/include/onnx_mlpack/matchers/softplus.hpp +++ b/include/onnx_mlpack/matchers/softplus.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Softplus layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SOFTPLUS_HPP #define ONNX_MLPACK_MATCHERS_SOFTPLUS_HPP diff --git a/include/onnx_mlpack/matchers/softplus_impl.hpp b/include/onnx_mlpack/matchers/softplus_impl.hpp index 32d1c24..9fc75e4 100644 --- a/include/onnx_mlpack/matchers/softplus_impl.hpp +++ b/include/onnx_mlpack/matchers/softplus_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Softplus layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SOFTPLUS_IMPL_HPP #define ONNX_MLPACK_MATCHERS_SOFTPLUS_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/softplus_threshold.hpp b/include/onnx_mlpack/matchers/softplus_threshold.hpp index ebea5f4..93c6f64 100644 --- a/include/onnx_mlpack/matchers/softplus_threshold.hpp +++ b/include/onnx_mlpack/matchers/softplus_threshold.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the Softplus layer when it is * exported with special operations for the PyTorch threshold parameter. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SOFTPLUS_THRESHOLD_HPP #define ONNX_MLPACK_MATCHERS_SOFTPLUS_THRESHOLD_HPP diff --git a/include/onnx_mlpack/matchers/softplus_threshold_impl.hpp b/include/onnx_mlpack/matchers/softplus_threshold_impl.hpp index 0e1b478..e599042 100644 --- a/include/onnx_mlpack/matchers/softplus_threshold_impl.hpp +++ b/include/onnx_mlpack/matchers/softplus_threshold_impl.hpp @@ -4,6 +4,11 @@ * * Candidate ONNX subgraphs that can match the Softplus layer when exported with * extra layers for thresholding. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SOFTPLUS_THRESHOLD_IMPL_HPP #define ONNX_MLPACK_MATCHERS_SOFTPLUS_THRESHOLD_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/subgraph.hpp b/include/onnx_mlpack/matchers/subgraph.hpp index 89fcd6a..9f45bf7 100644 --- a/include/onnx_mlpack/matchers/subgraph.hpp +++ b/include/onnx_mlpack/matchers/subgraph.hpp @@ -4,6 +4,11 @@ * * Definition of a simple subgraph of ONNX operators (stored as strings * representing the operator name). + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SUBGRAPH_HPP #define ONNX_MLPACK_MATCHERS_SUBGRAPH_HPP diff --git a/include/onnx_mlpack/matchers/subgraph_impl.hpp b/include/onnx_mlpack/matchers/subgraph_impl.hpp index 967c8ce..3d7c706 100644 --- a/include/onnx_mlpack/matchers/subgraph_impl.hpp +++ b/include/onnx_mlpack/matchers/subgraph_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Implementation of Subgraph class and its matching functionality. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SUBGRAPH_IMPL_HPP #define ONNX_MLPACK_MATCHERS_SUBGRAPH_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/swish.hpp b/include/onnx_mlpack/matchers/swish.hpp index 2379465..f59eeee 100644 --- a/include/onnx_mlpack/matchers/swish.hpp +++ b/include/onnx_mlpack/matchers/swish.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Swish layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SWISH_HPP #define ONNX_MLPACK_MATCHERS_SWISH_HPP diff --git a/include/onnx_mlpack/matchers/swish_impl.hpp b/include/onnx_mlpack/matchers/swish_impl.hpp index d8e02cf..963a952 100644 --- a/include/onnx_mlpack/matchers/swish_impl.hpp +++ b/include/onnx_mlpack/matchers/swish_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Swish layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_SWISH_IMPL_HPP #define ONNX_MLPACK_MATCHERS_SWISH_IMPL_HPP diff --git a/include/onnx_mlpack/matchers/tanh.hpp b/include/onnx_mlpack/matchers/tanh.hpp index b5e62a3..ee9691f 100644 --- a/include/onnx_mlpack/matchers/tanh.hpp +++ b/include/onnx_mlpack/matchers/tanh.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Tanh layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_TANH_HPP #define ONNX_MLPACK_MATCHERS_TANH_HPP diff --git a/include/onnx_mlpack/matchers/tanh_impl.hpp b/include/onnx_mlpack/matchers/tanh_impl.hpp index b48295e..9318860 100644 --- a/include/onnx_mlpack/matchers/tanh_impl.hpp +++ b/include/onnx_mlpack/matchers/tanh_impl.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Candidate ONNX subgraphs that can match the Tanh layer. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MATCHERS_TANH_IMPL_HPP #define ONNX_MLPACK_MATCHERS_TANH_IMPL_HPP diff --git a/include/onnx_mlpack/mlpack_backport/connection_types.hpp b/include/onnx_mlpack/mlpack_backport/connection_types.hpp index 070f886..4886f79 100644 --- a/include/onnx_mlpack/mlpack_backport/connection_types.hpp +++ b/include/onnx_mlpack/mlpack_backport/connection_types.hpp @@ -5,9 +5,9 @@ * Backported placement of the ConnectionTypes enum into the mlpack namespace * (it was not in there until after 4.8.0). * - * mlpack is free software; you may redistribute it and/or modify it under the - * terms of the 3-clause BSD license. You should have received a copy of the - * 3-clause BSD license along with mlpack. If not, see + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_MLPACK_BACKPORT_CONNECTION_TYPES_HPP diff --git a/include/onnx_mlpack/mlpack_backport/scale.hpp b/include/onnx_mlpack/mlpack_backport/scale.hpp index 6c1b7f3..af2ecd5 100644 --- a/include/onnx_mlpack/mlpack_backport/scale.hpp +++ b/include/onnx_mlpack/mlpack_backport/scale.hpp @@ -5,9 +5,9 @@ * Backported definition of the Scale layer, which multiplies its inputs by a * constant value. * - * mlpack is free software; you may redistribute it and/or modify it under the - * terms of the 3-clause BSD license. You should have received a copy of the - * 3-clause BSD license along with mlpack. If not, see + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ diff --git a/include/onnx_mlpack/mlpack_backport/scale_impl.hpp b/include/onnx_mlpack/mlpack_backport/scale_impl.hpp index d579ab7..f10bb3a 100644 --- a/include/onnx_mlpack/mlpack_backport/scale_impl.hpp +++ b/include/onnx_mlpack/mlpack_backport/scale_impl.hpp @@ -5,9 +5,9 @@ * Backported implementation of the Scale layer, which multiplies its inputs by * a constant value. * - * mlpack is free software; you may redistribute it and/or modify it under the - * terms of the 3-clause BSD license. You should have received a copy of the - * 3-clause BSD license along with mlpack. If not, see + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ // We use the same header guard in case the user happens to have a branch that diff --git a/include/onnx_mlpack/remove_identity_nodes.hpp b/include/onnx_mlpack/remove_identity_nodes.hpp index 59ca062..dc9881c 100644 --- a/include/onnx_mlpack/remove_identity_nodes.hpp +++ b/include/onnx_mlpack/remove_identity_nodes.hpp @@ -4,6 +4,11 @@ * * If an ONNX graph has Identity operations, they can be trivially removed (they * don't do anything). + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_REMOVE_IDENTITY_NODES_HPP #define ONNX_MLPACK_REMOVE_IDENTITY_NODES_HPP diff --git a/include/onnx_mlpack/remove_useless_nodes.hpp b/include/onnx_mlpack/remove_useless_nodes.hpp index 9377455..d545562 100644 --- a/include/onnx_mlpack/remove_useless_nodes.hpp +++ b/include/onnx_mlpack/remove_useless_nodes.hpp @@ -4,6 +4,11 @@ * * If an ONNX graph has operations that don't actually do anything, they can be * trivially removed. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_REMOVE_USELESS_NODES_HPP #define ONNX_MLPACK_REMOVE_USELESS_NODES_HPP diff --git a/include/onnx_mlpack/tensor_to_arma.hpp b/include/onnx_mlpack/tensor_to_arma.hpp index 51b5937..deaf052 100644 --- a/include/onnx_mlpack/tensor_to_arma.hpp +++ b/include/onnx_mlpack/tensor_to_arma.hpp @@ -3,6 +3,11 @@ * @author Ryan Curtin * * Given a TensorProto, return an Armadillo matrix with the converted data. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #ifndef ONNX_MLPACK_TENSOR_TO_ARMA_HPP #define ONNX_MLPACK_TENSOR_TO_ARMA_HPP diff --git a/src/onnx_mlpack_converter.cpp b/src/onnx_mlpack_converter.cpp index 5e217c2..1fd1505 100644 --- a/src/onnx_mlpack_converter.cpp +++ b/src/onnx_mlpack_converter.cpp @@ -4,6 +4,11 @@ * * This program converts an ONNX network to an equivalent mlpack DAGNetwork and * serializes it to file. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #define MLPACK_ENABLE_ANN_SERIALIZATION #include diff --git a/tests/iris.cpp b/tests/iris.cpp index 45ee89f..8ea0cff 100644 --- a/tests/iris.cpp +++ b/tests/iris.cpp @@ -4,9 +4,9 @@ * Test that a simple network for iris dataset classification can be loaded from * ONNX correctly. * - * mlpack is free software; you may redistribute it and/or modify it under the - * terms of the 3-clause BSD license. You should have received a copy of the - * 3-clause BSD license along with mlpack. If not, see + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #include diff --git a/tests/lenet.cpp b/tests/lenet.cpp index 31aed2a..342c5d0 100644 --- a/tests/lenet.cpp +++ b/tests/lenet.cpp @@ -37,6 +37,11 @@ * separate Add node to add in the bias. * * For the sake of testing our converter, weird is good. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #include #include "catch.hpp" diff --git a/tests/matcher_test.cpp b/tests/matcher_test.cpp index 64f1134..b60c795 100644 --- a/tests/matcher_test.cpp +++ b/tests/matcher_test.cpp @@ -3,9 +3,9 @@ * * Test that a simple network can be matched to an mlpack graph. * - * mlpack is free software; you may redistribute it and/or modify it under the - * terms of the 3-clause BSD license. You should have received a copy of the - * 3-clause BSD license along with mlpack. If not, see + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #include diff --git a/tests/mobilenet.cpp b/tests/mobilenet.cpp index edf0219..b03684b 100644 --- a/tests/mobilenet.cpp +++ b/tests/mobilenet.cpp @@ -4,6 +4,11 @@ * Test that MobileNet can be loaded from ONNX correctly. * Information about the onnx mobilenet v7 model can be found at: * https://github.com/onnx/models/tree/main/validated/vision/classification/mobilenet + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #include #include "catch.hpp" diff --git a/tests/yolo-tiny.cpp b/tests/yolo-tiny.cpp index 35a2c71..92623f3 100644 --- a/tests/yolo-tiny.cpp +++ b/tests/yolo-tiny.cpp @@ -2,6 +2,11 @@ * @file yolo-tiny.cpp * * Test that the YOLOv3-Tiny network can be loaded from ONNX correctly. + * + * The ONNX/mlpack converter is free software; you may redistribute it and/or + * modify it under the terms of the 3-clause BSD license. You should have + * received a copy of the 3-clause BSD license along with mlpack. If not, see + * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ #include #include "catch.hpp"