Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def ndarray_status(x, fmt=_ndarray_status_fmt, msg="", **kwargs):
    kwargs.update(dict(
            msg=msg,
            min=x.min(),
            max=x.max(),
            mean=x.mean(),
            var = x.var(),
            shape=x.shape))
    return fmt%kwargs
        


src/t/h/TheanoLinear-HEAD/theano_linear/matrixmul.py   TheanoLinear(Download)
 
from .linear import LinearTransform
from .util import ndarray_status
from .util import tile_slices_to_image
 
    def print_status(self):
        print ndarray_status(self._W.get_value(borrow=True), msg=self._W.name)
 
    def tile_columns(self, channel_major=False, scale_each=False,
            min_dynamic_range=1e-4, **kwargs):