def placeholder(self, name, type_name):
    """(DEPRECATED) An NQL encoding of a Tensorflow placeholder.

    The placehold will be configured to hold weighted sets of entities of the
    appropriate type.

    Args:
      name: the name to give to the placeholder
      type_name: a string naming a type

    Returns:
      A NeuralQueryExpression.
    """
    provenance = NQExprProvenance(
        operation='placeholder', args=(type_name, name))
    value = tf.compat.v1.placeholder(
        tf.float32, shape=[None, self.get_max_id(type_name)], name=name)
    return self.as_nql(value, type_name, provenance)
(DEPRECATED) An NQL encoding of a Tensorflow placeholder.

    The placehold will be configured to hold weighted sets of entities of the
    appropriate type.

    Args:
      name: the name to give to the placeholder
      type_name: a string naming a type

    Returns:
      A NeuralQueryExpression.
    
language/nql/nql/__init__.py