Documentation
¶
Index ¶
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 {
// Linspace splits space between start and stop linearly into num values
Linspace(start, stop float64, num int) ([]float64, error)
// CumSum obtains cumulative sum of input
CumSum(input []float64) ([]float64, error)
// CumProd obtains cumulative product of input
CumProd(input []float64) ([]float64, error)
// FFT obtains discrete fast fourier transform over input
FFT(input []float64) ([]float64, error)
}
Operator defines several operations on float64 data type.
Click to show internal directories.
Click to hide internal directories.