1 write to _host
Microsoft.ML.Transforms (1)
StatefulCustomMappingTransformer.cs (1)
51_host = env.Register(nameof(StatefulCustomMappingTransformer<TSrc, TDst, TState>));
13 references to _host
Microsoft.ML.Transforms (13)
StatefulCustomMappingTransformer.cs (13)
52_host.CheckValue(mapAction, nameof(mapAction)); 53_host.CheckValue(stateInitAction, nameof(stateInitAction)); 54_host.CheckValueOrNull(contractName); 69throw _host.Except("Empty contract name for a transform: the transform cannot be saved"); 70LambdaTransform.SaveCustomTransformer(_host, ctx, _contractName, _contractAssembly); 79_host.CheckValue(inputSchema, nameof(inputSchema)); 80var rowToRow = new RowToRowMapper(_host, this, new EmptyDataView(_host, inputSchema)); 90_host.CheckValue(input, nameof(input)); 91return new RowToRowMapper(_host, this, input); 101_host.CheckValue(inputSchema, nameof(inputSchema)); 102return new RowToRowMapper(_host, this, new EmptyDataView(_host, inputSchema));