Run in the project virtualenv:
$ pip3 install Sphinx
Run in docs/ folder.
CC=g++ | |
CCFLAGS=-Wall -Wextra -ansi -pedantic -std=c++11 | |
CUDD=/usr/local/CUDD/cudd-3.0.0 | |
INCLUDE=-I$(CUDD)/cudd -I$(CUDD)/cplusplus | |
LIBS=$(CUDD)/cudd/.libs/libcudd.a | |
cudd: main.o | |
$(CC) -o $@ $^ $(LIBS) |
import os | |
from setuptools import setup, find_packages | |
def read(filename): | |
filepath = os.path.join(os.path.dirname(__file__), filename) | |
file = open(filepath, 'r') | |
return file.read() | |
import matplotlib | |
# http://phyletica.org/matplotlib-fonts/ | |
matplotlib.rcParams['pdf.fonttype'] = 42 | |
matplotlib.rcParams['ps.fonttype'] = 42 | |
matplotlib.rcParams['text.usetex'] = True | |
# https://nerdjusttyped.blogspot.com/2010/07/type-1-fonts-and-matplotlib-figures.html | |
matplotlib.rcParams['ps.useafm'] = True | |
matplotlib.rcParams['pdf.use14corefonts'] = True |
import os
os.environ['CUDA_VISIBLE_DEVICES'] = '-1' # ignore GPUs
tf.Tensor
objects (to avoid building new graphs and unnecessary retracing)tf.TensorArray
tf.TensorSpec(shape=..., dtype=...)
in input_signature
to avoid proliferation of graphs