#NEWLINE# def norm( x , L , axis = None , keepdims = False ) : #NEWLINE# #INDENT# if x : #NEWLINE# #INDENT# x . norm ( L , axis = axis ) . reshape ( ( x . shape [ 0 ] , 1 ) ) #NEWLINE# #UNINDENT# return x . norm ( L , axis = axis )