#NEWLINE# def test_topo( self ) : #NEWLINE# #INDENT# 'Tests that a topological batch has 4 dimensions' #NEWLINE# train = CIFAR10 ( which_set = 'train' ) #NEWLINE# topo = train . get_batch_topo ( 1 ) #NEWLINE# assert ( topo . ndim == 4 )