README ¶ mean Overview Description average of an array - axis of matrix can be selected Implementation details Input Data - []float32 or [][]floar32 Optional=False Params Axis - int : 0=vertical/column, 1=horizontal/row Optional=True Default=0 OutputType - [array of floats] Compliance to Spec Rough level of compliance 100% Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func New(ctx operation.InitContext) (operation.Operation, error) type Input func (i *Input) FromMap(values map[string]interface{}) error type Operation func (operation *Operation) Eval(inputs map[string]interface{}) (interface{}, error) type Params Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(ctx operation.InitContext) (operation.Operation, error) Types ¶ type Input ¶ type Input struct { Data interface{} `md:"data"` // contains filtered or unexported fields } func (*Input) FromMap ¶ func (i *Input) FromMap(values map[string]interface{}) error type Operation ¶ type Operation struct { // contains filtered or unexported fields } func (*Operation) Eval ¶ func (operation *Operation) Eval(inputs map[string]interface{}) (interface{}, error) type Params ¶ type Params struct { Axis int `md:"axis"` } Source Files ¶ View all Source files metadata.go operation.go Click to show internal directories. Click to hide internal directories.