1 write to _host
Microsoft.ML.Data (1)
DataView\Transposer.cs (1)
88
_host
= host;
13 references to _host
Microsoft.ML.Data (13)
DataView\Transposer.cs (13)
89
_host
.AssertValue(view);
90
_host
.CheckParam(Utils.Size(columns) > 0, nameof(columns), "Cannot be empty");
118
using (var ch =
_host
.Start("Init"))
130
var saver = new BinarySaver(
_host
, args);
146
var slicer = new DataViewSlicer(
_host
, view, columns);
181
_splitView = new BinaryLoader(
_host
, loaderArgs, stream, leaveOpen: false);
188
throw
_host
.ExceptParam(nameof(view), "View has {0} rows, we cannot transpose with more than {1}", rowCount, Utils.ArrayMaxSize);
235
_host
.CheckParam(0 <= col && col < _view.Schema.Count, nameof(col));
242
throw
_host
.ExceptParam(nameof(col), "Bad call to GetSlotCursor on untransposable column '{0}'", _tview.Schema[col].Name);
247
_host
.Assert(0 <= tcol && tcol < _cols.Length);
248
_host
.Assert(_cols[tcol].Index == col);
273
_host
.Assert(elementType != null);
307
: base(parent.
_host
)