#NEWLINE# @ attr . gpu #NEWLINE# def test_debug_backward_gpu( self ) : #NEWLINE# #INDENT# self . f . forward_gpu = mock . MagicMock ( return_value = ( cuda . to_gpu ( self . one ) , ) ) #NEWLINE# return_value = tuple ( ( ( None if ( x is None ) else cuda . to_gpu ( x ) ) for x in self . return_value ) ) #NEWLINE# input_value = ( ( cuda . to_gpu ( self . one ) , ) * len ( self . return_value ) ) #NEWLINE# self . f . backward_gpu = mock . MagicMock ( return_value = return_value ) #NEWLINE# self . check_debug_backward ( * input_value )