Ejemplo n.º 1
0
        public static FreeSoundsPlusModel25 Create(MLModelConfiguration configuration, out NSError error)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            var model = MLModel.Create(GetModelUrl(), configuration, out error);

            if (model == null)
            {
                return(null);
            }

            return(new FreeSoundsPlusModel25(model));
        }
Ejemplo n.º 2
0
        public static CookHappyJune Create(MLModelConfiguration configuration, out NSError error)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            var model = MLModel.Create(GetModelUrl(), configuration, out error);

            if (model == null)
            {
                return(null);
            }

            return(new CookHappyJune(model));
        }
Ejemplo n.º 3
0
        public static coil100Model_CoreML Create(MLModelConfiguration configuration, out NSError error)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            var model = MLModel.Create(GetModelUrl(), configuration, out error);

            if (model == null)
            {
                return(null);
            }

            return(new coil100Model_CoreML(model));
        }
Ejemplo n.º 4
0
        public static MarsHabitatPricer Create(MLModelConfiguration configuration, out NSError error)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            var model = MLModel.Create(GetModelUrl(), configuration, out error);

            if (model == null)
            {
                return(null);
            }

            return(new MarsHabitatPricer(model));
        }
Ejemplo n.º 5
0
        public static Ramen Create(NSUrl url, MLModelConfiguration configuration, out NSError error)
        {
            if (url == null)
            {
                throw new ArgumentNullException(nameof(url));
            }

            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            var model = MLModel.Create(url, configuration, out error);

            if (model == null)
            {
                return(null);
            }

            return(new Ramen(model));
        }