2 writes to _host
Microsoft.ML.EntryPoints (2)
JsonUtils\GraphRunner.cs (2)
29_host = env.Register(RegistrationName); 38_host = env.Register(RegistrationName);
16 references to _host
Microsoft.ML.EntryPoints (16)
JsonUtils\GraphRunner.cs (16)
30_host.CheckValue(nodes, nameof(nodes)); 32_graph = new EntryPointGraph(_host, nodes); 49throw _host.Except("The following inputs are missing: {0}", string.Join(", ", missingInputs)); 60throw _host.Except("The following nodes didn't run due to circular dependency: {0}", string.Join(", ", remainingNodes)); 89_host.CheckNonEmpty(name, nameof(name)); 93throw _host.Except("Port '{0}' not found", name); 99throw _host.Except("Incorrect type for output '{0}'", name); 108_host.CheckNonEmpty(name, nameof(name)); 123_host.CheckNonEmpty(name, nameof(name)); 124_host.CheckValue(input, nameof(input)); 129throw _host.Except("Port '{0}' not found", name); 131throw _host.Except("Port '{0}' is not an input", name); 133throw _host.Except("Port '{0}' is already set", name); 135throw _host.Except("Port '{0}' is of incorrect type", name); 145_host.CheckNonEmpty(name, nameof(name)); 149throw _host.Except("Variable '{0}' not found", name);