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);
315
public override DataViewSchema OutputSchema =>
_bindings
.AsSchema;
328
var inputPred =
_bindings
.GetDependencies(predicate);
329
var active =
_bindings
.GetActive(predicate);
333
return new Cursor(Host,
_bindings
, input, active);
341
var inputPred =
_bindings
.GetDependencies(predicate);
344
var active =
_bindings
.GetActive(predicate);
356
cursors[i] = new Cursor(Host,
_bindings
, inputs[i], active);
364
return new DataViewRowCursor[] { new Cursor(Host,
_bindings
, input, active) };
368
=>
_bindings
.GetDependencies(dependingColumns);
372
return
_bindings
.MapColumnIndex(out isSrc, col);
381
int col =
_bindings
.MapIinfoToCol(iinfo);
385
var getters = new Delegate[
_bindings
.InfoCount];
389
for (int iinfo = 0; iinfo <
_bindings
.InfoCount; iinfo++)
393
if (
_bindings
.SrcCols[iinfo] < 0)
397
getters[iinfo] = Utils.MarshalInvoke(_getSrcGetterMethodInfo, this,
_bindings
.ColumnTypes[iinfo].GetItemType().RawType, input, iinfo);
406
return input.GetGetter<T>(input.Schema[
_bindings
.SrcCols[iinfo]]);
411
var columnType =
_bindings
.ColumnTypes[iinfo];
522
for (int iinfo = 0; iinfo <
_bindings
.ColumnTypes.Length; ++iinfo)
524
var columnType =
_bindings
.ColumnTypes[iinfo];
525
string inputColumnName = Source.Schema[
_bindings
.SrcCols[iinfo]].Name;
534
if (!SaveAsOnnxCore(ctx, srcVariableName,
_bindings
.ColumnTypes[iinfo]))