1 write to _host
Microsoft.ML.Data (1)
DataLoadSave\TransformWrapper.cs (1)
28_host = env.Register(nameof(TransformWrapper));
10 references to _host
Microsoft.ML.Data (10)
DataLoadSave\TransformWrapper.cs (10)
29_host.CheckValue(xf, nameof(xf)); 35_host.CheckValue(inputSchema, nameof(inputSchema)); 37var dv = new EmptyDataView(_host, inputSchema); 38var output = ApplyTransformUtils.ApplyTransformToData(_host, (IDataTransform)_xf, dv); 43void ICanSaveModel.Save(ModelSaveContext ctx) => throw _host.Except("Saving is not permitted."); 45public IDataView Transform(IDataView input) => ApplyTransformUtils.ApplyTransformToData(_host, (IDataTransform)_xf, input); 51_host.CheckValue(inputSchema, nameof(inputSchema)); 52var transform = ApplyTransformUtils.ApplyTransformToData(_host, (IDataTransform)_xf, new EmptyDataView(_host, inputSchema)) as IRowToRowMapper; 53_host.Check(transform is IRowToRowMapper);