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);
69
throw
_host
.Except("Empty contract name for a transform: the transform cannot be saved");
70
LambdaTransform.SaveCustomTransformer(
_host
, ctx, _contractName, _contractAssembly);
79
_host
.CheckValue(inputSchema, nameof(inputSchema));
80
var rowToRow = new RowToRowMapper(
_host
, this, new EmptyDataView(
_host
, inputSchema));
90
_host
.CheckValue(input, nameof(input));
91
return new RowToRowMapper(
_host
, this, input);
101
_host
.CheckValue(inputSchema, nameof(inputSchema));
102
return new RowToRowMapper(
_host
, this, new EmptyDataView(
_host
, inputSchema));