summary_text {tfevents}R Documentation

Creates a text summary

Description

Creates a text summary

Usage

summary_text(txt, ..., metadata = NULL, tag = NA)

## S3 method for class '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)

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")
  )
})

[Package tfevents version 0.0.3 Index]