summary_scalar {tfevents}R Documentation

Scalar event

Description

Scalar event

Usage

summary_scalar(value, ..., metadata = NULL, tag = NA)

Arguments

value

A numeric scalar value to be logged.

...

Currently unused. To allow future expansion.

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 ⁠<scalar_event>⁠ object.

See Also

Other summary: summary_audio(), summary_histogram(), summary_image(), summary_text()

Examples

temp <- tempfile()
with_logdir(temp, {
  log_event(loss = summary_scalar(1))
})

[Package tfevents version 0.0.3 Index]