def make_thunk(self, node, storage_map, compute_map, no_recycling):
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(WeightedMaxPool,
                     self).make_thunk(node, storage_map, compute_map,
                                      no_recycling)
示例#2
0
文件: pool.py 项目: zizu1985/pylearn2
    def make_thunk(self, *args, **kwargs):
        """
        .. todo::

            WRITEME
        """
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(MaxPool, self).make_thunk(*args, **kwargs)
示例#3
0
文件: pool.py 项目: czotti/pylearn2
    def make_thunk(self, *args, **kwargs):
        """
        .. todo::

            WRITEME
        """
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(MaxPool, self).make_thunk(*args, **kwargs)
    def make_thunk(self, node, storage_map, compute_map, no_recycling):
        """
        .. todo::
            WRITEME
        """
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(ProbMaxPoolGrad, self).make_thunk(
                node, storage_map, compute_map, no_recycling)
示例#5
0
文件: pool.py 项目: zizu1985/pylearn2
    def make_thunk(self, node, storage_map, compute_map, no_recycling):
        """
        .. todo::

            WRITEME
        """
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(MaxPoolGrad, self).make_thunk(node, storage_map,
                                                   compute_map, no_recycling)
示例#6
0
    def make_thunk(self, node, storage_map, compute_map, no_recycling):
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(BaseActs, self).make_thunk(
                node, storage_map, storage_map, no_recycling)
示例#7
0
    def make_thunk(self, node, storage_map, compute_map, no_recycling):
        if not convnet_available():
            raise RuntimeError("Could not compile cuda_convnet")

        return super(WeightedMaxPool, self).make_thunk(node, storage_map, compute_map, no_recycling)
示例#8
0
    def make_thunk(self, *args, **kwargs):
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(BaseActs, self).make_thunk(*args, **kwargs)
示例#9
0
    def make_thunk(self, *args, **kwargs):
        if not convnet_available():
            raise RuntimeError('Could not compile cuda_convnet')

        return super(BaseActs, self).make_thunk(*args, **kwargs)