161 references to AssertValueOrNull
Microsoft.ML.Core (41)
CommandLine\CmdLexer.cs (1)
321
Contracts.
AssertValueOrNull
(str);
CommandLine\CmdParser.cs (3)
430
Contracts.
AssertValueOrNull
(reporter);
1179
Contracts.
AssertValueOrNull
(first);
1425
Contracts.
AssertValueOrNull
(defaults);
ComponentModel\ComponentCatalog.cs (4)
205
Contracts.
AssertValueOrNull
(attr.Summary);
206
Contracts.
AssertValueOrNull
(attr.DocName);
207
Contracts.
AssertValueOrNull
(attr.UserName);
966
Contracts.
AssertValueOrNull
(name);
Data\ModelLoadContext.cs (1)
104
Contracts.
AssertValueOrNull
(ectx);
Data\ModelSaveContext.cs (1)
123
Contracts.
AssertValueOrNull
(ectx);
Data\Repository.cs (1)
110
Contracts.
AssertValueOrNull
(ectx);
Environment\ConsoleEnvironment.cs (1)
397
Contracts.
AssertValueOrNull
(parentFullName);
Environment\HostEnvironmentBase.cs (5)
46
Contracts.
AssertValueOrNull
(parentFullName);
47
Contracts.
AssertValueOrNull
(shortName);
447
Contracts.
AssertValueOrNull
(host);
454
Contracts.
AssertValueOrNull
(listenerAction);
516
Contracts.
AssertValueOrNull
(ex);
Utilities\Contracts.cs (2)
92
AssertValueOrNull
(ectx);
184
AssertValueOrNull
(inner);
Utilities\Stream.cs (3)
115
Contracts.
AssertValueOrNull
(values);
148
Contracts.
AssertValueOrNull
(values);
161
Contracts.
AssertValueOrNull
(values);
Utilities\Utils.cs (19)
50
Contracts.
AssertValueOrNull
(x);
56
Contracts.
AssertValueOrNull
(x);
62
Contracts.
AssertValueOrNull
(x);
68
Contracts.
AssertValueOrNull
(x);
74
Contracts.
AssertValueOrNull
(x);
80
Contracts.
AssertValueOrNull
(x);
86
Contracts.
AssertValueOrNull
(x);
92
Contracts.
AssertValueOrNull
(x);
98
Contracts.
AssertValueOrNull
(x);
104
Contracts.
AssertValueOrNull
(x);
110
Contracts.
AssertValueOrNull
(x);
116
Contracts.
AssertValueOrNull
(x);
124
Contracts.
AssertValueOrNull
(map);
135
Contracts.
AssertValueOrNull
(list);
143
Contracts.
AssertValueOrNull
(list);
151
Contracts.
AssertValueOrNull
(set);
159
Contracts.
AssertValueOrNull
(map);
167
Contracts.
AssertValueOrNull
(map);
175
Contracts.
AssertValueOrNull
(stack);
Microsoft.ML.Core.Tests (1)
UnitTests\TestContracts.cs (1)
21
Contracts.
AssertValueOrNull
(ectx);
Microsoft.ML.Data (49)
Commands\ShowSchemaCommand.cs (1)
122
Contracts.
AssertValueOrNull
(transposeDataView);
Commands\TypeInfoCommand.cs (3)
58
Contracts.
AssertValueOrNull
(x);
59
Contracts.
AssertValueOrNull
(y);
67
Contracts.
AssertValueOrNull
(obj);
Data\DataViewUtils.cs (1)
716
Contracts.
AssertValueOrNull
(_values);
Data\SchemaDefinition.cs (1)
154
Contracts.
AssertValueOrNull
(ectx);
DataLoadSave\Binary\BinaryLoader.cs (1)
1720
Contracts.
AssertValueOrNull
(buffer);
DataLoadSave\Binary\BinarySaver.cs (1)
574
Contracts.
AssertValueOrNull
(pch);
DataLoadSave\Binary\CodecFactory.cs (1)
38
Contracts.
AssertValueOrNull
(memPool);
DataLoadSave\Database\DatabaseLoader.cs (2)
400
Contracts.
AssertValueOrNull
(segs);
414
Contracts.
AssertValueOrNull
(segs);
DataLoadSave\EstimatorChain.cs (4)
29
Contracts.
AssertValueOrNull
(env);
30
Contracts.
AssertValueOrNull
(estimators);
31
Contracts.
AssertValueOrNull
(scopes);
32
Contracts.
AssertValueOrNull
(needCacheAfter);
DataLoadSave\LegacyCompositeDataLoader.cs (2)
51
Contracts.
AssertValueOrNull
(argsString);
542
Contracts.
AssertValueOrNull
(transforms);
DataLoadSave\Text\TextLoader.cs (2)
707
Contracts.
AssertValueOrNull
(headerFile);
708
Contracts.
AssertValueOrNull
(dataSample);
DataLoadSave\Text\TextLoaderCursor.cs (4)
213
Contracts.
AssertValueOrNull
(lines);
369
Contracts.
AssertValueOrNull
(path);
370
Contracts.
AssertValueOrNull
(infos);
804
Contracts.
AssertValueOrNull
(path);
DataLoadSave\Text\TextLoaderParser.cs (1)
583
Contracts.
AssertValueOrNull
(path);
DataView\DataViewConstructionUtils.cs (1)
844
Contracts.
AssertValueOrNull
(annotationType);
DataView\InternalSchemaDefinition.cs (3)
58
Contracts.
AssertValueOrNull
(generator);
97
Contracts.
AssertValueOrNull
(Generator);
214
Contracts.
AssertValueOrNull
(userSchemaDefinition);
Deprecated\Instances\HeaderSchema.cs (1)
299
Contracts.
AssertValueOrNull
(names);
EntryPoints\EntryPointNode.cs (2)
218
Contracts.
AssertValueOrNull
(ectx);
271
Contracts.
AssertValueOrNull
(ectx);
EntryPoints\InputBuilder.cs (1)
33
Contracts.
AssertValueOrNull
(range);
Scorers\GenericScorer.cs (2)
54
Contracts.
AssertValueOrNull
(suffix);
72
Contracts.
AssertValueOrNull
(suffix);
Scorers\PredictedLabelScorerBase.cs (1)
98
Contracts.
AssertValueOrNull
(suffix);
Scorers\RowToRowScorerBase.cs (3)
131
Contracts.
AssertValueOrNull
(rand);
349
Contracts.
AssertValueOrNull
(suffix);
365
Contracts.
AssertValueOrNull
(suffix);
Training\TrainerUtils.cs (3)
227
Contracts.
AssertValueOrNull
(extraCols);
509
Contracts.
AssertValueOrNull
(signal);
517
Contracts.
AssertValueOrNull
(rand);
Transforms\InvertHashUtils.cs (5)
23
Contracts.
AssertValueOrNull
(dst);
188
Contracts.
AssertValueOrNull
(sb);
189
Contracts.
AssertValueOrNull
(temp);
190
Contracts.
AssertValueOrNull
(cbuffer);
191
Contracts.
AssertValueOrNull
(buffer);
Transforms\LabelConvertTransform.cs (1)
172
Contracts.
AssertValueOrNull
(ch);
Transforms\TransformBase.cs (1)
285
Contracts.
AssertValueOrNull
(slotTypeSrc);
Utilities\LocalEnvironment.cs (1)
69
Contracts.
AssertValueOrNull
(parentFullName);
Microsoft.ML.EntryPoints (8)
FeatureCombiner.cs (2)
89
Contracts.
AssertValueOrNull
(ktv);
144
Contracts.
AssertValueOrNull
(cvt);
JsonUtils\JsonManifestUtils.cs (6)
100
Contracts.
AssertValueOrNull
(ectx);
150
Contracts.
AssertValueOrNull
(ectx);
281
Contracts.
AssertValueOrNull
(ectx);
309
Contracts.
AssertValueOrNull
(ectx);
395
Contracts.
AssertValueOrNull
(ectx);
454
Contracts.
AssertValueOrNull
(ectx);
Microsoft.ML.FastTree (6)
Dataset\FeatureFlock.cs (2)
111
Contracts.
AssertValueOrNull
(active);
1250
Contracts.
AssertValueOrNull
(active);
Dataset\SingletonFeatureFlock.cs (1)
129
Contracts.
AssertValueOrNull
(active);
FastTree.cs (1)
2694
Contracts.
AssertValueOrNull
(workArray);
FastTreeRanking.cs (1)
396
Contracts.
AssertValueOrNull
(tree);
Utils\BufferPoolManager.cs (1)
78
Contracts.
AssertValueOrNull
(buffer);
Microsoft.ML.ImageAnalytics (1)
ImagePixelExtractor.cs (1)
340
Contracts.
AssertValueOrNull
(src);
Microsoft.ML.Maml (1)
HelpCommand.cs (1)
416
Contracts.
AssertValueOrNull
(args);
Microsoft.ML.Mkl.Components (3)
OlsLinearRegression.cs (3)
774
Contracts.
AssertValueOrNull
(standardErrors);
775
Contracts.
AssertValueOrNull
(tValues);
776
Contracts.
AssertValueOrNull
(pValues);
Microsoft.ML.StandardTrainers (25)
Standard\LinearModelParameters.cs (2)
453
Contracts.
AssertValueOrNull
(stats);
505
Contracts.
AssertValueOrNull
(Statistics);
Standard\LogisticRegression\LbfgsPredictorBase.cs (3)
750
Contracts.
AssertValueOrNull
(progress);
810
Contracts.
AssertValueOrNull
(pch);
837
Contracts.
AssertValueOrNull
(pch);
Standard\LogisticRegression\MulticlassLogisticRegression.cs (4)
484
Contracts.
AssertValueOrNull
(stats);
529
Contracts.
AssertValueOrNull
(stats);
745
Contracts.
AssertValueOrNull
(_labelNames);
749
Contracts.
AssertValueOrNull
(Statistics);
Standard\MulticlassClassification\OneVersusAllTrainer.cs (2)
515
Contracts.
AssertValueOrNull
(mapper);
516
Contracts.
AssertValueOrNull
(inputType);
Standard\SdcaBinary.cs (9)
550
Contracts.
AssertValueOrNull
(invariants);
794
Contracts.
AssertValueOrNull
(progress);
796
Contracts.
AssertValueOrNull
(idToIdx);
797
Contracts.
AssertValueOrNull
(invariants);
798
Contracts.
AssertValueOrNull
(featureNormSquared);
962
Contracts.
AssertValueOrNull
(idToIdx);
1112
Contracts.
AssertValueOrNull
(idToIdx);
1143
Contracts.
AssertValueOrNull
(idToIdx);
2023
Contracts.
AssertValueOrNull
(predictor);
Standard\SdcaMulticlass.cs (5)
178
Contracts.
AssertValueOrNull
(progress);
180
Contracts.
AssertValueOrNull
(idToIdx);
181
Contracts.
AssertValueOrNull
(invariants);
182
Contracts.
AssertValueOrNull
(featureNormSquared);
361
Contracts.
AssertValueOrNull
(idToIdx);
Microsoft.ML.TestFramework (15)
BaseTestBaseline.cs (2)
442
Contracts.
AssertValueOrNull
(equalFunc);
494
Contracts.
AssertValueOrNull
(tailSignature);
DataPipe\TestDataPipeBase.cs (2)
38
Contracts.
AssertValueOrNull
(validTransformInput);
39
Contracts.
AssertValueOrNull
(invalidInput);
SubComponent.cs (4)
190
Contracts.
AssertValueOrNull
(kind);
191
Contracts.
AssertValueOrNull
(args);
202
Contracts.
AssertValueOrNull
(kind);
203
Contracts.
AssertValueOrNull
(args);
TestCommandBase.cs (7)
295
Contracts.
AssertValueOrNull
(args);
375
Contracts.
AssertValueOrNull
(dataPath);
376
Contracts.
AssertValueOrNull
(inModelPath);
377
Contracts.
AssertValueOrNull
(outModelPath);
378
Contracts.
AssertValueOrNull
(loaderArgs);
379
Contracts.
AssertValueOrNull
(extraArgs);
524
Contracts.
AssertValueOrNull
(dataPath);
Microsoft.ML.Transforms (11)
Expression\CodeGen.cs (1)
126
Contracts.
AssertValueOrNull
(flag);
Expression\MethodGenerator.cs (2)
26
Contracts.
AssertValueOrNull
(returnType);
27
Contracts.
AssertValueOrNull
(parameterTypes);
Expression\Node.cs (5)
655
Contracts.
AssertValueOrNull
(type);
933
Contracts.
AssertValueOrNull
(tokColon);
968
Contracts.
AssertValueOrNull
(delimiters);
1011
Contracts.
AssertValueOrNull
(tokClose);
1024
Contracts.
AssertValueOrNull
(tokClose);
UngroupTransform.cs (3)
272
Contracts.
AssertValueOrNull
(ectx);
323
Contracts.
AssertValueOrNull
(ectx);
345
Contracts.
AssertValueOrNull
(ectx);