Skip to content

Instantly share code, notes, and snippets.

import tensorflow as tf
mnist = tf.keras.datasets.mnist
(x_train, y_train), (x_test, y_test) = mnist.load_data()
x_train, x_test = x_train /255.0, x_test / 255.0
model = tf.keras.models.Sequential([
tf.keras.layers.Flatten(input_shape=(28, 28)),
@akail
akail / TBZ48.xml
Created September 7, 2017 23:19
OpenZWave config for my Thermostat
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- COMMAND_CLASS_ASSOCIATION. This class is in the list reported by the thermostat, but it does not respond to requests -->
<CommandClass id="133" name="COMMAND_CLASS_ASSOCIATION" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
<Associations num_groups="1">
<Group index="1" max_associations="5" label="Group 1" >
<Node id="1" />
</Group>
</Associations>