Skip to main content

Neuralyzer::TensorDesign::DesignPresetRegistry

Neuralyzer::TensorDesign::DesignPresetRegistry

#include <DesignPresetRegistry.hpp>

Public Functions

Name
bool registerPreset(DesignPresetDescriptor descriptor)
DesignPresetDescriptor const * find(std::string const & id) const
std::optional< DesignPresetExpansion > expand(std::string const & id, DesignPresetArgs const & args) const
std::optional< DesignPresetExpansion > expandJson(std::string const & id, nlohmann::json const & parameters) const
std::vector< DesignPresetDescriptor const * > descriptors() const

Public Functions Documentation

function registerPreset

bool registerPreset(
    DesignPresetDescriptor descriptor
)

function find

DesignPresetDescriptor const * find(
    std::string const & id
) const

function expand

std::optional< DesignPresetExpansion > expand(
    std::string const & id,
    DesignPresetArgs const & args
) const

function expandJson

std::optional< DesignPresetExpansion > expandJson(
    std::string const & id,
    nlohmann::json const & parameters
) const

function descriptors

std::vector< DesignPresetDescriptor const * > descriptors() const

Updated on 2026-11-13 at 20:25:41 +0000