Implemented interface member:
property
Source
Microsoft.ML.Data.IDataTransform.Source
2 writes to Source
Microsoft.ML.Data (2)
Transforms\TransformBase.cs (2)
34
Source
= input;
43
Source
= input;
66 references to Source
Microsoft.ML.Data (66)
DataView\LambdaFilter.cs (7)
91
Host.Assert(0 <= colSrc && colSrc <
Source
.Schema.Count);
119
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
120
var input =
Source
.GetRowCursor(inputCols, rand);
132
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
133
var inputs =
Source
.GetRowCursorSet(inputCols, n, rand);
146
active = new bool[
Source
.Schema.Count];
147
bool[] activeInput = new bool[
Source
.Schema.Count];
DataView\RowToRowMapperTransform.cs (4)
194
return new Cursor(Host,
Source
.GetRowCursor(inputCols, rand), this, active);
204
var inputs =
Source
.GetRowCursorSet(inputCols, n, rand);
247
public DataViewSchema InputSchema =>
Source
.Schema;
253
Host.Check(input.Schema ==
Source
.Schema, "Schema of input row must be the same as the schema the mapper is bound to");
Dirty\ChooseColumnsByIndexTransform.cs (6)
202
_bindings = new Bindings(options,
Source
.Schema);
212
_bindings = new Bindings(ctx,
Source
.Schema);
253
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
254
var input =
Source
.GetRowCursor(inputCols, rand);
267
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
268
var inputs =
Source
.GetRowCursorSet(inputCols, n, rand);
Scorers\RowToRowScorerBase.cs (3)
138
var input =
Source
.GetRowCursor(inputCols, rand);
152
var inputs =
Source
.GetRowCursorSet(inputCols, n, rand);
155
if (inputs.Length == 1 && n > 1 && WantParallelCursors(predicate) && (
Source
.GetRowCount() ?? int.MaxValue) > n)
Transforms\BootstrapSamplingTransformer.cs (1)
172
var input =
Source
.GetRowCursor(columnsNeeded, _shuffleInput ? new TauswortheHybrid(rgen) : null);
Transforms\GenerateNumberTransform.cs (7)
284
_bindings = Bindings.Create(options,
Source
.Schema);
297
_bindings = Bindings.Create(ctx,
Source
.Schema);
345
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
346
var input =
Source
.GetRowCursor(inputCols);
356
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
363
var inputs =
Source
.GetRowCursorSet(inputCols, n);
376
input =
Source
.GetRowCursor(inputCols);
Transforms\LabelConvertTransform.cs (1)
148
using (var bldr = md.BuildMetadata(iinfo,
Source
.Schema, Infos[iinfo].Source, PassThrough))
Transforms\NAFilter.cs (9)
104
var schema =
Source
.Schema;
140
var schema =
Source
.Schema;
183
ctx.SaveNonEmptyString(
Source
.Schema[info.Index].Name);
214
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
215
var input =
Source
.GetRowCursor(inputCols, rand);
226
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
227
var inputs =
Source
.GetRowCursorSet(inputCols, n, rand);
240
active = new bool[
Source
.Schema.Count];
241
bool[] activeInput = new bool[
Source
.Schema.Count];
Transforms\RangeFilter.cs (9)
100
var schema =
Source
.Schema;
150
var schema =
Source
.Schema;
192
ctx.SaveNonEmptyString(
Source
.Schema[_index].Name);
214
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
216
var input =
Source
.GetRowCursor(inputCols, rand);
228
var inputCols =
Source
.Schema.Where(x => inputPred(x.Index));
229
var inputs =
Source
.GetRowCursorSet(inputCols, n, rand);
252
active = new bool[
Source
.Schema.Count];
253
bool[] activeInput = new bool[
Source
.Schema.Count];
Transforms\SkipTakeFilter.cs (2)
197
long? count =
Source
.GetRowCount();
215
var input =
Source
.GetRowCursor(columnsNeeded);
Transforms\TransformBase.cs (17)
52
public virtual bool CanShuffle { get { return
Source
.CanShuffle; } }
120
public sealed override long? GetRowCount() { return
Source
.GetRowCount(); }
143
public override DataViewSchema OutputSchema =>
Source
.Schema;
174
public DataViewSchema InputSchema =>
Source
.Schema;
180
Host.Check(input.Schema ==
Source
.Schema, "Schema of input row must be the same as the schema the mapper is bound to");
504
InputTranspose =
Source
as ITransposeDataView;
506
_bindings = Bindings.Create(this, column,
Source
.Schema, InputTranspose, testType);
518
InputTranspose =
Source
as ITransposeDataView;
520
_bindings = Bindings.Create(this, column,
Source
.Schema, InputTranspose, testType);
532
InputTranspose =
Source
as ITransposeDataView;
534
_bindings = Bindings.Create(this, ctx,
Source
.Schema, InputTranspose, testType);
548
InputTranspose =
Source
as ITransposeDataView;
554
Source = transform.
Source
.Schema[x.Source].Name,
584
var srcName =
Source
.Schema[info.Source].Name;
611
string inputColumnName =
Source
.Schema[info.Source].Name;
742
var input =
Source
.GetRowCursor(inputCols, rand);
753
var inputs =
Source
.GetRowCursorSet(inputCols, n, rand);