Tinkex.API.Weights (Tinkex v0.3.1)
View SourceWeight management endpoints.
Uses :training pool for weight operations.
Summary
Functions
Load model weights.
Load model weights with a typed response.
Save model weights.
Save weights for sampler.
Save weights for sampler with typed response.
Save model weights with a typed response.
Functions
@spec load_weights( map(), keyword() ) :: {:ok, map()} | {:error, Tinkex.Error.t()}
Load model weights.
@spec load_weights_typed( map(), keyword() ) :: {:ok, Tinkex.Types.LoadWeightsResponse.t()} | {:error, Tinkex.Error.t()}
Load model weights with a typed response.
@spec save_weights( map(), keyword() ) :: {:ok, map()} | {:error, Tinkex.Error.t()}
Save model weights.
@spec save_weights_for_sampler( map(), keyword() ) :: {:ok, map()} | {:error, Tinkex.Error.t()}
Save weights for sampler.
@spec save_weights_for_sampler_typed( map(), keyword() ) :: {:ok, Tinkex.Types.SaveWeightsForSamplerResponse.t()} | {:error, Tinkex.Error.t()}
Save weights for sampler with typed response.
@spec save_weights_typed( map(), keyword() ) :: {:ok, Tinkex.Types.SaveWeightsResponse.t()} | {:error, Tinkex.Error.t()}
Save model weights with a typed response.