G?ron, A. (2017). Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems.?O’Reilly Media [Amazon]
returns a context manager that makes this tf.Graph the default graph.
If you create a new thread, and wish to use the default graph in that thread, you must explicitly add a with g.as_default(): in that thread’s function.
tf.concat
Used to concatenate tensors along?a specific axis.
tf.truncated_normal
return a Tensor whose elements are randomly initialized following a normal distribution you set.
tf.matmul(a, b)
returns the result of matrix multiplication between two Tensor?a and b.
tf.nn.softmax(
logits,
dim=-1,
name=None
)
returns a?Tensor?that has the same type as logits.