SYMBOL INDEX (320 symbols across 37 files) FILE: extras/generate_test_model.py class AudioUtils (line 9) | class AudioUtils(nn_tilde.Module): method __init__ (line 11) | def __init__(self): method thru (line 96) | def thru(self, x: torch.Tensor): method invert (line 101) | def invert(self, x: torch.Tensor): method add (line 108) | def add(self, x: torch.Tensor): method fractalize (line 112) | def fractalize(self, x: torch.Tensor): method polynomial (line 119) | def polynomial(self, x: torch.Tensor): method saturate (line 126) | def saturate(self, x: torch.Tensor): method midside (line 134) | def midside(self, x: torch.Tensor): method rms (line 139) | def rms(self, x: torch.Tensor): method get_gain_factor (line 147) | def get_gain_factor(self) -> float: method get_polynomial_factors (line 151) | def get_polynomial_factors(self) -> List[float]: method get_saturate_mode (line 158) | def get_saturate_mode(self) -> str: method get_invert_signal (line 162) | def get_invert_signal(self) -> bool: method get_fractal (line 166) | def get_fractal(self) -> Tuple[int, float]: method set_gain_factor (line 174) | def set_gain_factor(self, x: float) -> int: method set_polynomial_factors (line 179) | def set_polynomial_factors(self, factor1: float, factor2: float, method set_saturate_mode (line 186) | def set_saturate_mode(self, x: str): method set_invert_signal (line 194) | def set_invert_signal(self, x: bool): method set_fractal (line 199) | def set_fractal(self, factor: int, amount: float): FILE: install/dylib_fix.py function is_executable (line 26) | def is_executable(file_path): function extract_rpaths (line 49) | def extract_rpaths(executable_path, replace_dynamic_paths = True): function get_library_name (line 80) | def get_library_name(libname): function get_dependencies (line 84) | def get_dependencies(filepath, dir_filter=[], lib_filter=[], rpath=None): function get_architectures (line 116) | def get_architectures(file_path): function get_find_results (line 132) | def get_find_results(directory, pattern): function find_candidates_for (line 149) | def find_candidates_for(lib_name, lib_dir, lib_arch, allow_different_arc... function find_most_relevant_dylib_candidate (line 181) | def find_most_relevant_dylib_candidate(name, candidates, accept_weak_mat... function clean_rpath_for_target_executable (line 215) | def clean_rpath_for_target_executable(lib_path): function most_relevant_lib (line 223) | def most_relevant_lib(lib_name, path_dicts, dep_paths=[], arch="arm64"): function lib_from_exc_path (line 251) | def lib_from_exc_path(exc_path, lib_path): function parse_actions_from_executable (line 260) | def parse_actions_from_executable(exec_path, dep_paths=[], main_dir = No... function perform_action (line 327) | def perform_action(action, main_dir): function print_action (line 392) | def print_action(idx, action): FILE: python_tools/buffer.py class Buffer (line 4) | class Buffer(): method __init__ (line 8) | def __init__(self, tensor: Optional[torch.Tensor] = None, method check_bounds (line 20) | def check_bounds(self, x: torch.Tensor) -> bool: method from_buffer (line 28) | def from_buffer(self, buffer: "Buffer"): method copy (line 32) | def copy(buffer: "Buffer"): method set_value (line 37) | def set_value(self, x: torch.Tensor, sr: int | float | None = None) ->... method shape (line 49) | def shape(self) -> List[int]: method has_value (line 56) | def has_value(self) -> bool: method get_value (line 59) | def get_value(self) -> torch.Tensor: method init_value (line 62) | def init_value(self) -> None: method to_str (line 65) | def to_str(self) -> str: FILE: python_tools/codegen.py class TmpFileSession (line 7) | class TmpFileSession(object): method __init__ (line 8) | def __init__(self, obj): method get (line 10) | def get(self): method close (line 15) | def close(self): function tmp_file_session (line 23) | def tmp_file_session(obj): function method_from_template (line 27) | def method_from_template(file_session: TmpFileSession, template: str, gl... FILE: python_tools/module.py class Module (line 16) | class Module(torch.nn.Module): method __init__ (line 18) | def __init__(self, sr: int | None = None) -> None: method register_method (line 27) | def register_method( method register_attribute (line 140) | def register_attribute(self, attribute_name: str, method get_methods (line 178) | def get_methods(self): method get_attributes (line 182) | def get_attributes(self) -> List[str]: method export_to_ts (line 185) | def export_to_ts(self, path): method get_buffer_attributes (line 192) | def get_buffer_attributes(self) -> List[str]: method is_buffer_empty (line 199) | def is_buffer_empty(self, buffer_name: str) -> bool: method get_sample_rate (line 213) | def get_sample_rate(self) -> int: method set_sample_rate (line 227) | def set_sample_rate(self, sample_rate: int | None) -> None: method __prepare_scriptable__ (line 232) | def __prepare_scriptable__(self): method finish (line 237) | def finish(self): method _build_buffer_attribute_methods (line 242) | def _build_buffer_attribute_methods(self): method _build_missing_attribute_callbacks (line 267) | def _build_missing_attribute_callbacks(self): method __del__ (line 291) | def __del__(self): FILE: python_tools/templates/attributes.py function _get_sig_type (line 7) | def _get_sig_type(param): function get_attribute_setter (line 19) | def get_attribute_setter(attribute_name, attribute_params): function get_attribute_getter (line 34) | def get_attribute_getter(attribute_name, attribute_params): FILE: python_tools/templates/buffers.py function set_buffer_attribute_template (line 3) | def set_buffer_attribute_template(buffer_names): function clear_buffer_attribute_template (line 17) | def clear_buffer_attribute_template(buffer_names): function is_buffer_empty_template (line 30) | def is_buffer_empty_template(buffer_names): FILE: python_tools/test/test_attributes.py class AttributeFoo (line 13) | class AttributeFoo(Module): method __init__ (line 14) | def __init__(self): method forward (line 24) | def forward(self, x: torch.Tensor): class ListAttributeFoo (line 31) | class ListAttributeFoo(Module): method __init__ (line 32) | def __init__(self, n: int, attribute_type: type): method forward (line 43) | def forward(self, x): function _default (line 49) | def _default(attr_hash: int): class TensorAttributeFoo (line 62) | class TensorAttributeFoo(Module): method __init__ (line 63) | def __init__(self): method forward (line 70) | def forward(self, x: torch.Tensor): function test_attributes (line 78) | def test_attributes(module_class, out_dir, test_name): function test_list_attributes (line 94) | def test_list_attributes(n, attr_type, module_class, out_dir, test_name): function test_list_attributes (line 107) | def test_list_attributes(n, attr_type, module_class, out_dir, test_name): function test_tensor_attributes (line 117) | def test_tensor_attributes(module_class, out_dir, test_name): FILE: python_tools/test/test_buffers.py class BufferFoo (line 12) | class BufferFoo(Module): method __init__ (line 14) | def __init__(self, test_method: bool = False): method get_loudness (line 22) | def get_loudness(self, x: torch.Tensor) -> float: method loudness (line 26) | def loudness(self, x: torch.Tensor): method shape (line 35) | def shape(self, x: torch.Tensor): method get_sr (line 51) | def get_sr(self, x: torch.Tensor): function test_buffer_attributes (line 64) | def test_buffer_attributes(module_class, out_dir, test_name): function test_scripted_buffer_attributes (line 75) | def test_scripted_buffer_attributes(module_class, out_dir, test_name): FILE: python_tools/test/utils.py function out_dir (line 9) | def out_dir() -> Path: function test_name (line 16) | def test_name(request): function import_code (line 19) | def import_code(code, glob, loc): FILE: scripting/effects.py class AudioUtils (line 16) | class AudioUtils(nn_tilde.Module): method __init__ (line 18) | def __init__(self): method thru (line 103) | def thru(self, x: torch.Tensor): method invert (line 108) | def invert(self, x: torch.Tensor): method add (line 115) | def add(self, x: torch.Tensor): method fractalize (line 119) | def fractalize(self, x: torch.Tensor): method polynomial (line 126) | def polynomial(self, x: torch.Tensor): method saturate (line 133) | def saturate(self, x: torch.Tensor): method midside (line 141) | def midside(self, x: torch.Tensor): method rms (line 146) | def rms(self, x: torch.Tensor): method get_gain_factor (line 154) | def get_gain_factor(self) -> float: method get_polynomial_factors (line 158) | def get_polynomial_factors(self) -> List[float]: method get_saturate_mode (line 165) | def get_saturate_mode(self) -> str: method get_invert_signal (line 169) | def get_invert_signal(self) -> bool: method get_fractal (line 173) | def get_fractal(self) -> Tuple[int, float]: method set_gain_factor (line 181) | def set_gain_factor(self, x: float) -> int: method set_polynomial_factors (line 186) | def set_polynomial_factors(self, factor1: float, factor2: float, method set_saturate_mode (line 193) | def set_saturate_mode(self, x: str): method set_invert_signal (line 201) | def set_invert_signal(self, x: bool): method set_fractal (line 206) | def set_fractal(self, factor: int, amount: float): FILE: scripting/features.py class AudioFeatures (line 21) | class AudioFeatures(nn_tilde.Module): method __init__ (line 23) | def __init__(self, method _compute_spectrogram (line 91) | def _compute_spectrogram(self, x: torch.Tensor): method rms (line 107) | def rms(self, x: torch.Tensor): method centroid (line 113) | def centroid(self, x: torch.Tensor): method bandwidth (line 126) | def bandwidth(self, x: torch.Tensor, amin: float = 1e-10, power: float... method flatness (line 145) | def flatness(self, x: torch.Tensor, amin: float = 1e-10, power: float ... method get_sr (line 158) | def get_sr(self) -> int: method set_sr (line 166) | def set_sr(self, x: int) -> int: FILE: scripting/unmix.py class Unmix (line 23) | class Unmix(nn_tilde.Module): method __init__ (line 25) | def __init__(self, method forward (line 44) | def forward(self, input: torch.Tensor): method get_sr (line 55) | def get_sr(self) -> int: method set_sr (line 63) | def set_sr(self, x: int) -> int: function preprocess (line 67) | def preprocess( FILE: src/backend/backend.cpp function tensor_to_str (line 17) | std::string tensor_to_str(torch::Tensor &tsr) { function ModelInfo (line 567) | ModelInfo Backend::get_model_info() { FILE: src/backend/backend.h type MethodProperties (line 11) | struct MethodProperties { type AttributeProperties (line 19) | struct AttributeProperties { type ModelInfo (line 24) | struct ModelInfo { type LockedModel (line 31) | struct LockedModel { function class (line 37) | class Backend { FILE: src/backend/parsing_utils.cpp function to_bool (line 3) | bool to_bool(std::string str) { function to_int (line 11) | int to_int(std::string str) { return stoi(str); } function to_float (line 13) | float to_float(std::string str) { return stof(str); } FILE: src/frontend/maxmsp/mc.nn_tilde/mc.nn_tilde.cpp function model_perform (line 6) | void model_perform(nn_class* nn_instance) { function model_perform_async (line 22) | void model_perform_async(nn_class* nn_instance) { class mc_nn (line 71) | class mc_nn: public nn_base> { method get_external_name (line 79) | static std::string get_external_name() { return "mc.nn~";} method mc_nn (line 80) | mc_nn(const atoms &args = {}) { method get_sample_rate (line 84) | int get_sample_rate() override { method init_external (line 88) | void init_external(const atoms &args) override { method init_buffers_at_init (line 109) | bool init_buffers_at_init() override { return true; } function simplemc_multichanneloutputs (line 359) | long simplemc_multichanneloutputs(c74::max::t_object *x, long index, function simplemc_inputchanged (line 365) | long simplemc_inputchanged(c74::max::t_object *x, long index, long count) { FILE: src/frontend/maxmsp/mcs.nn_tilde/mcs.nn_tilde.cpp function model_perform (line 6) | void model_perform(nn_class* nn_instance) { function model_perform_async (line 22) | void model_perform_async(nn_class* nn_instance) { class mcs_nn (line 71) | class mcs_nn: public nn_base> { method get_external_name (line 79) | static std::string get_external_name() { return "mcs.nn~";} method mcs_nn (line 80) | mcs_nn(const atoms &args = {}) { method get_sample_rate (line 84) | int get_sample_rate() override { method init_external (line 88) | void init_external(const atoms &args) override { method n_mc_inputs (line 104) | int n_mc_inputs() { method update_out_channels (line 119) | void update_out_channels() { function simplemc_multichanneloutputs (line 446) | long simplemc_multichanneloutputs(c74::max::t_object *x, long index, function simplemc_inputchanged (line 452) | long simplemc_inputchanged(c74::max::t_object *x, long index, long count) { FILE: src/frontend/maxmsp/nn.info/nn.info.cpp class nn_info (line 18) | class nn_info : public object, public vector_operator<> { method perform (line 59) | void perform(audio_bundle input, audio_bundle output) {} function bang_callback (line 102) | message<> bang_callback{ function dump_callback (line 111) | message<> dump_callback{ function set_model_callback (line 119) | message<> set_model_callback{ function get_path_callback (line 131) | message<> get_path_callback { function get_methods_callback (line 139) | message<> get_methods_callback { function get_attributes_callback (line 147) | message<> get_attributes_callback { function get_params_callback (line 156) | message<> get_params_callback { function get_dict_callback (line 176) | message<> get_dict_callback { function get_models_callback (line 185) | message<> get_models_callback { function download_models (line 194) | message <> download_models { function delete_models (line 221) | message <> delete_models { FILE: src/frontend/maxmsp/nn_tilde/nn_tilde.cpp function model_perform (line 5) | void model_perform(nn_class* nn_instance) { function model_perform_async (line 22) | void model_perform_async(nn_class *nn_instance) { class nn (line 67) | class nn: public nn_base> { method get_external_name (line 75) | static std::string get_external_name() { method nn (line 78) | nn(const atoms &args = {}) { method get_sample_rate (line 82) | int get_sample_rate() override { method init_process (line 86) | void init_process() override { method init_external (line 93) | void init_external(const atoms &args) override { FILE: src/frontend/maxmsp/shared/array_tools.h function namespace (line 10) | namespace ArrayTools { FILE: src/frontend/maxmsp/shared/buffer_tools.h function class (line 7) | class BufferManager { function get_buffer_index (line 52) | int BufferManager::get_buffer_index(std::vector buffer_attr... function link_attribute_to_buffer (line 63) | void BufferManager::link_attribute_to_buffer(std::string buffer_name, c7... function append_if_buffer_element (line 72) | void BufferManager::append_if_buffer_element(Backend *model, Backend::Bu... function bind_buffer_attribute (line 127) | int BufferManager::bind_buffer_attribute(Backend *backend, std::string e... function unbind_buffer_attribute (line 156) | int BufferManager::unbind_buffer_attribute(Backend *backend, std::string... function modify_buffer_attribute (line 180) | int BufferManager::modify_buffer_attribute(Backend *backend, std::string... function init_buffer_list (line 231) | void BufferManager::init_buffer_list(Backend *backend, c74::min::object_... FILE: src/frontend/maxmsp/shared/dict_utils.h function namespace (line 6) | namespace nn_tools { function json_walk (line 55) | void json_walk(max::t_dictionary* dict, nlohmann::json json) { function else (line 63) | else if (val.is_number_float()) { function else (line 65) | else if (val.is_string()) { function else (line 67) | else if (val.is_array()) { FILE: src/frontend/maxmsp/shared/max_model_download.h function class (line 26) | class MaxModelDownloader: public ModelDownloader { function print_to_parent (line 82) | void MaxModelDownloader::print_to_parent(const std::string &message, con... function fill_dict (line 88) | void MaxModelDownloader::fill_dict(void* dict_to_fill) { FILE: src/frontend/maxmsp/shared/nn_base.h function power_ceil (line 47) | unsigned power_ceil(unsigned x) { function std (line 70) | static std::string get_external_name() { return ""; } function virtual (line 83) | virtual void init_external(const atoms &args) { function virtual (line 96) | virtual bool init_buffers_at_init() { return true; } function can_perform (line 111) | bool can_perform() { function virtual (line 141) | virtual void perform(audio_bundle input, audio_bundle output) { } FILE: src/frontend/puredata/nn_tilde/nn_tilde.cpp function get_executable_path (line 47) | std::string get_executable_path() function get_executable_path (line 68) | std::string get_executable_path() function get_executable_path (line 79) | std::string get_executable_path() function power_ceil (line 101) | unsigned power_ceil(unsigned x) type _nn_tilde (line 113) | struct _nn_tilde class PdErrorCatcher (line 152) | class PdErrorCatcher method PdErrorCatcher (line 159) | PdErrorCatcher(t_nn_tilde *obj) : x(obj) function model_perform (line 177) | void model_perform(t_nn_tilde *x) function t_int (line 192) | t_int *nn_tilde_perform(t_int *w) function nn_tilde_dsp (line 238) | void nn_tilde_dsp(t_nn_tilde *x, t_signal **sp) function nn_tilde_free (line 277) | void nn_tilde_free(t_nn_tilde *x) function resolve_file_path (line 283) | std::string resolve_file_path(t_nn_tilde *x, const char *filename) function create_buffers (line 316) | void create_buffers(t_nn_tilde *x, int in_dim, int out_dim) function nn_tilde_update_model_params (line 348) | bool nn_tilde_update_model_params(t_nn_tilde *x, t_symbol *method) function nn_tilde_load_model (line 409) | bool nn_tilde_load_model(t_nn_tilde *x, const char *path) function nn_tilde_bang (line 455) | void nn_tilde_bang(t_nn_tilde *x) function nn_tilde_method (line 623) | void nn_tilde_method(t_nn_tilde *x, t_symbol *s) function nn_tilde_bufsize (line 641) | void nn_tilde_bufsize(t_nn_tilde *x, t_floatarg size) function nn_tilde_load (line 672) | void nn_tilde_load(t_nn_tilde *x, t_symbol *s) function nn_tilde_gpu (line 695) | void nn_tilde_gpu(t_nn_tilde *x, t_floatarg arg) function nn_tilde_enable (line 718) | void nn_tilde_enable(t_nn_tilde *x, t_floatarg arg) { x->m_enabled = (bo... function nn_tilde_reload (line 719) | void nn_tilde_reload(t_nn_tilde *x) { x->m_model->reload(); } function nn_tilde_set (line 721) | void nn_tilde_set(t_nn_tilde *x, t_symbol *s, int argc, t_atom *argv) function nn_tilde_available_models (line 778) | void nn_tilde_available_models(t_nn_tilde *x) function nn_tilde_download (line 807) | void nn_tilde_download(t_nn_tilde *x, t_symbol *s, int argc, t_atom *argv) function nn_tilde_remove (line 848) | void nn_tilde_remove(t_nn_tilde *x, t_symbol *s) function startup_message (line 865) | void startup_message() function EXPORT (line 884) | EXPORT void nn_tilde_setup(void) FILE: src/frontend/puredata/shared/pd_model_download.h function print_to_parent (line 23) | void print_to_parent(const std::string &message, const std::string &cana... function fill_dict (line 72) | void fill_dict(void *dict_to_fill) override FILE: src/patchers/latent_remote/M4L.latent_remote.js function make_presentation_layout (line 29) | function make_presentation_layout() { function sliders (line 48) | function sliders(n_sliders) { function max_columns (line 114) | function max_columns(n_columns) { function update_patching_rect (line 124) | function update_patching_rect() { function slider_check_size (line 136) | function slider_check_size() { function clear (line 146) | function clear() { function faders (line 155) | function faders() { function faders_all (line 165) | function faders_all() { function fader (line 176) | function fader() { function dump_all (line 187) | function dump_all() { FILE: src/patchers/latent_remote/latent_remote.js function make_presentation_layout (line 29) | function make_presentation_layout() { function sliders (line 48) | function sliders(n_sliders) { function max_columns (line 114) | function max_columns(n_columns) { function update_patching_rect (line 124) | function update_patching_rect() { function slider_check_size (line 136) | function slider_check_size() { function clear (line 146) | function clear() { function faders (line 155) | function faders() { function faders_all (line 165) | function faders_all() { function fader (line 176) | function fader() { function dump_all (line 187) | function dump_all() { FILE: src/shared/circular_buffer.h function max_size (line 14) | size_t max_size() { return _max_size; } FILE: src/shared/model_download.h function JSONWriteCallback (line 21) | size_t JSONWriteCallback(void* contents, size_t size, size_t nmemb, std:... function ModelWriteCallback (line 27) | size_t ModelWriteCallback(void* ptr, size_t size, size_t nmemb, FILE* st... function is_file_empty (line 31) | bool is_file_empty(const fs::path filePath) { function class (line 42) | class ModelDownloader { function has_valid_certificate (line 120) | bool ModelDownloader::has_valid_certificate() { function init_downloader (line 140) | int ModelDownloader::init_downloader(bool force_refresh) { function is_ready (line 150) | bool ModelDownloader::is_ready() { function update_available_models (line 158) | bool ModelDownloader::update_available_models() { function reload (line 189) | void ModelDownloader::reload() { function create_path (line 204) | bool ModelDownloader::create_path(const fs::path& path) { FILE: src/shared/static_buffer.h function BufferShape (line 42) | BufferShape dims () { function sr (line 46) | double sr() { return _samplingRate; } function BufferData (line 48) | static BufferData get_empty_buffer(const size_t dim1, const size_t dim2) { function clear (line 52) | void clear() { function reset (line 56) | void reset() { function at (line 65) | float& at(const size_t dim1, const size_t dim2) { function put (line 69) | void put(data_type data, const size_t dim1, const size_t dim2) { FILE: src/source/attributes.py class AttributeFoo (line 12) | class AttributeFoo(nn_tilde.Module): method __init__ (line 13) | def __init__(self): method set_attr_enum (line 26) | def set_attr_enum(self, animal: str) -> int: method set_attr_list (line 35) | def set_attr_list(self, val1: int, val2: str, val3: float, val4: bool): method forward (line 42) | def forward(self, x: torch.Tensor): FILE: src/source/buffers.py class BufferFoo (line 12) | class BufferFoo(nn_tilde.Module): method __init__ (line 14) | def __init__(self, test_method: bool = False): method get_loudness (line 24) | def get_loudness(self, x: torch.Tensor) -> float: method loudness (line 28) | def loudness(self, x: torch.Tensor): method shape (line 37) | def shape(self, x: torch.Tensor): method get_sr (line 53) | def get_sr(self, x: torch.Tensor): FILE: src/source/effects.py class AudioUtils (line 15) | class AudioUtils(nn_tilde.Module): method __init__ (line 17) | def __init__(self): method thru (line 102) | def thru(self, x: torch.Tensor): method invert (line 107) | def invert(self, x: torch.Tensor): method add (line 114) | def add(self, x: torch.Tensor): method fractalize (line 118) | def fractalize(self, x: torch.Tensor): method polynomial (line 125) | def polynomial(self, x: torch.Tensor): method saturate (line 132) | def saturate(self, x: torch.Tensor): method midside (line 140) | def midside(self, x: torch.Tensor): method rms (line 145) | def rms(self, x: torch.Tensor): method get_gain_factor (line 153) | def get_gain_factor(self) -> float: method get_polynomial_factors (line 157) | def get_polynomial_factors(self) -> List[float]: method get_saturate_mode (line 164) | def get_saturate_mode(self) -> str: method get_invert_signal (line 168) | def get_invert_signal(self) -> bool: method get_fractal (line 172) | def get_fractal(self) -> Tuple[int, float]: method set_gain_factor (line 180) | def set_gain_factor(self, x: float) -> int: method set_polynomial_factors (line 185) | def set_polynomial_factors(self, factor1: float, factor2: float, method set_saturate_mode (line 192) | def set_saturate_mode(self, x: str): method set_invert_signal (line 200) | def set_invert_signal(self, x: bool): method set_fractal (line 205) | def set_fractal(self, factor: int, amount: float): FILE: src/source/features.py class AudioFeatures (line 27) | class AudioFeatures(nn_tilde.Module): method __init__ (line 29) | def __init__(self, method _compute_spectrogram (line 97) | def _compute_spectrogram(self, x: torch.Tensor): method rms (line 113) | def rms(self, x: torch.Tensor): method centroid (line 119) | def centroid(self, x: torch.Tensor): method bandwidth (line 132) | def bandwidth(self, x: torch.Tensor, amin: float = 1e-10, power: float... method flatness (line 151) | def flatness(self, x: torch.Tensor, amin: float = 1e-10, power: float ... FILE: src/source/unmix.py class Unmix (line 23) | class Unmix(nn_tilde.Module): method __init__ (line 25) | def __init__(self, method forward (line 44) | def forward(self, input: torch.Tensor): method get_sr (line 55) | def get_sr(self) -> int: method set_sr (line 63) | def set_sr(self, x: int) -> int: function preprocess (line 67) | def preprocess(