1 write to Host
Microsoft.ML.Data (1)
DataView\DataViewConstructionUtils.cs (1)
218Host = env.Register("Row");
30 references to Host
Microsoft.ML.Data (30)
DataView\DataViewConstructionUtils.cs (30)
168Host.CheckValue(row, nameof(row)); 182Host.Check(Position >= 0, RowCursorUtils.FetchValueStateError); 219Host.AssertValue(schema); 220Host.AssertValue(schemaDef); 221Host.AssertValue(peeks); 222Host.AssertValue(predicate); 223Host.Assert(schema.Count == schemaDef.Columns.Length); 224Host.Assert(schema.Count == peeks.Length); 243Host.Assert(vectorType != null); 248Host.Assert(vectorType.ItemType is TextDataViewType); 254Host.Assert(Nullable.GetUnderlyingType(outputType.GetElementType()) == vectorType.ItemType.RawType); 256Host.Assert(outputType.GetElementType() == vectorType.ItemType.RawType); 264Host.Assert(outputType.IsGenericType); 265Host.Assert(outputType.GetGenericTypeDefinition() == typeof(VBuffer<>)); 266Host.Assert(outputType.GetGenericArguments()[0] == vectorType.ItemType.RawType); 275Host.Assert(colType is TextDataViewType); 281Host.Assert(colType.RawType == Nullable.GetUnderlyingType(outputType)); 283Host.Assert(colType.RawType == outputType); 300throw Host.ExceptNotSupp("Type '{0}' is not yet supported.", outputType.FullName); 311Host.AssertValue(peek); 327Host.AssertValue(peek); 339Host.AssertValue(peek); 355Host.AssertValue(peek); 370Host.AssertValue(peek); 379Host.Check(keyType != null); 381Host.Check(typeof(TDst) == typeof(ulong) || typeof(TDst) == typeof(uint) || 386Host.AssertValue(peek); 419throw Host.Except("Column index must be between 0 and {0}", _colCount); 431Host.CheckParam(column.Index <= _getters.Length && IsColumnActive(column), nameof(column), "requested column not active"); 437throw Host.Except($"Invalid TValue in GetGetter for column #{column}: '{typeof(TValue)}', " +