示例#1
0
        public void Run(Model model, ref List <Model.ImporterWarning> warnings)
        {
            // validate, model contains no unconnected layers
            var unconnectedOutputs = ModelAnalyzer.FindUnconnectedOutputs(model);

            foreach (var o in unconnectedOutputs)
            {
                ValidationHelper.AppendWarning(false, o, "ValidateUnconnectedLayers: Layer is specified as output, but is missing in the model", ref warnings, MessageType.Warning);
            }
        }