#NEWLINE# def test_volatile( self ) : #NEWLINE# #INDENT# xs_data = numpy . random . uniform ( ( - 1 ) , 1 , ( 4 , 2 , 3 ) ) . astype ( numpy . float32 ) #NEWLINE# t_data = numpy . array ( [ [ 0 , 1 ] , [ 1 , 0 ] ] ) . astype ( numpy . int32 ) #NEWLINE# x = [ chainer . Variable ( x_data , volatile = True ) for x_data in xs_data ] #NEWLINE# t = chainer . Variable ( t_data , volatile = True ) #NEWLINE# functions . connectionist_temporal_classification ( x , t , 2 )