Assertion: neural network's function | /r/CapableOf | def rectified
Facets:
Source sentences:
text: : return max(0.0, x) 1 2 3 # rectified linear function def rectified ( x ) : return max ( 0.0 , x )
text: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 # demonstrate the rectified linear function # rectified linear function def rectified ( x ) : return max ( 0.0 , x ) # demonstrate with a positive input x = 1.0 print ( 'rectified(%.1f) is %.1f