@constructor
def horizontal_stack(*args):
 assert (len(args) >= 2)
 for arg in args:
  assert (arg.type.ndim == 2)
 return concatenate(args, axis=1)

@ constructor def horizontal_stack ( * args ) : assert ( len ( args ) >= 2 ) for arg in args : assert ( arg . type . ndim == 2 ) return concatenate ( args , axis = 1 )
horizontally stack two l{tensortype}s .