30.11.2020: Updated with the new patchseries and instructions for Windows
02.12.2020: Added tweaks
08.12.2020: Updated with patchseries v4
31.01.2020: Updated with patchseries v6
import sys | |
import struct | |
import binascii | |
from collections import Counter | |
def u16(b): | |
return struct.unpack('<H', b)[0] | |
def p16(x): | |
return struct.pack('<H', x) | |
def p32(x): |
diff --git a/tensorflow/core/framework/variant.h b/tensorflow/core/framework/variant.h | |
index c02391dae3..7f76609814 100644 | |
--- a/tensorflow/core/framework/variant.h | |
+++ b/tensorflow/core/framework/variant.h | |
@@ -152,7 +152,8 @@ bool DecodeVariant(const string& buf, T* value); | |
// | |
class Variant { | |
public: | |
- constexpr Variant() noexcept = default; | |
+// constexpr Variant() noexcept = default; |
import matplotlib.pyplot as plt | |
def draw_neural_net(ax, left, right, bottom, top, layer_sizes): | |
''' | |
Draw a neural network cartoon using matplotilb. | |
:usage: | |
>>> fig = plt.figure(figsize=(12, 12)) | |
>>> draw_neural_net(fig.gca(), .1, .9, .1, .9, [4, 7, 2]) | |