[mlpack-git] master: Add border modes (valid convolution, full convolution). (003ff89)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Apr 22 08:04:54 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/e2beb217f3e17729b73f9edc05601195e92f775d...8f85309ae9be40e819b301b39c9a940aa28f3bb2

>---------------------------------------------------------------

commit 003ff8917587b2a47a6a192eb2b9b3b717143ca9
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Mon Apr 20 20:16:00 2015 +0200

    Add border modes (valid convolution, full convolution).


>---------------------------------------------------------------

003ff8917587b2a47a6a192eb2b9b3b717143ca9
 .../methods/ann/convolution_rules/border_modes.hpp | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/src/mlpack/methods/ann/convolution_rules/border_modes.hpp b/src/mlpack/methods/ann/convolution_rules/border_modes.hpp
new file mode 100644
index 0000000..72f1675
--- /dev/null
+++ b/src/mlpack/methods/ann/convolution_rules/border_modes.hpp
@@ -0,0 +1,28 @@
+/**
+ * @file border_modes.hpp
+ * @author Marcus Edel
+ *
+ * This file provides the border modes that can be used to compute different
+ * convolutions.
+ */
+#ifndef __MLPACK_METHOS_ANN_CONVOLUTION_RULES_BORDER_MODES_HPP
+#define __MLPACK_METHOS_ANN_CONVOLUTION_RULES_BORDER_MODES_HPP
+
+namespace mlpack {
+namespace ann {
+
+/*
+ * The FullConvolution class represents the full two-dimensional convolution.
+ */
+class FullConvolution { /* Nothing to do here */ };
+
+/*
+ * The ValidConvolution represents only those parts of the convolution that are
+ * computed without the zero-padded edges.
+ */
+class ValidConvolution { /* Nothing to do here */ };
+
+}; // namespace ann
+}; // namespace mlpack
+
+#endif



More information about the mlpack-git mailing list