Skip to contents

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 metadata object, as created with summary_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().

Methods (by class)

  • summary_text(character): Creates a summary from a scalar character vector.

See also

Examples

temp <- tempfile()
with_logdir(temp, {
  log_event(
    x = "hello world",
    y = summary_text("hello world")
  )
})