3 writes to InputColumnNamesArray
Microsoft.ML.Transforms (3)
Text\NgramHashingTransformer.cs (3)
974
InputColumnNamesArray
= inputColumnNames;
1001
InputColumnNamesArray
= new string[inputsLength];
1024
InputColumnNamesArray
= inputColumnNames;
20 references to InputColumnNamesArray
Microsoft.ML.Transforms (20)
Text\NgramHashingTransformer.cs (20)
212
for (int j = 0; j < _columns[i].
InputColumnNamesArray
.Length; j++)
214
if (!input.Schema.TryGetColumnIndex(_columns[i].
InputColumnNamesArray
[j], out int srcCol))
215
throw Host.ExceptSchemaMismatch(nameof(input), "input", _columns[i].
InputColumnNamesArray
[j]);
218
throw Host.ExceptSchemaMismatch(nameof(input), "input", _columns[i].
InputColumnNamesArray
[j], NgramHashingEstimator.ExpectedColumnType, columnType.ToString());
392
_srcIndices[i] = new int[_parent._columns[i].
InputColumnNamesArray
.Length];
393
_srcTypes[i] = new DataViewType[_parent._columns[i].
InputColumnNamesArray
.Length];
394
for (int j = 0; j < _parent._columns[i].
InputColumnNamesArray
.Length; j++)
396
var srcName = _parent._columns[i].
InputColumnNamesArray
[j];
670
_srcIndices[i] = new int[_parent._columns[i].
InputColumnNamesArray
.Length];
671
for (int j = 0; j < _parent._columns[i].
InputColumnNamesArray
.Length; j++)
673
var srcName = _parent._columns[i].
InputColumnNamesArray
[j];
793
srcNames[i] = _parent._columns[iinfo].
InputColumnNamesArray
[i];
896
public IReadOnlyList<string> InputColumnNames =>
InputColumnNamesArray
;
1002
for (int i = 0; i <
InputColumnNamesArray
.Length; i++)
1003
InputColumnNamesArray
[i] = ctx.LoadNonEmptyString();
1063
Contracts.Assert(
InputColumnNamesArray
.Length > 0);
1064
ctx.Writer.Write(
InputColumnNamesArray
.Length);
1065
for (int i = 0; i <
InputColumnNamesArray
.Length; i++)
1066
ctx.SaveNonEmptyString(
InputColumnNamesArray
[i]);
1218
foreach (var input in colInfo.
InputColumnNamesArray
)