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