X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mlp.git;a=blobdiff_plain;f=misc.h;fp=misc.h;h=4470d4510f72c8fa27cbd7a0381a3faaa8bd93b5;hp=3a8b43d0d5bd259f0a2d73a96f115b58a594fa8a;hb=a3e1c52fc152cbbbcc2c8c675f14efc0e653d6fd;hpb=713c683d77fc94a4257c4031b0c51ef4669a3d4a diff --git a/misc.h b/misc.h index 3a8b43d..4470d45 100644 --- a/misc.h +++ b/misc.h @@ -1,8 +1,10 @@ /* * mlp-mnist is an implementation of a multi-layer neural network. * - * Copyright (c) 2008 Idiap Research Institute, http://www.idiap.ch/ - * Written by Francois Fleuret + * Copyright (c) 2006 École Polytechnique Fédérale de Lausanne, + * http://www.epfl.ch + * + * Written by Francois Fleuret * * This file is part of mlp-mnist. * @@ -29,6 +31,8 @@ #define ASSERT(x, s) #endif +const int buffer_size = 1024; + typedef float scalar_t; template T sq(T x) { return x*x; }