Home
last modified time | relevance | path

Searched refs:bucket_boundaries (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_bucket_batch_by_length.py50 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/
Dstats.cc100 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/
Dbucket_batch_by_length_node.cc33 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()
Dbucket_batch_by_length_node.h35 … const std::vector<int32_t> &bucket_boundaries, const std::vector<int32_t> &bucket_batch_sizes,
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Dbucket_batch_by_length_op.cc33 const std::vector<int32_t> &bucket_boundaries, in BucketBatchByLengthOp() argument
40 bucket_boundaries_(bucket_boundaries), in BucketBatchByLengthOp()
Dbucket_batch_by_length_op.h39 … const std::vector<int32_t> &bucket_boundaries, const std::vector<int32_t> &bucket_batch_sizes,
/third_party/mindspore/mindspore/dataset/engine/
Dvalidators.py538 [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:
Ddatasets.py359 …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/
Dbindings.cc122 … 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/
Ddatasets.h225 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/
Ddatasets.cc408 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()