(svg, tag)
return value
Converts the given str to a text tf.summary.Summary.Value.
Converts the given str to a text tf.summary.Summary.Value.
Converts the given str to a text tf . summary . Summary . Value .
def make_text_summary_value(svg, tag):
  """Converts the given str to a text tf.summary.Summary.Value."""
  svg_proto = tf.make_tensor_proto(svg, tf.string)
  value = tf.summary.Summary.Value(tag=tag, tensor=svg_proto)
  value.metadata.plugin_data.plugin_name = 'text'
  return value
def make_text_summary_value ( svg , tag ) : svg_proto = tf . make_tensor_proto ( svg , tf . string ) value = tf . summary . Summary . Value ( tag = tag , tensor = svg_proto ) value . metadata . plugin_data . plugin_name = 'text' return value