Пример #1
0
        internal static bool sendVerification(user u, activation a)
        {
            string cta     = "Verify now!";
            string link    = $"http://eurospacecenter.haroenviaene.ikdoeict.net/Account/Activate?code={a.code}";
            string body    = $"Welcome to Euro Space Center. You have just registered for an account!<br/> We just quickly want you to verify that you're actually you and then you're ready for liftoff 🚀.<br/> If the button doesn't work, try navigating 🛰 to {link}";
            string subject = "Activation";

            return(Send(u.email, u.name, body, cta, link, subject));
        }
Пример #2
0
this.predictor = new Conv2D(num_channel, kernel, strides: stride, padding: pad, activation: activation, use_bias: use_bias, in_channels: in_channels, weight_initializer: new Xavier(magnitude: 2), bias_initializer: "zeros");
Пример #3
0
 => input => new CuDnnConvolutionalLayer(input, info, kernel, kernels, activation, biasMode);