def type_to_str(t):
 if (not hasattr(t, 'broadcastable')):
  return str(t)
 s = broadcastable_to_str(t.broadcastable)
 if (s == ''):
  s = str(t.dtype)
 else:
  s = (dtype_to_char(t.dtype) + s)
 return s

def type_to_str ( t ) : if ( not hasattr ( t , 'broadcastable' ) ) : return str ( t ) s = broadcastable_to_str ( t . broadcastable ) if ( s == '' ) : s = str ( t . dtype ) else : s = ( dtype_to_char ( t . dtype ) + s ) return s
return str of variable type .