This file contains hidden or 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
    
  
  
    
  | .* | |
| !/.gitignore | |
| ## Core latex/pdflatex auxiliary files: | |
| *.aux | |
| *.lof | |
| *.log | |
| *.lot | |
| *.fls | |
| *.out | 
  
    
      This file contains hidden or 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
    
  
  
    
  | def sliding_window_view(arr, window_shape, steps): | |
| """ Produce a view from a sliding, striding window over `arr`. | |
| The window is only placed in 'valid' positions - no overlapping | |
| over the boundary. | |
| Parameters | |
| ---------- | |
| arr : numpy.ndarray, shape=(...,[x, (...), z]) | |
| The array to slide the window over. | 
  
    
      This file contains hidden or 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
    
  
  
    
  | import torch | |
| from torch import nn | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| torch.manual_seed(2019) | |
| # 超参设置 | |
| TIME_STEP = 10 # RNN时间步长 | |
| INPUT_SIZE = 1 # RNN输入尺寸 | 
  
    
      This file contains hidden or 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
    
  
  
    
  | set encoding=utf-8 | |
| set fileencoding=utf-8 | |
| set nu | |
| set autoindent | |
| set smartindent | |
| set tabstop=4 | |
| set backspace=2 | |
| set showmatch | |
| set ruler | |
| syntax on | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # Clean, simple, compatible and meaningful. | |
| # Tested on Linux, Unix and Windows under ANSI colors. | |
| # It is recommended to use with a dark background. | |
| # Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
| # | |
| # Mar 2013 Yad Smood | |
| # VCS | |
| YS_VCS_PROMPT_PREFIX1=" %{$fg[white]%}%{$reset_color%} " | |
| YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}" | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/bin/bash | |
| ## 计算pdf文件名,参考资料: | |
| # http://www.runoob.com/linux/linux-shell-variable.html | |
| # https://stackoverflow.com/questions/965053/extract-filename-and-extension-in-bash/965072 | |
| # https://stackoverflow.com/questions/965053/extract-filename-and-extension-in-bash | |
| # https://stackoverflow.com/questions/3362920/get-just-the-filename-from-a-path-in-a-bash-script | |
| # 需要安装GhostScript和ImageMagick | |
| pdfname=$1 |