2 writes to _bindings
Microsoft.ML.Transforms (2)
OptionalColumnTransform.cs (2)
281_bindings = Bindings.Create(args, Source.Schema, this); 291_bindings = Bindings.Create(host, ctx, Source.Schema, this);
22 references to _bindings
Microsoft.ML.Transforms (22)
OptionalColumnTransform.cs (22)
312_bindings.Save(Host, ctx); 315public override DataViewSchema OutputSchema => _bindings.AsSchema; 328var inputPred = _bindings.GetDependencies(predicate); 329var active = _bindings.GetActive(predicate); 333return new Cursor(Host, _bindings, input, active); 341var inputPred = _bindings.GetDependencies(predicate); 344var active = _bindings.GetActive(predicate); 356cursors[i] = new Cursor(Host, _bindings, inputs[i], active); 364return new DataViewRowCursor[] { new Cursor(Host, _bindings, input, active) }; 368=> _bindings.GetDependencies(dependingColumns); 372return _bindings.MapColumnIndex(out isSrc, col); 381int col = _bindings.MapIinfoToCol(iinfo); 385var getters = new Delegate[_bindings.InfoCount]; 389for (int iinfo = 0; iinfo < _bindings.InfoCount; iinfo++) 393if (_bindings.SrcCols[iinfo] < 0) 397getters[iinfo] = Utils.MarshalInvoke(_getSrcGetterMethodInfo, this, _bindings.ColumnTypes[iinfo].GetItemType().RawType, input, iinfo); 406return input.GetGetter<T>(input.Schema[_bindings.SrcCols[iinfo]]); 411var columnType = _bindings.ColumnTypes[iinfo]; 522for (int iinfo = 0; iinfo < _bindings.ColumnTypes.Length; ++iinfo) 524var columnType = _bindings.ColumnTypes[iinfo]; 525string inputColumnName = Source.Schema[_bindings.SrcCols[iinfo]].Name; 534if (!SaveAsOnnxCore(ctx, srcVariableName, _bindings.ColumnTypes[iinfo]))