Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.05 KB

explicit_interface.md

File metadata and controls

56 lines (44 loc) · 1.05 KB

Explicit interface

in addition to the standard logging interface, it is possible to log data to TensorBoard using the functions documented below. All the functions take as first argument a TBLogger object and as the second argument a String as the tag under which the data will be logged.

Scalar backend

log_value

Distributions backend

log_histogram
log_vector

Text backend

log_text

Images backend

log_image
log_images

Audio backend

log_audio
log_audios

Embeddings backend

log_embeddings

Custom Scalars plugin

See TensorBoard Custom Scalar page.

For example, to combine in the same plot panel the two curves logged under tags "Curve/1" and "Curve/2" you can run once the command:

layout = Dict("Cat" => Dict("Curve" => (tb_multiline, ["Curve/1", "Curve/2"])))

log_custom_scalar(lg, layout)

See also the documentation below

log_custom_scalar