text: import tensorflow as tf
  import numpy as np
  import os
  from tensorflow.python.framework import ops
  import warnings
  
  warnings.filterwarnings("ignore")
  os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
  ops.reset_default_graph()
  
  tensor_3d = np.array([[[0, 1, 2], [3, 4, 5], [6, 7, 8]],
                        [[9, 10, 11], [12, 13, 14], [15, 16, 17]],
                        [[18, 19, 20], [21, 22, 23], [24, 25, 26]]])
  
  tensor_3d = tf.convert_to_tensor(tensor_3d, dtype=tf.float64)
  with tf.Session() as sess:
      print(tensor_3d.get_shape())
      print(sess.run(tensor_3d))
  