1 write to _host
Microsoft.ML.Transforms (1)
CustomMappingTransformer.cs (1)
48_host = env.Register(nameof(CustomMappingTransformer<TSrc, TDst>));
13 references to _host
Microsoft.ML.Transforms (13)
CustomMappingTransformer.cs (13)
49_host.CheckValue(mapAction, nameof(mapAction)); 50_host.CheckValueOrNull(contractName); 51_host.CheckValueOrNull(inputSchemaDefinition); 52_host.CheckValueOrNull(outputSchemaDefinition); 71throw _host.Except("Empty contract name for a transform: the transform cannot be saved"); 72LambdaTransform.SaveCustomTransformer(_host, ctx, _contractName, _contractAssembly); 81_host.CheckValue(inputSchema, nameof(inputSchema)); 92_host.CheckValue(input, nameof(input)); 93return new RowToRowMapperTransform(_host, input, MakeRowMapper(input.Schema), MakeRowMapper); 103_host.CheckValue(inputSchema, nameof(inputSchema)); 105return new RowToRowMapperTransform(_host, new EmptyDataView(_host, inputSchema), simplerMapper, MakeRowMapper); 122_host = parent._host.Register(nameof(Mapper));