Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
[CI] Fix website build (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
barry-jin authored May 21, 2021
1 parent df52171 commit e78f310
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def setup(app):
'examples_dirs': [],
'gallery_dirs': [],
'subsection_order': ExplicitOrder([]),
'find_mayavi_figures': False,
'image_scrapers': ('matplotlib', 'mayavi'),
'filename_pattern': '.py',
'expected_failing_examples': []
}
Expand Down
6 changes: 6 additions & 0 deletions src/gluonnlp/attention_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
# specific language governing permissions and limitations
# under the License.
"""Attention cells."""

__all__ = ['gen_self_attn_mask', 'gen_mem_attn_mask',
'masked_softmax', 'masked_logsoftmax', 'multi_head_dot_attn',
'MultiHeadAttentionCell', 'gen_rel_position',
'RelAttentionScoreCell']

import math
import mxnet as mx
from mxnet import np, npx
Expand Down

0 comments on commit e78f310

Please sign in to comment.