Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Fix typo #1329

Merged
merged 1 commit into from
Jan 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensor2tensor/layers/common_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def add_timing_signal_1d(x,
memory inputs to attention.

The use of relative position is possible because sin(x+y) and cos(x+y) can be
experessed in terms of y, sin(x) and cos(x).
expressed in terms of y, sin(x) and cos(x).

In particular, we use a geometric sequence of timescales starting with
min_timescale and ending with max_timescale. The number of different
Expand Down