Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/Sequence Models/Week 1/Building a Recurrent Neural Network - Step by Step/__pycache__/rnn_utils.cpython-36.pyc
Views: 13383
3 &CZ# � @ s. d dl Zdd� Zdd� Zdd� Zddd �ZdS )� Nc C s$ t j| t j| � �}||jdd� S )Nr )�axis)�np�exp�max�sum)�xZe_x� r �X/home/jovyan/work/Week 1/Building a Recurrent Neural Network - Step by Step/rnn_utils.py�softmax s r c C s ddt j| � S )N� )r r )r r r r �sigmoid s r c C s� t | �d }i }i }x�t|�D ]�}tj| dt|d � j�|dt|d � <