1 write to _host
Microsoft.ML.Data (1)
DataLoadSave\Transpose\TransposeSaver.cs (1)
59
_host
= env.Register(LoadName);
13 references to _host
Microsoft.ML.Data (13)
DataLoadSave\Transpose\TransposeSaver.cs (13)
60
_internalSaver = new BinarySaver(
_host
, new BinarySaver.Arguments() { Silent = true });
67
_host
.CheckValue(type, nameof(type));
84
_host
.CheckValue(stream, nameof(stream));
85
_host
.CheckValue(data, nameof(data));
86
_host
.CheckParam(stream.CanSeek, nameof(stream), "Must be seekable but is not");
87
_host
.CheckParam(stream.Position == 0, nameof(stream), "Stream must be at beginning but appears to not be");
88
_host
.CheckNonEmpty(cols, nameof(cols));
93
var trans = Transposer.Create(
_host
, data, forceSave: false, columns: cols);
94
using (var ch =
_host
.Start("Saving"))
102
_host
.AssertValue(ch);
144
IDataView subdata = new ChooseColumnsByIndexTransform(
_host
,
148
subdata = SkipTakeFilter.Create(
_host
, new SkipTakeFilter.TakeOptions() { Count = 0 }, subdata);
153
viewAction(data.Schema[col].Name, new TransposerUtils.SlotDataView(
_host
, data, col));