ó
†¶2_c           @   s*   d  d l  m Z d e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   Modulet   Identityc           B   s   e  Z d  „  Z d „  Z RS(   c         C   s   | S(   N(    (   t   selft   input(    (    s9   /home/yuhw/wc/tmp/SparseConvNet/sparseconvnet/identity.pyt   forward   s    c         C   s   | S(   N(    (   R   t   out_size(    (    s9   /home/yuhw/wc/tmp/SparseConvNet/sparseconvnet/identity.pyt   input_spatial_size   s    (   t   __name__t
   __module__R   R   (    (    (    s9   /home/yuhw/wc/tmp/SparseConvNet/sparseconvnet/identity.pyR   
   s   	N(   t   torch.nnR    R   (    (    (    s9   /home/yuhw/wc/tmp/SparseConvNet/sparseconvnet/identity.pyt   <module>   s   