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)); 93var trans = Transposer.Create(_host, data, forceSave: false, columns: cols); 94using (var ch = _host.Start("Saving")) 102_host.AssertValue(ch); 144IDataView subdata = new ChooseColumnsByIndexTransform(_host, 148subdata = SkipTakeFilter.Create(_host, new SkipTakeFilter.TakeOptions() { Count = 0 }, subdata); 153viewAction(data.Schema[col].Name, new TransposerUtils.SlotDataView(_host, data, col));