The file page.st
goes in the templates/
directory in the Gitit wiki home directory. You'll put the Ace JavaScript and CSS files in static/
.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from keras.models import Sequential | |
from keras.layers.core import Dense, Dropout, Activation | |
from keras.optimizers import SGD | |
import numpy as np | |
X = np.array([[0,0],[0,1],[1,0],[1,1]]) | |
y = np.array([[0],[1],[1],[0]]) | |
model = Sequential() | |
model.add(Dense(8, input_dim=2)) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update to 4.9 kernel do not delete the old kernel as it will be your failsafe if something happens to this one | |
# Install KabyLake graphics patches | |
cd /tmp; | |
wget https://01.org/sites/default/files/downloads/intelr-graphics-linux/kbldmcver101.tar.bz2; | |
tar xjvf kbldmcver101.tar.bz2; cd kbl_dmc_ver1_01/; sudo ./install.sh | |
cd /tmp; | |
wget https://01.org/sites/default/files/downloads/intelr-graphics-linux/kblgucver914.tar.gz; | |
tar xvzf kblgucver914.tar.gz; cd firmware/kbl/guc/kbl_guc_ver/; sudo ./install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BayesianModel(object): | |
samples = 2000 | |
def __init__(self, cache_model=True): | |
self.cached_model = None | |
self.cached_start = None | |
self.cached_sampler = None | |
self.shared_vars = {} | |
def cache_model(self, **inputs): | |
self.shared_vars = self._create_shared_vars(**inputs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE FlexibleInstances #-} | |
-- | An implementation of Section 3, Local Type Argument Synthesis, from the | |
-- paper /Local Type Inference/ by Pierce and Turner. | |
module Infer where | |
import Control.Monad (foldM, join, zipWithM) | |
import Data.Function (on) | |
import Data.List (foldl', groupBy, intercalate, intersect, nub) |
- Texture Synthesis Using Convolutional Neural Networks
- A Neural Algorithm of Artistic Style
- Texture Networks: Feed-forward Synthesis of Textures and Stylized Images
- Improved Texture Networks: Maximizing Quality and Diversity in Feed-forward Texture Synthesis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Description of this service | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/nohup /path/to/server.sh | |
Restart=always | |
RestartSec=30 | |
StandardOutput=/path/to/log | |
StandardError=/path/to/log |
OlderNewer