#NEWLINE# def test_shape_elementwise( self ) : #NEWLINE# #INDENT# part1 = Full ( ) #NEWLINE# part2 = Full ( 20 ) #NEWLINE# self . assertEqual ( part1 . shape , ( None , None ) ) #NEWLINE# self . assertEqual ( part2 . shape , ( None , 20 ) ) #NEWLINE# part2 . chain ( part1 ) #NEWLINE# self . assertEqual ( part1 . shape , ( 20 , 20 ) ) #NEWLINE# self . assertEqual ( part2 . shape , ( None , 20 ) )