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)
141private protected override BindingsBase GetBindings() => _bindings; 164OutputSchema = _bindings.AsSchema; 173_bindings = transform._bindings.ApplyToSchema(env, data.Schema); 174OutputSchema = _bindings.AsSchema; 185OutputSchema = _bindings.AsSchema; 207_bindings.SaveModel(ctx); 216var schema = _bindings.RowMapper.InputRoleMappedSchema; 217Host.Assert(_bindings.DerivedColumnCount == 0); 218string[] outColNames = new string[_bindings.InfoCount]; 219for (int iinfo = 0; iinfo < _bindings.InfoCount; ++iinfo) 220outColNames[iinfo] = _bindings.GetColumnName(_bindings.MapIinfoToCol(iinfo)); 231var schema = _bindings.RowMapper.InputRoleMappedSchema; 232Host.Assert(_bindings.DerivedColumnCount == 0); 233string[] outVariableNames = new string[_bindings.InfoCount]; 234for (int iinfo = 0; iinfo < _bindings.InfoCount; ++iinfo) 236int colIndex = _bindings.MapIinfoToCol(iinfo); 237string colName = _bindings.GetColumnName(colIndex); 238colName = ctx.AddIntermediateVariable(_bindings.GetColumnType(colIndex), colName); 254return _bindings.AnyNewColumnsActive(predicate); 267Host.Assert(_bindings.DerivedColumnCount == 0); 270Host.Assert(output.Schema == _bindings.RowMapper.OutputSchema);