View Source Bumblebee.Featurizer behaviour (Bumblebee v0.3.1)

An interface for configuring and applying featurizers.

A featurizer is used to convert raw data into model input.

Every module implementing this behaviour is expected to also define a configuration struct.

Summary

Callbacks

Performs feature extraction on the given input.

Types

Callbacks

Link to this callback

apply(t, input, defn_options)

View Source
@callback apply(t(), input :: any(), defn_options :: keyword()) :: any()

Performs feature extraction on the given input.