25 references to Write
Microsoft.ML.CodeGenerator (25)
Templates\Azure\Console\AzureModelBuilder.cs (25)
34this.Write("using System;\r\nusing System.Collections.Generic;\r\nusing System.IO;\r\nusing System." + 36this.Write(this.ToStringHelper.ToStringWithCulture(Namespace)); 37this.Write(".Model;\r\nnamespace "); 38this.Write(this.ToStringHelper.ToStringWithCulture(Namespace)); 39this.Write(".ConsoleApp\r\n{\r\n public static class ModelBuilder\r\n {\r\n private stat" + 41this.Write(this.ToStringHelper.ToStringWithCulture(Path)); 42this.Write(@"""; 57this.Write(this.ToStringHelper.ToStringWithCulture(HasHeader.ToString().ToLowerInvariant())); 58this.Write(",\r\n separatorChar : \'"); 59this.Write(this.ToStringHelper.ToStringWithCulture(Regex.Escape(Separator.ToString()))); 60this.Write("\',\r\n allowQuoting : "); 61this.Write(this.ToStringHelper.ToStringWithCulture(AllowQuoting.ToString().ToLowerInvariant())); 62this.Write(",\r\n allowSparse: "); 63this.Write(this.ToStringHelper.ToStringWithCulture(AllowSparse.ToString().ToLowerInvariant())); 64this.Write(@"); 81this.Write(" // Data process configuration with pipeline data transformations to:\r" + 88{ Write("\r\n .Append("); 90Write("mlContext.Transforms."+PreTrainerTransforms[i]); 92{ Write(")"); 95this.Write(";\r\n"); 97this.Write(@" return pipeline; 137this.Write(@"//***************************************************************************************** 150this.Write("// This file was auto-generated by ML.NET Model Builder. \r\n"); 291this.Write(textToAppend); 300this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));