Module Assign NameStore Str ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Call NameLoad NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Lambda arguments args defaults Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assert CompareGt Call NameLoad NameLoad Num Str FunctionDef arguments args defaults body Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpMult NameLoad NameLoad NameLoad Num Assign NameStore BinOpFloorDiv AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpFloorDiv AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Expr Yield Call NameLoad NameLoad BinOpMult NameLoad NameLoad BinOpMult NameLoad BinOpAdd NameLoad Num BinOpMult NameLoad NameLoad BinOpMult NameLoad BinOpAdd NameLoad Num decorator_list Assign NameStore Call NameLoad Return Call NameLoad Lambda arguments args defaults Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list
N/A N/A __author__ Tom Schaul, tom@idsia.ch pybrain.utilities iterCombinations Named pybrain.structure.moduleslice ModuleSlice functools reduce ModuleMesh N/A Named N/A N/A  An multi-dimensional array of modules, accessible by their coordinates.
    All modules need to have the same indim and outdim  __init__ N/A N/A self constructor dimensions name baserename N/A None False N/A N/A :arg constructor: a constructor method that returns a module
        :arg dimensions: tuple of dimensions.  N/A N/A self dims dimensions N/A N/A name None N/A N/A N/A self name name N/A N/A self components N/A N/A coord N/A iterCombinations N/A self dims N/A N/A tmp N/A constructor N/A N/A N/A self components N/A coord tmp N/A N/A tmp name N/A N/A self name N/A str coord N/A N/A baserename N/A isinstance tmp ModuleSlice N/A N/A N/A N/A tmp base name N/A tmp name N/A N/A self componentIndim N/A tmp indim N/A N/A self componentOutdim N/A tmp outdim N/A constructWithLayers N/A N/A layerclass layersize dimensions name N/A None N/A N/A  create the mesh using constructors that build layers of a specified size and class.  N/A c N/A N/A N/A N/A N/A layerclass layersize N/A N/A ModuleMesh c dimensions name N/A staticmethod viewOnFlatLayer N/A N/A layer dimensions name N/A None N/A N/A  Produces a ModuleMesh that is a mesh-view on a flat module.  N/A N/A N/A max dimensions 1 At least one dimension needs to be larger than one. slicer N/A N/A N/A N/A N/A nbunits N/A reduce N/A N/A N/A x y N/A N/A x y dimensions 1 N/A insize N/A N/A layer indim nbunits N/A outsize N/A N/A layer outdim nbunits N/A index N/A range nbunits N/A N/A N/A N/A ModuleSlice layer N/A insize index N/A insize N/A index 1 N/A outsize index N/A outsize N/A index 1 N/A N/A c N/A slicer N/A N/A ModuleMesh N/A N/A N/A N/A N/A next c dimensions name N/A staticmethod __iter__ N/A N/A self N/A N/A N/A coord N/A iterCombinations N/A self dims N/A N/A N/A N/A N/A self components N/A coord N/A __getitem__ N/A N/A self coord N/A N/A N/A N/A N/A self components N/A coord N/A N/A