MCPcopy Create free account

hub / github.com/Arm-Examples/ML-examples / functions

Functions341 in github.com/Arm-Examples/ML-examples

↓ 1 callersFunctionexport_autoencoder_encoder
(model, output_path, dtype = torch.float)
kleidiai-examples/audiogen/scripts/export_sao.py:101
↓ 1 callersFunctionexport_conditioners
(model, output_path)
kleidiai-examples/audiogen-et/scripts/export_sao.py:36
↓ 1 callersFunctionexport_conditioners
(model, output_path)
kleidiai-examples/audiogen/scripts/export_sao.py:36
↓ 1 callersFunctionexport_dit
(model, output_path)
kleidiai-examples/audiogen-et/scripts/export_sao.py:54
↓ 1 callersFunctionexport_dit
(model, output_path, dtype = torch.float)
kleidiai-examples/audiogen/scripts/export_sao.py:50
↓ 1 callersFunctionfill_sigmas
kleidiai-examples/audiogen-et/app/main.cpp:111
↓ 1 callersFunctionfill_sigmas
kleidiai-examples/audiogen/app/audiogen.cpp:392
↓ 1 callersFunctionfirst_executable_path
Return the first executable path from a candidate list. :param candidates: Candidate paths. :returns: First executable path,
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/discovery.py:231
↓ 1 callersFunctionfvp_path_from_config
Resolve the FVP executable path declared by a runfvp configuration. :param config_path: runfvp ``.fvpconf`` path. :returns:
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/discovery.py:169
↓ 1 callersFunctionget_autoencoder_decoder_example_input
Get example input for the AutoEncoder module.
kleidiai-examples/audiogen-et/scripts/model.py:282
↓ 1 callersFunctionget_autoencoder_decoder_example_input
Get example input for the AutoEncoder module.
kleidiai-examples/audiogen/scripts/model.py:296
↓ 1 callersFunctionget_autoencoder_decoder_module
Get the AutoEncoder module from the AudioGen model.
kleidiai-examples/audiogen-et/scripts/model.py:278
↓ 1 callersFunctionget_autoencoder_decoder_module
Get the AutoEncoder module from the AudioGen model.
kleidiai-examples/audiogen/scripts/model.py:292
↓ 1 callersFunctionget_autoencoder_encoder_example_input
Get example input for the AutoEncoder module.
kleidiai-examples/audiogen/scripts/model.py:327
↓ 1 callersFunctionget_autoencoder_encoder_module
Get the AutoEncoder module from the AudioGen model.
kleidiai-examples/audiogen/scripts/model.py:323
↓ 1 callersFunctionget_conditioners
Load the conditioners module from Stable Audio Open Small model. Args: model: Stable Audio Open Small model. Returns: sao_t5_c
kleidiai-examples/audiogen-et/scripts/model.py:81
↓ 1 callersFunctionget_conditioners
Load the conditioners module from Stable Audio Open Small model. Args: model: Stable Audio Open Small model. Returns: sao_t5_c
kleidiai-examples/audiogen/scripts/model.py:106
↓ 1 callersFunctionget_conditioners_example_input
Provide example input tensors for the AudioGen Conditioners submodule. Args: seconds_total (float): The total seconds for the audio.
kleidiai-examples/audiogen-et/scripts/model.py:216
↓ 1 callersFunctionget_conditioners_example_input
Provide example input tensors for the AudioGen Conditioners submodule. Args: seconds_total (float): The total seconds for the audio.
kleidiai-examples/audiogen/scripts/model.py:240
↓ 1 callersFunctionget_conditioners_module
Wrap both the T5 encoder and seconds_total conditioner in a single module.
kleidiai-examples/audiogen-et/scripts/model.py:202
↓ 1 callersFunctionget_conditioners_module
Wrap both the T5 encoder and seconds_total conditioner in a single module.
kleidiai-examples/audiogen/scripts/model.py:226
↓ 1 callersFunctionget_dit_example_input_mapping
Provide example input tensors for the DiT model as a dictionary. Args: dtype (torch.dtype): The data type for the input tensors. Retur
kleidiai-examples/audiogen-et/scripts/model.py:251
↓ 1 callersFunctionget_dit_example_input_mapping
Provide example input tensors for the DiT model as a dictionary. Args: dtype (torch.dtype): The data type for the input tensors. Retur
kleidiai-examples/audiogen/scripts/model.py:265
↓ 1 callersFunctionget_dit_module
(model, dtype = torch.float32)
kleidiai-examples/audiogen-et/scripts/model.py:271
↓ 1 callersFunctionget_dit_module
(model, dtype = torch.float32)
kleidiai-examples/audiogen/scripts/model.py:285
↓ 1 callersFunctionget_filename
kleidiai-examples/audiogen-et/app/main.cpp:91
↓ 1 callersFunctionget_filename
kleidiai-examples/audiogen/app/audiogen.cpp:111
↓ 1 callersFunctiongreedy_decode
(logits: torch.Tensor, lens: torch.Tensor, sp)
pytorch-conformer-train-quantize/post_training_quantization/ptq_evaluate_conformer_10M.py:123
↓ 1 callersFunctiongreedy_decode
(logits: torch.Tensor, lens: torch.Tensor)
pytorch-conformer-train-quantize/training/train.py:154
↓ 1 callersFunctionint_to_text
(token_ids: list[int], sp)
pytorch-conformer-train-quantize/post_training_quantization/ptq_evaluate_conformer_10M.py:62
↓ 1 callersFunctionint_to_text
(token_ids: list[int])
pytorch-conformer-train-quantize/training/train.py:51
↓ 1 callersFunctionload_model
Load the AudioGen model and its configuration. Either a pretrained model (via `pretrained_name`) or a freshly constructed one (via `model_con
kleidiai-examples/audiogen-et/scripts/model.py:23
↓ 1 callersFunctionload_model
Load the AudioGen model and its configuration. Either a pretrained model (via `pretrained_name`) or a freshly constructed one (via `model_con
kleidiai-examples/audiogen/scripts/model.py:49
↓ 1 callersFunctionmain
Run the command line MMC packaging flow.
ethos-u-corstone-1000/scripts/py/prep_mmc.py:661
↓ 1 callersFunctionmain
Command line entry point.
ethos-u-corstone-1000/scripts/py/setup_model_resources.py:378
↓ 1 callersFunctionmain
Launch the Corstone-1000 FVP for manual use. :param argv: Optional command line arguments without program name. :returns: Proce
ethos-u-corstone-1000/scripts/py/launch_fvp.py:275
↓ 1 callersFunctionmain
Render one target-side FVP CTest script.
ethos-u-corstone-1000/scripts/py/ctest_render_target_script.py:127
↓ 1 callersFunctionmain
Run the requested entrypoint.
ethos-u-corstone-1000/scripts/py/ctest_run_fvp.py:54
↓ 1 callersFunctionmain
()
kleidiai-examples/audiogen-et/scripts/export_sao.py:152
↓ 1 callersFunctionmain
()
kleidiai-examples/audiogen/scripts/export_sao.py:153
↓ 1 callersFunctionmain
()
pytorch-conformer-train-quantize/post_training_quantization/ptq_evaluate_conformer_10M.py:163
↓ 1 callersFunctionmain
()
pytorch-conformer-train-quantize/training/train.py:320
↓ 1 callersFunctionmain
()
pytorch-conformer-train-quantize/training/build_sp_128_librispeech.py:98
↓ 1 callersFunctionmain
()
pytorch-conformer-train-quantize/training/evaluate.py:52
↓ 1 callersFunctionmake_simple_collate_fn
(sp, mel_transform)
pytorch-conformer-train-quantize/post_training_quantization/ptq_evaluate_conformer_10M.py:81
↓ 1 callersFunctionnormalize_text
(text: str, lowercase: bool = False)
pytorch-conformer-train-quantize/training/build_sp_128_librispeech.py:21
↓ 1 callersFunctionpackage_python_library_path
Return the packaged FVP Python library directory for a root. :param root: Packaged FVP root path. :returns: Expected packaged P
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/discovery.py:73
↓ 1 callersFunctionparse_args
()
pytorch-conformer-train-quantize/training/train.py:244
↓ 1 callersFunctionparse_args
()
pytorch-conformer-train-quantize/training/evaluate.py:32
↓ 1 callersFunctionparse_runner_arguments
Parse the runner command line. :param argv: Command line arguments. :param runner_script: Script path used for FVP terminal
ethos-u-corstone-1000/scripts/py/fvp_ctest/config.py:51
↓ 1 callersFunctionplaceholder_panes
Return placeholder pane identifiers for dry-run output. :returns: Placeholder pane configuration.
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/tmux.py:264
↓ 1 callersMethodprepare_app_image
Create the per-test run directory and copy the shared MMC image.
ethos-u-corstone-1000/scripts/py/fvp_ctest/runner.py:35
↓ 1 callersFunctionprepare_encoder_input
kleidiai-examples/audiogen/app/audiogen.cpp:270
↓ 1 callersFunctionread_wav
kleidiai-examples/audiogen/app/audiogen.cpp:169
↓ 1 callersFunctionrecord_port
Record one dynamic FVP terminal port. :param output_file: File to write. :param port: Port reported by the FVP terminal c
ethos-u-corstone-1000/scripts/py/fvp_ctest/launcher.py:40
↓ 1 callersFunctionresolve_command
Resolve a command from an explicit value, fallback path, or ``PATH``. :param explicit: Explicit command name or path. :param fall
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/kas.py:45
↓ 1 callersMethodroute
Route one chunk of normal-world console text. The target-side script emits APP_* markers around the useful test section. Eve
ethos-u-corstone-1000/scripts/py/fvp_ctest/logs.py:59
↓ 1 callersFunctionrun_target_test
Drive root login, execute the target-side test script, and sync. :param normal_port: Normal-world TCP port. :param config:
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:67
↓ 1 callersFunctionsampler_ping_pong
kleidiai-examples/audiogen-et/app/main.cpp:132
↓ 1 callersFunctionsampler_ping_pong
kleidiai-examples/audiogen/app/audiogen.cpp:414
↓ 1 callersFunctionsanitize_log
Remove terminal control sequences from CTest output. :param content: Raw log text. :returns: Sanitized log text.
ethos-u-corstone-1000/scripts/py/fvp_ctest/logs.py:24
↓ 1 callersFunctionsave_as_wav
kleidiai-examples/audiogen-et/app/main.cpp:147
↓ 1 callersFunctionsave_as_wav
kleidiai-examples/audiogen/app/audiogen.cpp:344
↓ 1 callersFunctionsetup_tmux_panes
Create a tmux window with panes for the Corstone-1000 FVP consoles. :returns: Created tmux socket and pane identifiers. :raise
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/tmux.py:165
↓ 1 callersFunctionstart_fvp
Start the FVP with the per-test MMC image attached. :param config: Runner configuration. :param launcher: Resolved FVP launcher
ethos-u-corstone-1000/scripts/py/fvp_ctest/launcher.py:128
↓ 1 callersMethodstart_serial_drains
Wait for FVP terminal ports and start non-login console drains.
ethos-u-corstone-1000/scripts/py/fvp_ctest/runner.py:81
↓ 1 callersFunctionstop_fvp
Stop the FVP process group and close the FVP log handle. :param fvp_process: Running FVP process. :param fvp_log_handle: Open FVP l
ethos-u-corstone-1000/scripts/py/fvp_ctest/launcher.py:160
↓ 1 callersFunctionterminal_command_parameters
Return terminal command overrides without changing telnet start ports. :param terminal_commands: Terminal command callbacks to configure
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/runfvp.py:121
↓ 1 callersFunctionterminal_telnet_parameters
Return dynamic telnet configuration for FVP terminals. :param terminal_commands: Terminal command callbacks to configure. :returns:
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/runfvp.py:64
↓ 1 callersFunctiontext_to_int
(text: str)
pytorch-conformer-train-quantize/training/train.py:45
↓ 1 callersFunctiontmux_socket_from_environment
Return the active tmux socket from ``TMUX``. :returns: tmux socket path. :raises TmuxError: If the current process is not ins
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/tmux.py:148
↓ 1 callersFunctiontrain_sentencepiece
( corpus_path: str, output_dir: str, vocab_size: int, model_type: str, character_coverage:
pytorch-conformer-train-quantize/training/build_sp_128_librispeech.py:50
↓ 1 callersFunctionuser_networking_parameters
Return user-networking model parameters for manual FVP launches. :param ssh_host_port: Host port to forward to target SSH port 22. :
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/runfvp.py:108
↓ 1 callersFunctionvalidate_kas_inputs
Validate the kas fragments needed for manual FVP launch. :param work_dir: Corstone-1000 Yocto workspace path. :raises KasError: If
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/kas.py:94
↓ 1 callersFunctionwrite_top_config
Write the temporary top-level kas configuration. :param work_dir: Corstone-1000 Yocto workspace path. :returns: Temporary k
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/kas.py:138
FunctionApplyInferenceRunnerDefaults
ethos-u-corstone-1000/app/src/use_case/inference_runner/Main.cpp:38
MethodContainsEthosUOperator
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:277
FunctionFillRandomIntegralData
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:36
FunctionFillRandomRealData
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:49
MethodGetInputShape
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:208
MethodGetOutputShape
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:214
MethodGetQuantParams
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:89
MethodImageClassificationApp
ethos-u-corstone-1000/app/src/use_case/image_classification/ImageClassificationApp.cpp:36
MethodInferenceRunner
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:107
MethodIsDataSigned
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:263
MethodIsInited
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:258
MethodObjectDetectionApp
ethos-u-corstone-1000/app/src/use_case/object_detection/ObjectDetectionApp.cpp:78
FunctionRunImageClassification
ethos-u-corstone-1000/app/src/use_case/image_classification/Main.cpp:46
FunctionRunInferenceRunner
ethos-u-corstone-1000/app/src/use_case/inference_runner/Main.cpp:32
FunctionRunObjectDetection
ethos-u-corstone-1000/app/src/use_case/object_detection/Main.cpp:41
MethodTfliteModel
* @brief Create an uninitialized TensorFlow Lite model wrapper. */
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.hpp:47
MethodTfliteTensor
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:25
Method__aenter__
(self)
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:151
Method__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, trace
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:154
Method__call__
(self, waveform: torch.Tensor)
pytorch-conformer-train-quantize/training/train.py:116
Method__init__
(self, config: RunnerConfig)
ethos-u-corstone-1000/scripts/py/fvp_ctest/runner.py:26
Method__init__
( self, reader: Any, writer: Any, logs: ConsoleLogs, test_name: str,
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:138
Method__init__
(self, normal_log, application_log, test_name: str)
ethos-u-corstone-1000/scripts/py/fvp_ctest/logs.py:37
Method__init__
(self, status: int, message: str)
ethos-u-corstone-1000/scripts/py/fvp_ctest/status.py:22
Method__init__
( self, numberConditioner, )
kleidiai-examples/audiogen-et/scripts/model.py:101
← previousnext →201–300 of 341, ranked by callers