code: def shaped_uint8(string, shape):
      vector = tf.constant([int(c) for c in string], dtype=tf.uint8)
      return tf.reshape(vector, shape)
  
imports: import tensorflow
  from tensorflow_compression.python.datasets import y4m_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: shaped_uint8(string, shape) and returns: tf