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);
49
throw
_host
.Except("The following inputs are missing: {0}", string.Join(", ", missingInputs));
60
throw
_host
.Except("The following nodes didn't run due to circular dependency: {0}", string.Join(", ", remainingNodes));
89
_host
.CheckNonEmpty(name, nameof(name));
93
throw
_host
.Except("Port '{0}' not found", name);
99
throw
_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));
129
throw
_host
.Except("Port '{0}' not found", name);
131
throw
_host
.Except("Port '{0}' is not an input", name);
133
throw
_host
.Except("Port '{0}' is already set", name);
135
throw
_host
.Except("Port '{0}' is of incorrect type", name);
145
_host
.CheckNonEmpty(name, nameof(name));
149
throw
_host
.Except("Variable '{0}' not found", name);