/third_party/mindspore/tests/ut/python/dataset/ |
D | test_bucket_batch_by_length.py | 50 bucket_boundaries = [1, 2, 3] 67 … _ = dataset.bucket_batch_by_length(invalid_column_names, bucket_boundaries, bucket_batch_sizes) 95 … _ = dataset.bucket_batch_by_length(column_names, bucket_boundaries, invalid_bucket_batch_sizes) 99 … _ = dataset.bucket_batch_by_length(column_names, bucket_boundaries, negative_bucket_batch_sizes) 103 _ = dataset.bucket_batch_by_length(column_names, bucket_boundaries, zero_bucket_batch_sizes) 107 _ = dataset.bucket_batch_by_length(column_names, bucket_boundaries, bucket_boundaries) 111 _ = dataset.bucket_batch_by_length(column_names, bucket_boundaries, bucket_batch_sizes, 116 _ = dataset.bucket_batch_by_length(column_names, bucket_boundaries, bucket_batch_sizes, 125 bucket_boundaries = [1, 2, 3] 129 dataset = dataset.bucket_batch_by_length(column_names, bucket_boundaries, [all …]
|
/third_party/grpc/src/core/lib/debug/ |
D | stats.cc | 100 const int* bucket_boundaries, in threshold_for_count_below() argument 124 return (bucket_boundaries[lower_idx] + bucket_boundaries[upper_idx]) / 2.0; in threshold_for_count_below() 128 lower_bound = bucket_boundaries[lower_idx]; in threshold_for_count_below() 129 upper_bound = bucket_boundaries[lower_idx + 1]; in threshold_for_count_below()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/ |
D | bucket_batch_by_length_node.cc | 33 const std::vector<int32_t> &bucket_boundaries, const std::vector<int32_t> &bucket_batch_sizes, in BucketBatchByLengthNode() argument 38 bucket_boundaries_(bucket_boundaries), in BucketBatchByLengthNode()
|
D | bucket_batch_by_length_node.h | 35 … const std::vector<int32_t> &bucket_boundaries, const std::vector<int32_t> &bucket_batch_sizes,
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/ |
D | bucket_batch_by_length_op.cc | 33 const std::vector<int32_t> &bucket_boundaries, in BucketBatchByLengthOp() argument 40 bucket_boundaries_(bucket_boundaries), in BucketBatchByLengthOp()
|
D | bucket_batch_by_length_op.h | 39 … const std::vector<int32_t> &bucket_boundaries, const std::vector<int32_t> &bucket_batch_sizes,
|
/third_party/mindspore/mindspore/dataset/engine/ |
D | validators.py | 538 [column_names, bucket_boundaries, bucket_batch_sizes, element_length_function, pad_info, 543 … type_check_list([column_names, bucket_boundaries, bucket_batch_sizes], (list,), nreq_param_list) 558 if not bucket_boundaries: 561 all_int = all(isinstance(item, int) for item in bucket_boundaries) 565 all_non_negative = all(item > 0 for item in bucket_boundaries) 569 for i in range(len(bucket_boundaries) - 1): 570 if not bucket_boundaries[i + 1] > bucket_boundaries[i]: 574 if len(bucket_batch_sizes) != len(bucket_boundaries) + 1:
|
D | datasets.py | 359 …def bucket_batch_by_length(self, column_names, bucket_boundaries, bucket_batch_sizes, element_leng… argument 425 return BucketBatchByLengthDataset(self, column_names, bucket_boundaries, bucket_batch_sizes, 2112 …def __init__(self, input_dataset, column_names, bucket_boundaries, bucket_batch_sizes, element_len… argument 2117 self.bucket_boundaries = replace_none(bucket_boundaries, []) 2125 return cde.BucketBatchByLengthNode(children[0], self.column_names, self.bucket_boundaries,
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/ |
D | bindings.cc | 122 … std::vector<int32_t> bucket_boundaries, std::vector<int32_t> bucket_batch_sizes, in __anonb78612490a02() 129 … dataset, toStringVector(column_names), bucket_boundaries, bucket_batch_sizes, in __anonb78612490a02()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | datasets.h | 225 const std::vector<std::string> &column_names, const std::vector<int32_t> &bucket_boundaries, 231 shared_from_this(), VectorStringToChar(column_names), bucket_boundaries, bucket_batch_sizes, 648 const std::vector<int32_t> &bucket_boundaries, const std::vector<int32_t> &bucket_batch_sizes,
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | datasets.cc | 408 const std::vector<int32_t> &bucket_boundaries, const std::vector<int32_t> &bucket_batch_sizes, in BucketBatchByLengthDataset() argument 432 bucket_boundaries, bucket_batch_sizes, c_func, in BucketBatchByLengthDataset()
|