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
import theano | |
import theano.tensor as T | |
def sigmoid(x): | |
return 1.0/(1+T.exp(-x)) | |
x = T.vector('x') | |
W = T.matrix('W') | |
#y = T.dot(x,W) | |
y = T.dot(x,W) | |
sf = T.nnet.softmax(y) | |
true_dist = T.ivector('true_dist') |
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
#include <cstdio> | |
#include <cstring> | |
#include <cstdlib> | |
#include <cmath> | |
#include <ctime> | |
#define MAXN 20 | |
#define ETA 0.1 | |
struct Graph{ | |
int tot,Head[MAXN],Pre[MAXN*MAXN],U[MAXN*MAXN],V[MAXN*MAXN]; | |
double W[MAXN*MAXN]; |
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
<html> | |
<head> | |
<script> | |
fReader=new FileReader(); | |
fReader.onload=function(evt){ | |
document.getElementById("viewer").innerHTML=evt.target.result; | |
}; | |
function loadFile(){ | |
var oFile = document.getElementById("loader").files[0]; | |
fReader.readAsText(oFile,"utf-8"); |
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
<script src="http://bartaz.github.io/impress.js/js/impress.js"></script> | |
<script>impress().init();</script> |
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
<div class="hint"> | |
<p>请用方向键控制</p> | |
</div> |
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
<div id="its" class="step" data-x="850" data-y="3000" data-rotate="90" data-scale="5"> | |
<p>这是一个 <strong>presentation tool</strong> <br/> | |
作者从 <a href="http://prezi.com">prezi.com</a> 得到灵感<br/> | |
利用现代浏览器<strong>CSS3 transforms and transitions</strong>的力量</p> | |
</div> |
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
<div id="title" class="step" data-x="0" data-y="0" data-scale="4"> | |
<span>你看到的幻灯片由</span> | |
<h1>impress.js</h1> | |
<span>给你呈现</span> | |
</div> |
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
<div id="page1" class="step slide" data-x="-1000" data-y="-1500"> | |
<q>第一页的幻灯片</q> | |
</div> |
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
<body class="impress-not-supported"> | |
<div class="fallback-message"> | |
<p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p> | |
<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p> | |
</div> |
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
<!doctype html> | |
<html lang="zh-cn"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=1024" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<title>impress.js 尝试</title> | |
<link href="http://fonts.googleapis.com/css?family=Open+Sans:regular,semibold,italic,italicsemibold|PT+Sans:400,700,400italic,700italic|PT+Serif:400,700,400italic,700italic" rel="stylesheet" /> | |
<link href="http://bartaz.github.io/impress.js/css/impress-demo.css" rel="stylesheet" /> |
NewerOlder