Searched refs:attr_file (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/ |
D | celeba_op.cc | 81 std::ifstream attr_file(realpath.value()); in ParseAttrFile() local 82 if (!attr_file.is_open()) { in ParseAttrFile() 89 const auto PushBackToQueue = [this](std::vector<std::string> &vec, std::ifstream &attr_file, in ParseAttrFile() 93 CLOSE_FILE(attr_file, partition_file); in ParseAttrFile() 101 (void)getline(attr_file, rows_num); in ParseAttrFile() 113 (void)getline(attr_file, attr_name); // Second line is attribute name,ignore it in ParseAttrFile() 117 while (getline(attr_file, image_info)) { in ParseAttrFile() 123 RETURN_IF_NOT_OK(PushBackToQueue(image_infos, attr_file, partition_file_)); in ParseAttrFile() 128 RETURN_IF_NOT_OK(PushBackToQueue(image_infos, attr_file, partition_file_)); in ParseAttrFile() 131 RETURN_IF_NOT_OK(PushBackToQueue(end_indicator, attr_file, partition_file_)); // end indicator in ParseAttrFile() [all …]
|
D | celeba_op.h | 35 #define CLOSE_FILE(attr_file, pairition_file) \ argument 37 attr_file.close(); \
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/ |
D | celeba_node.cc | 106 std::ifstream attr_file(realpath.value()); in GetDatasetSize() local 107 if (!attr_file.is_open()) { in GetDatasetSize() 113 (void)getline(attr_file, rows_num); in GetDatasetSize()
|
/third_party/e2fsprogs/lib/blkid/ |
D | probe.h | 608 struct hfsplus_fork attr_file; member
|