3
I4W^  ã               @   sD   d dl mZ d dl mZ d dl mZ d dl mZ dd„ Zdd„ Zd	S )
é    )Úabsolute_import)Údivision)Úprint_function)Úunicode_literalsc             K   s@   |j dƒr|j dƒr|jdƒ | jj||d| d gf|Žd S )zDepth Concat.ÚorderZaxisÚ_Z_concat_dimsr   )ÚgetÚpopÚnetZConcat)ÚmodelÚblobs_inÚblob_outÚkwargs© r   úD/tmp/pip-build-e66j97b2/torch/caffe2/python/helpers/array_helpers.pyÚconcat	   s    
r   c             K   s   t dƒ t||f|ŽS )z=The old depth concat function - we should move to use concat.z.DepthConcat is deprecated. use Concat instead.)Úprintr   )r   r   r   r   r   r   r   Údepth_concat   s    r   N)Ú
__future__r   r   r   r   r   r   r   r   r   r   Ú<module>   s
   