3 writes to _bindings
Microsoft.ML.Data (3)
Scorers\GenericScorer.cs (3)
163
_bindings
= Bindings.Create(data.Schema, rowMapper, args.Suffix);
173
_bindings
= transform._bindings.ApplyToSchema(env, data.Schema);
184
_bindings
= Bindings.Create(ctx, host, Bindable, input.Schema);
22 references to _bindings
Microsoft.ML.Data (22)
Scorers\GenericScorer.cs (22)
141
private protected override BindingsBase GetBindings() =>
_bindings
;
164
OutputSchema =
_bindings
.AsSchema;
173
_bindings = transform.
_bindings
.ApplyToSchema(env, data.Schema);
174
OutputSchema =
_bindings
.AsSchema;
185
OutputSchema =
_bindings
.AsSchema;
207
_bindings
.SaveModel(ctx);
216
var schema =
_bindings
.RowMapper.InputRoleMappedSchema;
217
Host.Assert(
_bindings
.DerivedColumnCount == 0);
218
string[] outColNames = new string[
_bindings
.InfoCount];
219
for (int iinfo = 0; iinfo <
_bindings
.InfoCount; ++iinfo)
220
outColNames[iinfo] =
_bindings
.GetColumnName(
_bindings
.MapIinfoToCol(iinfo));
231
var schema =
_bindings
.RowMapper.InputRoleMappedSchema;
232
Host.Assert(
_bindings
.DerivedColumnCount == 0);
233
string[] outVariableNames = new string[
_bindings
.InfoCount];
234
for (int iinfo = 0; iinfo <
_bindings
.InfoCount; ++iinfo)
236
int colIndex =
_bindings
.MapIinfoToCol(iinfo);
237
string colName =
_bindings
.GetColumnName(colIndex);
238
colName = ctx.AddIntermediateVariable(
_bindings
.GetColumnType(colIndex), colName);
254
return
_bindings
.AnyNewColumnsActive(predicate);
267
Host.Assert(
_bindings
.DerivedColumnCount == 0);
270
Host.Assert(output.Schema ==
_bindings
.RowMapper.OutputSchema);