B
    `œoa}  ã               @   s"   d dl mZ G dd„ dejƒZdS )é    Nc                   s$   e Zd Z‡ fdd„Zdd„ Z‡  ZS )Ú	NeuralNetc                sF   t t| ƒ ¡  t ||¡| _t ||¡| _t ||¡| _t ¡ | _	d S )N)
Úsuperr   Ú__init__ÚnnÚLinearÚl1Úl2Úl3ÚReLUÚrelu)ÚselfÚ
input_sizeÚhidden_sizeÚnum_classes)Ú	__class__© úTE:\My Github\1. Github downloads\MedicalChatbot-master\MedicalChatbot-master\nnet.pyr      s
    zNeuralNet.__init__c             C   s6   |   |¡}|  |¡}|  |¡}|  |¡}|  |¡}|S )N)r   r   r   r	   )r   ÚxÚoutr   r   r   Úforward   s    




zNeuralNet.forward)Ú__name__Ú
__module__Ú__qualname__r   r   Ú__classcell__r   r   )r   r   r      s   r   )Útorch.nnr   ÚModuler   r   r   r   r   Ú<module>   s   