Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/p/y/pylearn2-HEAD/pylearn2/models/rbm.py   pylearn2(Download)
 
        try:
            b_vis = self.vis_space.get_origin()
            b_vis += init_bias_vis
        except ValueError:
            raise ValueError("bad shape or value for init_bias_vis")
        self.bias_vis = sharedX(b_vis, name='bias_vis', borrow=True)
 
        try:
            b_hid = self.hid_space.get_origin()

src/p/y/pylearn2-HEAD/pylearn2/models/dbm/layer.py   pylearn2(Download)
        self.input_space = self.space
 
        origin = self.space.get_origin()
 
        if bias_from_marginals is None:
        self.input_space = self.space
 
        origin = self.space.get_origin()
 
        beta_origin = origin.copy()

src/p/y/pylearn2-HEAD/pylearn2/models/dbm/ising.py   pylearn2(Download)
        self.input_space = self.space
 
        origin = self.space.get_origin()
 
        if bias_from_marginals is None: