light_side.api#

available_archs()[source]#

List of available architectures.

Returns

List of available architectures.

Return type

List[str]

Return type

List[str]

available_models()[source]#

List of available models.

Returns

List of available models.

Return type

list

Return type

list

get_arch_configs(arch)[source]#

List of available configurations for the given architecture.

Parameters

arch (str) – Architecture name.

Returns

List of available configurations.

Return type

List[str]

Return type

List[str]

get_model_latest_version(model)[source]#

Get latest version of the given model.

Parameters

model (str) – Model name.

Returns

Latest version.

Return type

int

Return type

int

get_model_versions(model)[source]#

Get list of available versions for the given model.

Parameters

model (str) – Model name.

Returns

List of available versions.

Return type

list

Return type

list

get_saved_model(model, version)[source]#

Get saved model.

Parameters
  • model (str) – Model name.

  • version (str) – Model version.