19 references to Host
Microsoft.ML.Data (19)
DataLoadSave\Transpose\TransposeLoader.cs (19)
154
Host
.AssertValue(reader);
157
Host
.CheckDecode(_offset == 0 || (Header.HeaderSize <= _offset && _offset <= _parent._header.TailOffset));
160
Host
.CheckDecode(0 <= _length && _offset <= _parent._header.TailOffset - _length);
188
BinaryLoader loader = new BinaryLoader(
Host
,
232
Host
.CheckDecode(HasDataView);
243
Host
.AssertValue(view);
246
Host
.Assert(rowCountNull.HasValue);
251
Host
.CheckDecode(rowCount == 0 || _parent._header.RowCount == rowCount);
254
Host
.CheckDecode(schema.Count == _parent._header.ColumnCount);
272
Host
.AssertValue(parent._schemaEntry);
273
Host
.Assert(0 <= col && col < parent.Schema.Count);
279
Host
.CheckDecode(HasDataView || parent.HasRowData);
293
Host
.AssertValue(view);
296
Host
.CheckDecode(schema.Count == 1);
300
throw
Host
.ExceptDecode();
304
Host
.CheckDecode(vectorType.Size == _parent._header.RowCount);
308
Host
.Assert(rowCountNull.HasValue);
313
Host
.CheckDecode(type.GetValueCount() == rowCount);
315
Host
.CheckDecode(type.GetItemType().Equals(vectorType.ItemType));