changeset 1511:9ffe5d6faee3

Auto white space fix.
author Frederic Bastien <nouiz@nouiz.org>
date Mon, 12 Sep 2011 11:47:23 -0400
parents 07b48bd449cd
children 7f166d01bf8e
files pylearn/dataset_ops/image_patches.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/dataset_ops/image_patches.py	Mon Sep 12 11:47:00 2011 -0400
+++ b/pylearn/dataset_ops/image_patches.py	Mon Sep 12 11:47:23 2011 -0400
@@ -70,7 +70,7 @@
 
 def undo_pca_filters_of_ranzato_hinton_2010(X, path=None):
     """Return tuple (R,G,B,None) of matrices for matrix `X` of filters (one per row)
-    
+
     Return value can be passed to `image_tiling.tile_raster_images`.
     """
     dct = ranzato_hinton_2010(path)
@@ -85,7 +85,7 @@
     image_tiling.save_tiled_raster_images(_img, fname)
 
 def ranzato_hinton_2010_op(s_idx,
-        split='train', 
+        split='train',
         dtype=theano.config.floatX, rasterized=True,
         center=True,
         unitvar=True,
@@ -105,9 +105,8 @@
         raise NotImplementedError('dtype not float32')
 
     op = TensorFnDataset(dtype,
-            bcast=(False,), 
+            bcast=(False,),
             fn=fn,
             single_shape=(105,))
     x = op(s_idx%N)
     return x
-