5 implementations of Count
Microsoft.ML.AutoML (1)
ColumnInference\TextFileSample.cs (1)
39public int Count
Microsoft.ML.Data (3)
DataLoadSave\MultiFileSource.cs (2)
65public int Count 111public int Count
Utilities\ModelFileUtils.cs (1)
375public int Count { get { return 1; } }
Microsoft.ML.TestFramework (1)
BytesStreamSource.cs (1)
19public int Count => 1;
18 references to Count
Microsoft.ML.Data (8)
DataLoadSave\Binary\BinaryLoader.cs (2)
894if (files.Count == 0) 929Contracts.CheckParam(files.Count == 1, nameof(files), "binary loader must be created with one file");
DataLoadSave\Text\TextLoaderCursor.cs (3)
244if (files.Count == 0) 424Contracts.Assert(files.Count >= 0); 696for (int ifile = 0; ifile < _files.Count; ifile++)
DataLoadSave\Transpose\TransposeLoader.cs (3)
401_host.Check(file.Count == 1, "Transposed loader accepts a single file only"); 430_host.Check(file.Count == 1, "Transposed loader accepts a single file only"); 496if (files.Count == 0)
Microsoft.ML.Parquet (4)
ParquetLoader.cs (2)
203if (files.Count > 0) 374Contracts.CheckParam(files.Count == 1, nameof(files), "Parquet loader must be created with one file");
PartitionedFileLoader.cs (2)
652return Enumerable.Range(0, _parent._files.Count); 656return Utils.GetRandomPermutation(rand, _parent._files.Count);
Microsoft.ML.Transforms (6)
SvmLight\SvmLightLoader.cs (6)
419if (_files.Count == 0) 456if (_parent._files.Count == 0) 510Ch.Assert(-1 <= _fileIdx && _fileIdx < _parent._files.Count); 512var count = _parent._files.Count; 567if (dataSample == null || dataSample.Count == 0) 577if (dataSample == null || dataSample.Count == 0)