Esempio n. 1
0
        public override BaseMetaDataView GetInformation()
        {
            InputLayerMetaDataView info = new InputLayerMetaDataView(ref metaDataPool);
            info.InformationChanged += SetMetaData;

            if (metaData.ContainsKey("factory"))
                info.SetFactory(metaData["factory"]);
            if (metaData.ContainsKey("dataType"))
                info.SetDataType(metaData["dataType"]);
            if(metaData.ContainsKey("inputCount"))
                info.SetInputCount(metaData["inputCount"]);
            info.SetExtraFields(metaData);

            return info;
        }
Esempio n. 2
0
        public override BaseMetaDataView GetInformation()
        {
            InputLayerMetaDataView info = new InputLayerMetaDataView(ref metaDataPool);

            info.InformationChanged += SetMetaData;

            if (metaData.ContainsKey("factory"))
            {
                info.SetFactory(metaData["factory"]);
            }
            if (metaData.ContainsKey("dataType"))
            {
                info.SetDataType(metaData["dataType"]);
            }
            if (metaData.ContainsKey("inputCount"))
            {
                info.SetInputCount(metaData["inputCount"]);
            }
            info.SetExtraFields(metaData);

            return(info);
        }