Documentation ¶
Overview ¶
Package model specifies the interface of a probabilistc model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropGradient ¶ added in v0.7.0
func DropGradient(m Model)
DropGradient can be called instead of Gradient when the gradient is not required. For automaticall differentated models DropGradient will pop the frame from the tape; for elemental models it will do nothing.
Types ¶
type ElementalModel ¶ added in v0.7.0
An elemental model uses a supplied gradient instead of automatic differentation.
Click to show internal directories.
Click to hide internal directories.