15 references to Write
Microsoft.ML.CodeGenerator (15)
Templates\Console\ConsumeModel.cs (15)
33this.Write("\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing Sys" + 35this.Write(this.ToStringHelper.ToStringWithCulture(Namespace)); 36this.Write(".Model;\r\n\r\nnamespace "); 37this.Write(this.ToStringHelper.ToStringWithCulture(Namespace)); 38this.Write(@".Model 45this.Write(this.ToStringHelper.ToStringWithCulture(MLNetModelName)); 46this.Write("\");\r\n"); 48this.Write(" \r\n public static string OnnxModelPath = Path.Combine(System.AppContext.Ba" + 50this.Write(this.ToStringHelper.ToStringWithCulture(OnnxModelName)); 51this.Write("\");\r\n"); 53this.Write(@" 89this.Write(@"//***************************************************************************************** 102this.Write("// This file was auto-generated by ML.NET Model Builder. \r\n"); 243this.Write(textToAppend); 252this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));