Skip to content

AxBootstrapFewShot

Class: AxBootstrapFewShot<IN, OUT>

Type Parameters

IN extends AxGenIn = AxGenIn

OUT extends AxGenOut = AxGenOut

Constructors

new AxBootstrapFewShot()

new AxBootstrapFewShot<IN, OUT>(__namedParameters): AxBootstrapFewShot<IN, OUT>

Parameters

__namedParameters: Readonly<AxOptimizerArgs<IN, OUT>>

Returns

AxBootstrapFewShot<IN, OUT>

Defined in

src/ax/dsp/optimize.ts:36

Methods

compile()

compile(metricFn, options?): Promise<AxProgramDemos[]>

Parameters

metricFn: AxMetricFn

options?: Readonly<undefined | object>

Returns

Promise<AxProgramDemos[]>

Defined in

src/ax/dsp/optimize.ts:99