Documentation ¶
Index ¶
- type Op
- func (op *Op) Max(input []float64) (float64, error)
- func (op *Op) Mean(input []float64) (float64, error)
- func (op *Op) Min(input []float64) (float64, error)
- func (op *Op) Prod(input []float64) (float64, error)
- func (op *Op) Std(input []float64) (float64, error)
- func (op *Op) Sum(input []float64) (float64, error)
- type Operator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Op ¶
Op is the operator for TF interface.
func NewOperator ¶
func NewOperator(options *tf.SessionOptions) (*Op, error)
NewOperator provides an instance of new operator for interfacing with TF.
type Operator ¶
type Operator interface { Min(x []float64) (float64, error) Max(x []float64) (float64, error) Mean(x []float64) (float64, error) Std(x []float64) (float64, error) Sum(x []float64) (float64, error) Prod(x []float64) (float64, error) }
Operator defines several stats operations on float64 slice.
Click to show internal directories.
Click to hide internal directories.