20 references to GetIdentityPermutation
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
506
var res =
GetIdentityPermutation
(size);
Microsoft.ML.Data (9)
DataLoadSave\Database\DatabaseLoader.cs (1)
421
var order = Utils.
GetIdentityPermutation
(segs.Length);
DataLoadSave\Text\TextLoader.cs (1)
640
var order = Utils.
GetIdentityPermutation
(segs.Length);
DataLoadSave\Transpose\TransposeLoader.cs (1)
554
ctx.SaveBinaryStream("Schema.idv", w => saver.SaveData(w.BaseStream, noRows, Utils.
GetIdentityPermutation
(schema.Count)));
DataLoadSave\Transpose\TransposeSaver.cs (1)
136
_internalSaver.SaveData(substream, view, Utils.
GetIdentityPermutation
(view.Schema.Count));
Evaluators\RankingEvaluator.cs (1)
1040
int[] permutation = Utils.
GetIdentityPermutation
(count);
Scorers\FeatureContributionCalculation.cs (1)
239
var indices = contributions.IsDense ? Utils.
GetIdentityPermutation
(contributions.Length) : editor.Indices;
Transforms\RowShufflingTransformer.cs (1)
516
_pipeIndices = Utils.
GetIdentityPermutation
(_poolRows - 1 + _bufferDepth * _blockSize);
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
124
var perm = Utils.
GetIdentityPermutation
(_pool.Count);
Utilities\ModelFileUtils.cs (1)
262
saver.SaveData(entry.Stream, view, Utils.
GetIdentityPermutation
(view.Schema.Count));
Microsoft.ML.EntryPoints (1)
JsonUtils\ExecuteGraphCommand.cs (1)
244
saver.SaveData(fs, idv, Utils.
GetIdentityPermutation
(idv.Schema.Count)
Microsoft.ML.FastTree (3)
GamModelParameters.cs (1)
99
_shapeToInputMap = Utils.
GetIdentityPermutation
(NumberOfShapeFunctions);
Training\DcgCalculator.cs (1)
58
_oneTwoThree = Utils.
GetIdentityPermutation
(maxDocsPerQuery);
Training\WinLossCalculator.cs (1)
30
_oneTwoThree = Utils.
GetIdentityPermutation
(maxDocsPerQuery);
Microsoft.ML.Predictor.Tests (1)
TestTransposer.cs (1)
245
saver.SaveData(mem, view, Utils.
GetIdentityPermutation
(view.Schema.Count));
Microsoft.ML.StandardTrainers (2)
LdSvm\LdSvmTrainer.cs (2)
526
_indices = Utils.
GetIdentityPermutation
((int)Length);
578
_indices = Utils.
GetIdentityPermutation
((int)Length);
Microsoft.ML.Tests (1)
ExpressionLanguageTests\ExpressionLanguageTests.cs (1)
169
var perm = Utils.
GetIdentityPermutation
(types.Length);
Microsoft.ML.Transforms (2)
ExpressionTransformer.cs (1)
90
perm = Utils.
GetIdentityPermutation
(inputTypes.Length);
HashJoiningTransform.cs (1)
375
return new[] { Utils.
GetIdentityPermutation
(srcSlotCount) };