LoginSignup
0
0

More than 5 years have passed since last update.

TensorFlow > Tensor Transformations > labels = to_tf.int64(labels)

Last updated at Posted at 2016-10-09

https://www.tensorflow.org/versions/master/tutorials/mnist/tf/index.html#tensorflow-mechanics-101
において出てきた型変換.

Loss
First, the values from the labels_placeholder are converted to 64-bit integers.
...

labels = tf.to_int64(labels)

Tensor Transformations
というらしい。
https://www.tensorflow.org/versions/r0.11/api_docs/python/array_ops.html

0
0
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
0
0