mindspore.dataset.Dataset.input_indexs
- property Dataset.input_indexs
Get the column index, which represents the corresponding relationship between the data column order and the network when using the sink mode.
- Returns
int, tuple of the input index information.
Examples
>>> import mindspore.dataset as ds >>> dataset = ds.GeneratorDataset([i for i in range(10)], "column1") >>> # set input_indexs >>> dataset.input_indexs = 10 >>> print(dataset.input_indexs) 10