2 writes to NumberOfClasses
Microsoft.ML.TorchSharp (2)
AutoFormerV2\ObjectDetectionTrainer.cs (2)
255Parent.Option.NumberOfClasses = uniqueLabels.Count; 681NumberOfClasses = ctx.Reader.ReadInt32(),
5 references to NumberOfClasses
Microsoft.ML.TorchSharp (5)
AutoFormerV2\ObjectDetectionTrainer.cs (5)
217Parent.Option.NumberOfClasses, 620ctx.Writer.Write(Options.NumberOfClasses); 688var model = new AutoFormerV2(options.NumberOfClasses, 767info[0] = new DataViewSchema.DetachedColumn(_parent.Options.PredictedLabelColumnName, new VectorDataViewType(new KeyDataViewType(typeof(uint), _parent.Options.NumberOfClasses)), labelBuilder.ToAnnotations()); 881TensorCacher outputCacher = new TensorCacher(_parent.Options.NumberOfClasses);