1 write to _host
Microsoft.ML.Data (1)
DataView\ArrayDataViewBuilder.cs (1)
39_host = env.Register("ArrayDataViewBuilder");
19 references to _host
Microsoft.ML.Data (19)
DataView\ArrayDataViewBuilder.cs (19)
53_host.CheckValue(name, nameof(name)); 54_host.CheckValue(values, nameof(values)); 56throw _host.Except("Previous inputs were of length {0}, but new input is of length {1}", _columns[0].Length, values.Length); 69_host.CheckParam(type != null && type.RawType == typeof(T), nameof(type)); 85_host.CheckValue(getKeyValues, nameof(getKeyValues)); 86_host.CheckParam(keyCount > 0, nameof(keyCount)); 99_host.CheckValue(getNames, nameof(getNames)); 100_host.CheckParam(itemType != null && itemType.RawType == typeof(T), nameof(itemType)); 113_host.CheckParam(itemType != null && itemType.RawType == typeof(T), nameof(itemType)); 124_host.CheckValue(getNames, nameof(getNames)); 125_host.CheckParam(itemType != null && itemType.RawType == typeof(T), nameof(itemType)); 138_host.CheckParam(itemType != null && itemType.RawType == typeof(T), nameof(itemType)); 149_host.CheckParam(itemType != null && itemType.RawType == typeof(T), nameof(itemType)); 160_host.CheckValue(getNames, nameof(getNames)); 161_host.CheckParam(itemType != null && itemType.RawType == typeof(T), nameof(itemType)); 188_host.Check(!RowCount.HasValue || RowCount.Value == rowCount.Value, "Specified row count incompatible with existing columns"); 189return new DataView(_host, this, rowCount.Value); 191_host.Check(_columns.Count > 0, "Cannot construct data-view with neither any columns nor a specified row count"); 192return new DataView(_host, this, RowCount.Value);