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

All Samples(10)  |  Call(9)  |  Derive(0)  |  Import(1)

src/p/y/pylearn2-HEAD/pylearn2/tests/test_monitor.py   pylearn2(Download)
from pylearn2.utils import py_integer_types
from pylearn2.utils.serial import from_string
from pylearn2.utils.serial import to_string
from pylearn2.utils import sharedX
from pylearn2.testing.prereqs import ReadVerifyPrereq
    monitor()
 
    to_string(monitor)
 
def test_serialize_twice():
    monitor = Monitor.get_monitor(model)
 
    x = to_string(monitor)
    y = to_string(monitor)
 
                        data_specs=data_specs)
 
    saved = to_string(monitor)
    monitor = from_string(saved)
    saved_again = to_string(monitor)