Linux Ubuntu 2016.
- 1080 GTX
- SDK 8.0
- CuDNN 5.1
ulimit -c unlimited| """TensorFlow 2.0 implementation of vanilla Autoencoder.""" | |
| import numpy as np | |
| import tensorflow as tf | |
| __author__ = "Abien Fred Agarap" | |
| np.random.seed(1) | |
| tf.random.set_seed(1) | |
| batch_size = 128 | |
| epochs = 10 |
Author: Chris Lattner
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
| #coding=utf8 | |
| import itchat | |
| # tuling plugin can be get here: | |
| # https://github.com/littlecodersh/EasierLife/tree/master/Plugins/Tuling | |
| from tuling import get_response | |
| @itchat.msg_register('Text') | |
| def text_reply(msg): | |
| if u'作者' in msg['Text'] or u'主人' in msg['Text']: | |
| return u'你可以在这里了解他:https://github.com/littlecodersh' |
| /* | |
| * Sample API with GET and POST endpoint. | |
| * POST data is converted to string and saved in internal memory. | |
| * GET endpoint returns all strings in an array. | |
| */ | |
| package main | |
| import ( | |
| "encoding/json" | |
| "flag" |
| package main | |
| // Generate RSA signing files via shell (adjust as needed): | |
| // | |
| // $ openssl genrsa -out app.rsa 1024 | |
| // $ openssl rsa -in app.rsa -pubout > app.rsa.pub | |
| // | |
| // Code borrowed and modified from the following sources: | |
| // https://www.youtube.com/watch?v=dgJFeqeXVKw | |
| // https://goo.gl/ofVjK4 |
| package main | |
| import ( | |
| "fmt" | |
| "labix.org/v2/mgo" | |
| "labix.org/v2/mgo/bson" | |
| "time" | |
| ) | |
| type Person struct { |
| ### nvm installation | |
| $ curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh | |
| ### run script | |
| $ bash install_nvm.sh | |
| $ source ~/.profile | |
| $ nvm ls | |
| $ nvm install 6.10.2 | |
| ### set default node |