Example #1
0
        public new static Linear Load(String modelPath)
        {
            var res = Module.Load(modelPath);

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

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

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