-
Notifications
You must be signed in to change notification settings - Fork 682
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
one_embedding add doc string (#7902)
* add doc string * add example * add * fix doc * refine * address review * mb to MB * add make_table_option * option to options * refine * add forward Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
249 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ OneFlow API Reference | |
utils | ||
env | ||
comm | ||
one_embedding | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
oneflow.one_embedding | ||
=================================== | ||
OneFlow one_embedding operations. | ||
---------------------------------- | ||
.. currentmodule:: oneflow.one_embedding | ||
.. autoclass:: MultiTableEmbedding | ||
:members: forward, | ||
save_snapshot, | ||
load_snapshot, | ||
|
||
.. autofunction:: oneflow.one_embedding.MultiTableEmbedding.forward | ||
.. autofunction:: oneflow.one_embedding.make_device_mem_store_options | ||
.. autofunction:: oneflow.one_embedding.make_cached_ssd_store_options | ||
.. autofunction:: oneflow.one_embedding.make_cached_host_mem_store_options | ||
.. autofunction:: oneflow.one_embedding.make_uniform_initializer | ||
.. autofunction:: oneflow.one_embedding.make_normal_initializer | ||
.. autofunction:: oneflow.one_embedding.make_table_options | ||
.. autofunction:: oneflow.one_embedding.make_table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters