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