tb

package
v0.0.0-...-1bcdb33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteGraphSummary

func WriteGraphSummary(g *tf.Graph, logDir string) (err error)

WriteGraphSummary takes a graph and writes the summary to the given logDir

Types

type LogOP

type LogOP struct {
	Name   string
	OPfunc func(s *op.Scope, writer tf.Output, tag tf.Output, step tf.Output) (writerOP *tf.Operation)
}

LogOP can be called to create a SummaryWriter for some part of a graph.

func MakeHistLogOP

func MakeHistLogOP(values tf.Output, name string) LogOP

MakeHistLogOP creates a LogOP struct for a HistogramSummary TensorBoard writer.

func MakePlusMinusOneImageLogOP

func MakePlusMinusOneImageLogOP(data tf.Output, name string) LogOP

MakePlusMinusOneImageLogOP creates a LogOP struct for a ImageSummary TensorBoard writer. It assumes that the input is a float 2d tensor between -1 and 1.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL