提交 9d5e4c3a 编写于 作者: P Peilin Wang

doxygen fix, spelling

上级 efa61b06
...@@ -187,7 +187,7 @@ class Dataset: ...@@ -187,7 +187,7 @@ class Dataset:
bucket for [bucket_boundaries[i], bucket_boundaries[i+1]) for each bucket for [bucket_boundaries[i], bucket_boundaries[i+1]) for each
0<i<n, and one bucket for [bucket_boundaries[n-1], inf). 0<i<n, and one bucket for [bucket_boundaries[n-1], inf).
bucket_batch_sizes (list of int): A list consisting of the batch sizes for bucket_batch_sizes (list of int): A list consisting of the batch sizes for
each buclet. Must contain len(bucket_boundaries)+1 elements. each bucket. Must contain len(bucket_boundaries)+1 elements.
element_length_function (Callable, optional): A function that takes in element_length_function (Callable, optional): A function that takes in
len(column_names) arguments and returns an int. If no value is len(column_names) arguments and returns an int. If no value is
provided, then len(column_names) must be 1, and the size of the first provided, then len(column_names) must be 1, and the size of the first
...@@ -228,7 +228,7 @@ class Dataset: ...@@ -228,7 +228,7 @@ class Dataset:
>>> >>>
>>> data = data.bucket_batch_by_length(column_names, bucket_boundaries, >>> data = data.bucket_batch_by_length(column_names, bucket_boundaries,
>>> bucket_batch_sizes, >>> bucket_batch_sizes,
>>> element_length_function, pad_info), >>> element_length_function, pad_info,
>>> pad_to_bucket_boundary) >>> pad_to_bucket_boundary)
""" """
return BucketBatchByLengthDataset(self, column_names, bucket_boundaries, bucket_batch_sizes, return BucketBatchByLengthDataset(self, column_names, bucket_boundaries, bucket_batch_sizes,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册