!26446 add header file r1.5

Merge pull request !26446 from 刘勇琪/r1.5
This commit is contained in:
i-robot 2021-11-23 13:31:29 +00:00 committed by Gitee
commit 693029cd14
36 changed files with 130 additions and 22 deletions

View File

@ -16,6 +16,8 @@
#include "minddata/dataset/engine/cache/perf/cache_pipeline_run.h"
#include <algorithm>
#include "minddata/dataset/core/tensor.h"
#include "minddata/dataset/engine/data_schema.h"
#include "minddata/dataset/util/random.h"

View File

@ -16,6 +16,8 @@
#include "minddata/dataset/engine/consumers/pull_based_tree_consumer.h"
#include <algorithm>
namespace mindspore::dataset {
PullBasedIteratorConsumer::PullBasedIteratorConsumer() { tree_adapter_lite_ = std::make_unique<TreeAdapterLite>(); }

View File

@ -13,17 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/map_op/map_op.h"
#include <algorithm>
#include <cstring>
#include <memory>
#include <vector>
#include "minddata/dataset/callback/callback_param.h"
#include "minddata/dataset/core/config_manager.h"
#include "minddata/dataset/include/dataset/constants.h"
#include "minddata/dataset/core/global_context.h"
#include "minddata/dataset/engine/datasetops/map_op/cpu_map_job.h"
#include "minddata/dataset/include/dataset/constants.h"
#include "minddata/dataset/kernels/tensor_op.h"
#include "minddata/dataset/util/log_adapter.h"
#include "minddata/dataset/util/task_manager.h"

View File

@ -13,12 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/parallel_op.h"
#include <algorithm>
#include <iostream>
#include "minddata/dataset/engine/datasetops/dataset_op.h"
#include "minddata/dataset/engine/execution_tree.h"
#include "minddata/dataset/engine/db_connector.h"
#include "minddata/dataset/engine/execution_tree.h"
#include "minddata/dataset/util/task_manager.h"
namespace mindspore {

View File

@ -13,14 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/image_folder_op.h"
#include <unordered_set>
#include <fstream>
#include "utils/ms_utils.h"
#include "minddata/dataset/core/config_manager.h"
#include "minddata/dataset/core/tensor_shape.h"
#include "minddata/dataset/engine/datasetops/source/sampler/sequential_sampler.h"
#include "minddata/dataset/engine/db_connector.h"
#include "minddata/dataset/engine/execution_tree.h"
#include "utils/ms_utils.h"
namespace mindspore {
namespace dataset {

View File

@ -13,19 +13,21 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/manifest_op.h"
#include <algorithm>
#include <fstream>
#include <set>
#include <nlohmann/json.hpp>
#include "utils/file_utils.h"
#include "utils/ms_utils.h"
#include "minddata/dataset/core/config_manager.h"
#include "minddata/dataset/core/tensor_shape.h"
#include "minddata/dataset/engine/datasetops/source/sampler/sequential_sampler.h"
#include "minddata/dataset/engine/db_connector.h"
#include "minddata/dataset/engine/execution_tree.h"
#include "utils/file_utils.h"
#include "utils/ms_utils.h"
namespace mindspore {
namespace dataset {

View File

@ -13,8 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/sampler/distributed_sampler.h"
#include <algorithm>
#include <limits>
#include <memory>

View File

@ -13,8 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/sampler/mind_record_sampler.h"
#include <algorithm>
#include "minddata/mindrecord/include/shard_reader.h"
namespace mindspore {

View File

@ -13,8 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/sampler/python_sampler.h"
#include <utility>
namespace mindspore {
namespace dataset {

View File

@ -13,10 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/sampler/random_sampler.h"
#include <algorithm>
#include <limits>
#include <memory>
#include "minddata/dataset/util/random.h"
namespace mindspore {

View File

@ -13,8 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/sampler/sequential_sampler.h"
#include <algorithm>
#include <memory>
#include <vector>

View File

@ -13,8 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/datasetops/source/sampler/subset_sampler.h"
#include <algorithm>
#include <string>
namespace mindspore {
namespace dataset {
// Constructor.

View File

@ -16,9 +16,12 @@
#include "minddata/dataset/engine/ir/datasetops/source/clue_node.h"
#include "minddata/dataset/engine/datasetops/source/clue_op.h"
#include <algorithm>
#include <utility>
#include "minddata/dataset/engine/datasetops/source/clue_op.h"
#include "minddata/dataset/util/status.h"
namespace mindspore {
namespace dataset {

View File

@ -16,9 +16,12 @@
#include "minddata/dataset/engine/ir/datasetops/source/csv_node.h"
#include "minddata/dataset/engine/datasetops/source/csv_op.h"
#include <algorithm>
#include <utility>
#include "minddata/dataset/engine/datasetops/source/csv_op.h"
#include "minddata/dataset/util/status.h"
namespace mindspore {
namespace dataset {

View File

@ -16,6 +16,9 @@
#include "minddata/dataset/engine/ir/datasetops/source/minddata_node.h"
#include <stack>
#include <utility>
#include "minddata/dataset/engine/datasetops/source/mindrecord_op.h"
#include "minddata/dataset/engine/datasetops/source/sampler/mind_record_sampler.h"
#include "minddata/dataset/engine/ir/datasetops/cache_lookup_node.h"

View File

@ -16,9 +16,12 @@
#include "minddata/dataset/engine/ir/datasetops/source/text_file_node.h"
#include "minddata/dataset/engine/datasetops/source/text_file_op.h"
#include <algorithm>
#include <utility>
#include "minddata/dataset/engine/datasetops/source/text_file_op.h"
#include "minddata/dataset/util/status.h"
namespace mindspore {
namespace dataset {

View File

@ -16,9 +16,12 @@
#include "minddata/dataset/engine/ir/datasetops/zip_node.h"
#include <algorithm>
#include "minddata/dataset/engine/datasetops/zip_op.h"
#include "minddata/dataset/engine/opt/pass.h"
#include "minddata/dataset/util/status.h"
namespace mindspore {
namespace dataset {

View File

@ -13,8 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/opt/optional/tensor_op_fusion_pass.h"
#include <string>
#include <vector>
#include "minddata/dataset/engine/ir/datasetops/map_node.h"
#include "minddata/dataset/kernels/image/random_crop_and_resize_op.h"
#include "minddata/dataset/kernels/image/random_crop_decode_resize_op.h"

View File

@ -14,10 +14,13 @@
* limitations under the License.
*/
#include "minddata/dataset/engine/opt/post/auto_worker_pass.h"
#include <algorithm>
#include "minddata/dataset/engine/ir/datasetops/batch_node.h"
#include "minddata/dataset/engine/ir/datasetops/dataset_node.h"
#include "minddata/dataset/engine/ir/datasetops/map_node.h"
#include "minddata/dataset/engine/opt/post/auto_worker_pass.h"
namespace mindspore {
namespace dataset {

View File

@ -14,9 +14,12 @@
* limitations under the License.
*/
#include "minddata/dataset/include/dataset/datasets.h"
#include "minddata/dataset/engine/opt/pre/deep_copy_pass.h"
#include <string>
#include "minddata/dataset/engine/ir/datasetops/root_node.h"
#include "minddata/dataset/include/dataset/datasets.h"
namespace mindspore {
namespace dataset {

View File

@ -14,9 +14,12 @@
* limitations under the License.
*/
#include "minddata/dataset/include/dataset/datasets.h"
#include "minddata/dataset/engine/opt/pre/input_validation_pass.h"
#include <string>
#include "minddata/dataset/include/dataset/datasets.h"
namespace mindspore {
namespace dataset {

View File

@ -13,8 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/engine/perf/connector_size.h"
#include <algorithm>
#include <fstream>
#include <memory>
#include "minddata/dataset/core/config_manager.h"
#include "minddata/dataset/engine/execution_tree.h"
#include "minddata/dataset/util/path.h"

View File

@ -13,8 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/kernels/data/concatenate_op.h"
#include <limits>
#include "minddata/dataset/core/tensor.h"
#include "minddata/dataset/kernels/data/data_utils.h"
#include "minddata/dataset/kernels/tensor_op.h"

View File

@ -17,6 +17,7 @@
#include "minddata/dataset/kernels/image/bounding_box.h"
#include <algorithm>
#include <limits>
#include <vector>
namespace mindspore {

View File

@ -15,9 +15,12 @@
*/
#include "minddata/dataset/kernels/image/bounding_box_augment_op.h"
#include <utility>
#include "minddata/dataset/kernels/image/bounding_box.h"
#include "minddata/dataset/kernels/image/resize_op.h"
#include "minddata/dataset/kernels/image/image_utils.h"
#include "minddata/dataset/kernels/image/resize_op.h"
#include "minddata/dataset/core/cv_tensor.h"
namespace mindspore {

View File

@ -14,12 +14,15 @@
* limitations under the License.
*/
#include "minddata/dataset/kernels/image/cutmix_batch_op.h"
#include <limits>
#include <string>
#include <utility>
#include "minddata/dataset/core/cv_tensor.h"
#include "minddata/dataset/kernels/image/image_utils.h"
#include "minddata/dataset/kernels/image/cutmix_batch_op.h"
#include "minddata/dataset/kernels/data/data_utils.h"
#include "minddata/dataset/kernels/image/image_utils.h"
#include "minddata/dataset/util/random.h"
#include "minddata/dataset/util/status.h"

View File

@ -14,10 +14,13 @@
* limitations under the License.
*/
#include "minddata/dataset/kernels/image/mixup_batch_op.h"
#include <limits>
#include <string>
#include <utility>
#include "minddata/dataset/core/cv_tensor.h"
#include "minddata/dataset/kernels/image/mixup_batch_op.h"
#include "minddata/dataset/kernels/data/data_utils.h"
#include "minddata/dataset/util/random.h"
#include "minddata/dataset/util/status.h"

View File

@ -13,10 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <cmath>
#include "minddata/dataset/kernels/image/random_affine_op.h"
#include <cmath>
#include <limits>
#include "minddata/dataset/kernels/image/math_utils.h"
#include "minddata/dataset/util/random.h"

View File

@ -14,10 +14,13 @@
* limitations under the License.
*/
#include "minddata/dataset/util/status.h"
#include "minddata/dataset/kernels/image/random_crop_and_resize_with_bbox_op.h"
#include <utility>
#include "minddata/dataset/kernels/image/bounding_box.h"
#include "minddata/dataset/kernels/image/image_utils.h"
#include "minddata/dataset/kernels/image/random_crop_and_resize_with_bbox_op.h"
#include "minddata/dataset/util/status.h"
namespace mindspore {
namespace dataset {

View File

@ -15,6 +15,9 @@
*/
#include "minddata/dataset/kernels/image/random_crop_with_bbox_op.h"
#include <utility>
#include "minddata/dataset/kernels/image/bounding_box.h"
#include "minddata/dataset/kernels/image/image_utils.h"
#include "minddata/dataset/util/status.h"

View File

@ -13,11 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/kernels/image/random_horizontal_flip_with_bbox_op.h"
#include <utility>
#include "minddata/dataset/core/cv_tensor.h"
#include "minddata/dataset/kernels/image/bounding_box.h"
#include "minddata/dataset/kernels/image/image_utils.h"
#include "minddata/dataset/util/status.h"
#include "minddata/dataset/core/cv_tensor.h"
namespace mindspore {
namespace dataset {

View File

@ -13,7 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/kernels/image/uniform_aug_op.h"
#include <utility>
#include "minddata/dataset/util/random.h"
namespace mindspore {

View File

@ -13,10 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <numeric>
#include "minddata/dataset/plugin/plugin_loader.h"
#include "minddata/dataset/plugin/shared_lib_util.h"
#include <algorithm>
#include <numeric>
#include <set>
#include <vector>
#include "mindspore/core/utils/log_adapter.h"
#include "minddata/dataset/plugin/shared_lib_util.h"
namespace mindspore {
namespace dataset {

View File

@ -16,6 +16,8 @@
#include "minddata/dataset/text/kernels/ngram_op.h"
#include <algorithm>
namespace mindspore {
namespace dataset {

View File

@ -16,6 +16,9 @@
#include "minddata/dataset/text/kernels/to_number_op.h"
#include <algorithm>
#include <limits>
#include "minddata/dataset/core/data_type.h"
#include "minddata/dataset/core/tensor.h"
#include "minddata/dataset/core/tensor_shape.h"

View File

@ -13,9 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "minddata/dataset/text/kernels/unicode_char_tokenizer_op.h"
#include <memory>
#include <string_view>
#include <utility>
#include <vector>
#include "cppjieba/Unicode.hpp"