20 references to GetIdentityPermutation
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
506var res = GetIdentityPermutation(size);
Microsoft.ML.Data (9)
DataLoadSave\Database\DatabaseLoader.cs (1)
421var order = Utils.GetIdentityPermutation(segs.Length);
DataLoadSave\Text\TextLoader.cs (1)
640var order = Utils.GetIdentityPermutation(segs.Length);
DataLoadSave\Transpose\TransposeLoader.cs (1)
554ctx.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)
1040int[] permutation = Utils.GetIdentityPermutation(count);
Scorers\FeatureContributionCalculation.cs (1)
239var 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)
124var perm = Utils.GetIdentityPermutation(_pool.Count);
Utilities\ModelFileUtils.cs (1)
262saver.SaveData(entry.Stream, view, Utils.GetIdentityPermutation(view.Schema.Count));
Microsoft.ML.EntryPoints (1)
JsonUtils\ExecuteGraphCommand.cs (1)
244saver.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)
245saver.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)
169var perm = Utils.GetIdentityPermutation(types.Length);
Microsoft.ML.Transforms (2)
ExpressionTransformer.cs (1)
90perm = Utils.GetIdentityPermutation(inputTypes.Length);
HashJoiningTransform.cs (1)
375return new[] { Utils.GetIdentityPermutation(srcSlotCount) };