Hey! I'm your first Markdown document in StackEdit[^stackedit]. Don't delete me, I'm very helpful! I can be recovered anyway in the Utils tab of the Settings dialog.
Documents
Welcome to StackEdit! | |
=================== | |
Hey! I'm your first Markdown document in **StackEdit**[^stackedit]. Don't delete me, I'm very helpful! I can be recovered anyway in the **Utils** tab of the <i class="icon-cog"></i> **Settings** dialog. | |
---------- | |
Documents |
Transfer Baogang project to KeystoneML and Spark | |
==== | |
Contents | |
-- | |
[TOC] | |
Useful Links | |
-- | |
[KeystoneML Source Code](https://github.com/amplab/keystone) | |
[An KeystoneML Example](https://github.com/amplab/keystone-example) |
This document summarizes some potentially useful papers and code repositories on Sentiment analysis / document classification
"a" should " " in { | |
import com.intel.analytics.bigdl.numeric.NumericFloat | |
val input = Tensor(T(T(0.2f))) | |
val layer = Sequential() | |
.add(Replicate(2, 1, 1)).add(Recurrent().add(RnnCell(1, 1, Tanh(), isInputWithBias = false))) | |
layer.setWeightsBias(Array(Tensor(T(T(0.1f))), Tensor(T(T(-1.2f))), Tensor(T(0.0f)))) | |
val output = layer.forward(input) | |
println(output) | |