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

All Samples(13)  |  Call(12)  |  Derive(0)  |  Import(1)

src/p/y/pylearn2-HEAD/pylearn2/datasets/tests/test_tfd.py   pylearn2(Download)
import unittest
import numpy as np
from pylearn2.datasets.tfd import TFD
from pylearn2.space import Conv2DSpace
from pylearn2.testing.skip import skip_if_no_data
    def setUp(self):
        skip_if_no_data()
        self.train = TFD(which_set='train')
        self.test = TFD(which_set='test')
        valid = TFD(which_set='valid')
        unlabeled = TFD(which_set='unlabeled')