Home
last modified time | relevance | path

Searched refs:col_name (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Ddata_schema.cc52 ColDescriptor::ColDescriptor(const std::string &col_name, DataType col_type, TensorImpl tensor_impl… in ColDescriptor() argument
54 : type_(col_type), rank_(rank), tensor_impl_(tensor_impl), col_name_(col_name) { in ColDescriptor()
198 std::string col_name = it.key(); in AnyOrderLoad() local
200 RETURN_IF_NOT_OK(ColumnLoad(column_child_tree, col_name)); in AnyOrderLoad()
227 const std::string &col_name = column_info.key(); in ColumnOrderLoad() local
229 RETURN_IF_NOT_OK(ColumnLoad(column_child_tree, col_name)); in ColumnOrderLoad()
274 Status DataSchema::ColumnLoad(nlohmann::json column_child_tree, const std::string &col_name) { in ColumnLoad() argument
297 …r_msg = "Invalid data, unexpected column attribute " + it_child.key() + " for column " + col_name + in ColumnLoad()
303 if (!col_name.empty() && col_name != name) { in ColumnLoad()
305 …"Invalid data, json schema file for column " + col_name + " has column name that does not match co… in ColumnLoad()
[all …]
Ddata_schema.h46 …ColDescriptor(const std::string &col_name, DataType col_type, TensorImpl tensor_impl, int32_t rank,
195 Status ColumnLoad(nlohmann::json column_child_tree, const std::string &col_name);
/third_party/mindspore/tests/ut/python/dataset/
Dtest_compose.py118 for col_name in output_cols:
119 res.append(i[col_name].tolist())
145 for col_name in output_cols:
146 res.append(i[col_name].tolist())
233 for col_name in output_cols:
234 res.append(i[col_name].tolist())
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/
Dmap_op.cc357 for (const auto &col_name : in_columns_) { in InitPrivateVariable() local
358 int32_t missed = (*col_name_id_map)[col_name]; in InitPrivateVariable()
363 for (const auto &col_name : in_columns_) { in InitPrivateVariable() local
364 to_process_indices_.push_back((*col_name_id_map)[col_name]); in InitPrivateVariable()
386 for (const auto &col_name : out_columns_) { in CreateFinalColMap() local
387 final_col_name_id_map[col_name] = fill_idx++; in CreateFinalColMap()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Diterator.cc42 std::vector<char> col_name(de_tensor.first.begin(), de_tensor.first.end()); in GetNextRowCharIF() local
43 …row->insert(std::make_pair(col_name, mindspore::MSTensor(std::make_shared<DETensor>(de_tensor.seco… in GetNextRowCharIF()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Drandom_data_op.cc102 std::string col_name = "c" + std::to_string(i); in GenerateSchema() local
104 …std::make_unique<ColDescriptor>(col_name, DataType(newType), TensorImpl::kFlexible, rank, new_shap… in GenerateSchema()
/third_party/boost/tools/build/src/engine/
Ddebugger.cpp2009 static void debug_mi_format_breakpoint_header_col( int width, int alignment, const char * col_name,… in debug_mi_format_breakpoint_header_col() argument
2011 …idth=\"%d\",alignment=\"%d\",col_name=\"%s\",colhdr=\"%s\"}", width, alignment, col_name, colhdr ); in debug_mi_format_breakpoint_header_col()