Skip to content

Commit

Permalink
Fix doc in database class (#215)
Browse files Browse the repository at this point in the history
Co-authored-by: “Avinash” <avinash.bukkittu@petuum.com>
  • Loading branch information
huzecong and “Avinash” committed Sep 27, 2019
2 parents 50ecadf + 15df4da commit 43967ee
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions texar/torch/data/data/data_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,10 @@ def default_hparams():
"prefetch_buffer_size": 0,
"max_dataset_size": -1,
"seed": None,
"name": "data",
"lazy_strategy": 'none',
"cache_strategy": 'processed',
"parallelize_processing": True,
"name": "data"
}
Here:
Expand Down Expand Up @@ -664,9 +667,6 @@ def default_hparams():
Manual seeding is not yet supported. This option will be
ignored.
`"name"`: str
Name of the data.
`"lazy_strategy"`: str
Lazy strategy for data examples. Lazy loading/processing defers
data loading/processing until when it's being accessed.
Expand Down Expand Up @@ -708,6 +708,9 @@ def default_hparams():
Note that this only affects cases where `lazy_strategy` is not
`none`. If `lazy_strategy` is `none`, processing will be
performed on a single process regardless of this value.
`"name"`: str
Name of the data.
"""
# TODO: Sharding not yet supported.
# TODO: `seed` is not yet applied.
Expand Down

0 comments on commit 43967ee

Please sign in to comment.