1 write to _parent
Microsoft.ML.Transforms (1)
RandomFourierFeaturizing.cs (1)
479
_parent
= parent;
16 references to _parent
Microsoft.ML.Transforms (16)
RandomFourierFeaturizing.cs (16)
480
_types = new DataViewType[
_parent
.ColumnPairs.Length];
481
_srcTypes = new DataViewType[
_parent
.ColumnPairs.Length];
482
_srcCols = new int[
_parent
.ColumnPairs.Length];
483
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
485
inputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out _srcCols[i]);
489
_types[i] = new VectorDataViewType(NumberDataViewType.Single,
_parent
._transformInfos[i].RotationTerms == null ?
490
_parent
._transformInfos[i].NewDim * 2 :
_parent
._transformInfos[i].NewDim);
496
var result = new DataViewSchema.DetachedColumn[
_parent
.ColumnPairs.Length];
497
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
498
result[i] = new DataViewSchema.DetachedColumn(
_parent
.ColumnPairs[i].outputColumnName, _types[i], null);
505
Contracts.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
518
var productAligned = new AlignedArray(RoundUp(
_parent
._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment());
524
TransformFeatures(in src, ref dst,
_parent
._transformInfos[iinfo], featuresAligned, productAligned);
535
var productAligned = new AlignedArray(RoundUp(
_parent
._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment());
544
TransformFeatures(in oneDimensionalVector, ref dst,
_parent
._transformInfos[iinfo], featuresAligned, productAligned);