Skip to content

Instantly share code, notes, and snippets.

View psyyz10's full-sized avatar

Yao Zhang psyyz10

View GitHub Profile
"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)
@psyyz10
psyyz10 / KeystoneML
Last active July 14, 2016 00:54
Transfer Baogang project to KeystoneML and Spark
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)
@psyyz10
psyyz10 / hellow.md
Created June 29, 2016 03:23
Hello!

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 Settings dialog.


Documents

@psyyz10
psyyz10 / hello
Created June 29, 2016 03:19
Hello!
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