経緯
https://keras.io/backend/
上記のサイトを見ていて「symbolic tensor」という言葉が出てきた。いまいち意味が分からないので自分なりにまとめてみようと思い書いた。
Tensorとは
A tensor is a generalization of scalars, vectors, and matrices to an arbitrary number of indices.
引用:https://www.wolframalpha.com/input/?i=tensor
要はベクトルやスカラー、行列などのこと
symbolic Tensorとは
In the following example,
c
,d
, ande
are symbolicTensor
| objects, whereasresult
is a numpy array that stores a concrete
| value:
|
| ```python
| # Build a dataflow graph.
| c = tf.constant([[1.0, 2.0], [3.0, 4.0]])
| d = tf.constant([[1.0, 1.0], [0.0, 1.0]])
| e = tf.matmul(c, d)
引用:pythonで
help(model.output)