Documentation ¶
Overview ¶
Package state contains objects for holding and manipulating the state of a physical model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meter ¶
type Meter struct {
// contains filtered or unexported fields
}
Meter is a tensor with units of Meters.
type SinkFunc ¶
SinkFunc represents a function that does something with the result of the State computation.
type State ¶
type State struct {
// contains filtered or unexported fields
}
State holds the state of the model and the computational graph that operates on it.
func (*State) AddSink ¶
AddSink registers a function that does something with the results of the State computation, for example saving them to a file.
func (*State) New2DFloat32 ¶
New2DFloat32 creates a new static tensor from the input.
func (*State) NewScalarFloat32 ¶
NewScalarFloat32 creates a new static tensor from the input.
Click to show internal directories.
Click to hide internal directories.