Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Import alias Import alias identifier ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Str Num Num Str NameLoad TupleLoad Str Num Num Str TupleLoad Num Num Num Str NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword NameLoad keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr TupleLoad BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListLoad AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Num Num Num Str NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpAdd NameLoad BinOpMult Num NameLoad Return BinOpAdd BinOpFloorDiv BinOpSub NameLoad NameLoad NameLoad Num decorator_list Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assert CompareEq BinOpMod NameLoad NameLoad Num Assign NameStore BinOpFloorDiv NameLoad NameLoad Assert CompareEq BinOpMod NameLoad NameLoad Num Assign NameStore BinOpFloorDiv NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad NameLoad Return Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Num Num Str Str NameLoad body Expr Str Raise Call NameLoad Str Expr Str Assign NameStore Call NameLoad NameLoad NameLoad keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num FunctionDef arguments args defaults body Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list For NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad While CompareNotEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad decorator_list
N/A N/A 
This module is based on Alex Krizhevsky's cuda-convnet locally connected layers.
pylearn2.linear.conv2d is based on theano's 2D convolution.
This module therefore uses images with axis format ('c', 0, 1, 'b')
as its native format.
Unlike the other cuda-convnet functionality in pylearn2, this linear transform
has CPU support, provided by TheanoLinear.
 N/A __authors__ Ian Goodfellow N/A __copyright__ Copyright 2010-2012, Universite de Montreal N/A __credits__ N/A Ian Goodfellow N/A __license__ 3-clause BSD N/A __maintainer__ LISA Lab N/A __email__ pylearn-dev@googlegroups N/A logging N/A numpy np theano.compat.six.moves xrange N/A warnings pylearn2.packaged_dependencies.theano_linear.unshared_conv.localdot LocalDot pylearn2.utils sharedX pylearn2.utils.rng make_np_rng pylearn2.linear.conv2d default_seed default_sparse_seed pylearn2.linear.linear_transform LinearTransform N/A logger N/A N/A logging getLogger __name__ Local N/A LinearTransform LocalDot N/A N/A 
    A pylearn2 linear operator based on local receptive fields (convolution
    without parameter sharing) implemented using Alex Krizhevsky's cuda-convnet
    library + James Bergstra's TheanoLinear module

    Parameters
    ----------
    filters : WRITEME
    image_shape : WRITEME
    input_groups : WRITEME
    input_axes : WRITEME
    batch_size : WRITEME
    output_axes : WRITEME
    kernel_stride : WRITEME
    pad : WRITEME
    message : WRITEME
    partial_sum : WRITEME
     __init__ N/A N/A self filters image_shape input_groups input_axes batch_size output_axes kernel_stride pad message partial_sum N/A N/A c 0 1 b None N/A c 0 1 b N/A 1 1 0 None N/A N/A N/A self input_groups input_groups N/A TODO: Local ignores partial_sum argument,
                 figure out how James' code controls it N/A N/A partial_sum None N/A N/A N/A N/A logger warning partial_sum argument ignored N/A N/A N/A LocalDot __init__ self filters filters irows N/A image_shape N/A 0 icols N/A image_shape N/A 1 subsample kernel_stride padding_start pad message N/A lmul N/A N/A self x N/A N/A N/A 
        .. todo::

            WRITEME
         N/A reshaped N/A N/A x reshape N/A N/A self input_groups N/A N/A N/A x shape N/A 0 N/A self input_groups N/A N/A x shape N/A 1 N/A N/A x shape N/A 2 N/A N/A x shape N/A 3 N/A out N/A N/A LocalDot rmul self reshaped N/A N/A N/A out reshape N/A N/A N/A N/A out shape N/A 0 N/A N/A out shape N/A 1 N/A N/A out shape N/A 2 N/A N/A out shape N/A 3 N/A N/A out shape N/A 4 N/A get_params N/A N/A self N/A N/A N/A 
        .. todo::

            WRITEME
         N/A N/A N/A self _filters N/A N/A make_random_local N/A N/A irange input_channels input_axes input_groups image_shape output_channels output_axes kernel_shape kernel_stride pad message rng partial_sum N/A N/A 1 1 0 None None N/A N/A 
    .. todo::

        WRITEME properly

    Creates a Local with random weights.
     N/A rng N/A make_np_rng rng default_seed which_method uniform num_pos N/A N/A img stride kwidth N/A N/A N/A img N/A img N/A 2 pad N/A N/A N/A N/A img kwidth stride 1 N/A N/A num_row_pos N/A num_pos N/A image_shape N/A 0 N/A kernel_stride N/A 0 N/A kernel_shape N/A 0 N/A num_col_pos N/A num_pos N/A image_shape N/A 1 N/A kernel_stride N/A 1 N/A kernel_shape N/A 1 N/A N/A N/A input_channels input_groups 0 N/A colors_per_group N/A input_channels input_groups N/A N/A N/A output_channels input_groups 0 N/A filters_per_group N/A output_channels input_groups N/A W N/A sharedX N/A N/A rng uniform N/A irange irange N/A num_row_pos num_col_pos colors_per_group N/A kernel_shape N/A 0 N/A kernel_shape N/A 1 input_groups filters_per_group N/A N/A Local filters W image_shape image_shape input_groups input_groups input_axes input_axes output_axes output_axes kernel_stride kernel_stride pad pad message message partial_sum partial_sum N/A make_sparse_random_local N/A N/A num_nonzero input_space output_space kernel_shape batch_size kernel_stride border_mode message rng N/A N/A 1 1 valid None N/A N/A 
    .. todo::

        WRITEME
     N/A N/A NotImplementedError Not yet modified after copy-paste from pylearn2.linear.conv2d_c01b N/A  Creates a Conv2D with random kernels, where the randomly initialized
    values are sparse N/A rng N/A make_np_rng rng default_sparse_seed which_method N/A randn randint N/A W N/A N/A np zeros N/A N/A output_space num_channels N/A input_space num_channels N/A kernel_shape N/A 0 N/A kernel_shape N/A 1 random_coord N/A N/A N/A N/A N/A N/A N/A N/A rng randint dim N/A dim N/A W shape N/A N/A i N/A xrange num_nonzero N/A N/A N/A o ch r c N/A random_coord N/A N/A N/A W N/A N/A o ch r c 0 N/A N/A N/A o ch r c N/A random_coord N/A N/A W N/A N/A o ch r c N/A N/A rng randn N/A W N/A sharedX W N/A