Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Cathy0908 8d27ce1ed6 | 1 year ago | |
---|---|---|
.. | ||
source | 1 year ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
build_docs.sh | 2 years ago | |
make.bat | 2 years ago |
install requirements needed to build docs
# in easycv root dir
pip install requirements/docs.txt
build docs
# in easycv/docs dir
bash build_docs.sh
doc string format
We adopt the google style docstring format as the standard, please refer to the following documents.
class Transformer(base.Layer):
"""
Transformer model from ``Attention Is All You Need``,
Original paper: https://arxiv.org/abs/1706.03762
Args:
num_token (int): vocab size.
num_layer (int): num of layer.
num_head (int): num of attention heads.
embedding_dim (int): embedding dimension.
attention_head_dim (int): attention head dimension.
feed_forward_dim (int): feed forward dimension.
initializer: initializer type.
activation: activation function.
dropout (float): dropout rate (0.0 to 1.0).
attention_dropout (float): dropout rate for attention layer.
Returns: None
"""
No Description
Python Markdown other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》