2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Symbolic Tensor(シンボリックテンソル)ってなんだ?

Posted at

経緯

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, and e are symbolic Tensor
| objects, whereas result 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)

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?