17 references to Write
Microsoft.ML.CodeGenerator (17)
Templates\Console\ModelOutputClass.cs (17)
33this.Write("\r\nusing System;\r\nusing Microsoft.ML.Data;\r\n"); 35this.Write("using System.Collections.Generic;\r\nusing System.Linq;\r\n"); 37this.Write("\r\nnamespace "); 38this.Write(this.ToStringHelper.ToStringWithCulture(Namespace)); 39this.Write(".Model\r\n{\r\n public class ModelOutput\r\n {\r\n"); 41this.Write(" // ColumnName attribute is used to change the column name from\r\n /" + 45this.Write(" // ColumnName attribute is used to change the column name from\r\n /" + 48this.Write(this.ToStringHelper.ToStringWithCulture(PredictionLabelType)); 49this.Write(" Prediction { get; set; }\r\n"); 52this.Write(" [ColumnName(\"boxes\")]\r\n public float[] Boxes { get; set; }\r\n\r\n " + 78this.Write(" public float[] Score { get; set; }\r\n"); 80this.Write(" public float Score { get; set; }\r\n"); 82this.Write(" }\r\n}\r\n"); 95this.Write(@"//***************************************************************************************** 108this.Write("// This file was auto-generated by ML.NET Model Builder. \r\n"); 249this.Write(textToAppend); 258this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));