code: def make_completion_masks(pianorolls, outer_masks=1.0):
      pianorolls = tf.to_float(pianorolls)
      masks = tf.reduce_all(
          tf.equal(pianorolls, 0), axis=2, keep_dims=True
      )
      inner_masks = tf.to_float(masks) + 0 * pianorolls
      return inner_masks * outer_masks
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import time
  from magenta.models.coconet import lib_graph
  from magenta.models.coconet import lib_hparams
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: make_completion_masks(pianorolls, outer_masks) and returns: unknown