framework tensorflow check code example
Example 1: tensorflow version check
import tensorflow as tf
print(tf.__version__)
Example 2: check tensor type tensorflow
>>> x = tf.Variable(tf.random_normal([256, 100]))
>>> x.dtype
<dtype: 'float32_ref'>