Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClassSettings ¶
func NewClassSettings(cfg moduletools.ClassConfig) *classSettings
Types ¶
type ClassSettings ¶
type Vectorizer ¶
type Vectorizer struct {
// contains filtered or unexported fields
}
func New ¶
func New(client Client) *Vectorizer
func (*Vectorizer) Object ¶
func (v *Vectorizer) Object(ctx context.Context, object *models.Object, comp moduletools.VectorizablePropsComparator, cfg moduletools.ClassConfig, ) ([]float32, models.AdditionalProperties, error)
func (*Vectorizer) VectorizeImage ¶
func (v *Vectorizer) VectorizeImage(ctx context.Context, id, image string, cfg moduletools.ClassConfig) ([]float32, error)
Click to show internal directories.
Click to hide internal directories.