code: def create_padding_mask(seq):
      seq = tf.cast(tf.math.equal(seq, 0), tf.float32)
      return seq[:, tf.newaxis, tf.newaxis, :]
  
imports: import numpy
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: create_padding_mask(seq) and returns: seq