You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read_only_ok (bool): If ``True`` and output dataset is same as input dataset, the read-only check is skipped. This can be used to read data in parallel without making changes to underlying dataset.
80
83
Defaults to False.
84
+
cache_size (int): Cache size to be used by transform per worker.
81
85
checkpoint_interval (int): If > 0, the transform will be checkpointed with a commit every ``checkpoint_interval`` input samples to avoid restarting full transform due to intermitten failures. If the transform is interrupted, the intermediate data is deleted and the dataset is reset to the last commit.
82
86
If <= 0, no checkpointing is done. Checkpoint interval should be a multiple of num_workers if num_workers > 0. Defaults to 0.
83
87
ignore_errors (bool): If ``True``, input samples that causes transform to fail will be skipped and the errors will be ignored **if possible**.
@@ -102,6 +106,7 @@ def eval(
102
106
check_lengths,
103
107
pad_data_in,
104
108
read_only_ok,
109
+
cache_size,
105
110
checkpoint_interval,
106
111
ignore_errors,
107
112
**kwargs,
@@ -130,6 +135,7 @@ def eval(
130
135
check_lengths: bool=True,
131
136
pad_data_in: bool=False,
132
137
read_only_ok: bool=False,
138
+
cache_size: int=16,
133
139
checkpoint_interval: int=0,
134
140
ignore_errors: bool=False,
135
141
**kwargs,
@@ -153,6 +159,7 @@ def eval(
153
159
Defaults to ``False``.
154
160
read_only_ok (bool): If ``True`` and output dataset is same as input dataset, the read-only check is skipped.
155
161
Defaults to False.
162
+
cache_size (int): Cache size to be used by transform per worker.
156
163
checkpoint_interval (int): If > 0, the transform will be checkpointed with a commit every ``checkpoint_interval`` input samples to avoid restarting full transform due to intermitten failures. If the transform is interrupted, the intermediate data is deleted and the dataset is reset to the last commit.
157
164
If <= 0, no checkpointing is done. Checkpoint interval should be a multiple of num_workers if num_workers > 0. Defaults to 0.
158
165
ignore_errors (bool): If ``True``, input samples that causes transform to fail will be skipped and the errors will be ignored **if possible**.
0 commit comments