def text_summary(tag, text):
plugin_data = [SummaryMetadata.PluginData(plugin_name='<STR_LIT:text>')]<EOL>smd = SummaryMetadata(plugin_data=plugin_data)<EOL>tensor = TensorProto(dtype='<STR_LIT>',<EOL>string_val=[text.encode(encoding='<STR_LIT>')],<EOL>tensor_shape=TensorShapeProto(dim=[TensorShapeProto.Dim(size=<NUM_LIT:1>)]))<EOL>return Summary(value=[Summary.Value(tag=tag, metadata=smd, tensor=tensor)])<EOL>
Outputs a `Summary` protocol buffer with audio data.

    Parameters
    ----------
        tag : str
            A name for the generated summary. Will also serve as a series name in TensorBoard.
        text : str
            Text data.

    Returns
    -------
        A `Summary` protobuf of the audio data.