Creates a text summary
Usage
summary_text(txt, ..., metadata = NULL, tag = NA)
# S3 method for character
summary_text(txt, ..., metadata = NULL, tag = NA)Arguments
- txt
An object that can be converted to a text.
- ...
Currently unused.
- metadata
A
metadataobject, as created withsummary_metadata(). In most cases you don't need to change the default.- tag
A tag that within the TensorBoard UI. See
log_event()for other ways of specifying the tag attribute.
Value
A summary that can be logged with log_event().
See also
Other summary:
summary_audio(),
summary_histogram(),
summary_image(),
summary_scalar()
Examples
temp <- tempfile()
with_logdir(temp, {
log_event(
x = "hello world",
y = summary_text("hello world")
)
})