Пример #1
0
        public new static Linear Load(String modelPath)
        {
            var res = Module.Load(modelPath);

            Torch.CheckForErrors();
            return(new Linear(res.handle.DangerousGetHandle(), IntPtr.Zero));
        }
Пример #2
0
        public new static Bilinear Load(String modelPath)
        {
            var res = Module.Load(modelPath);

            return(new Bilinear(res.handle.DangerousGetHandle(), IntPtr.Zero));
        }
Пример #3
0
        public new static LSTMCell Load(String modelPath)
        {
            var res = Module.Load(modelPath);

            return(new LSTMCell(res.handle.DangerousGetHandle(), IntPtr.Zero));
        }