You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/21 05:48:26 UTC

[GitHub] [incubator-mxnet] haojin2 commented on a change in pull request #15302: [Numpy] Numpy hstack

haojin2 commented on a change in pull request #15302: [Numpy] Numpy hstack
URL: https://github.com/apache/incubator-mxnet/pull/15302#discussion_r296103381
 
 

 ##########
 File path: python/mxnet/numpy/multiarray.py
 ##########
 @@ -1404,6 +1404,23 @@ def stack(arrays, axis=0, out=None):
     return _mx_nd_np.stack(arrays, axis=axis, out=out)
 
 
+@set_module('mxnet.numpy')
+def hstack(arrays):
+    """Stack tensors in sequence horizontally.
+
+        This is equivalent to concatenation along the second axis, except for 1-D
+        or zero dimension tensor, in which case the first dimension is used.
+
+    Parameters
+    ----------
+    arrays : sequence of array_like
+        Each array must have the same shape.
+
+    Returns
+    -------
+    horizontally stacked ndarray"""
 
 Review comment:
   ```python
   horizontally stacked ndarray
   """
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services