Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Arm-Examples/ML-examples
/ functions
Functions
341 in github.com/Arm-Examples/ML-examples
⨍
Functions
341
◇
Types & classes
36
↓ 35 callers
Function
get_litert_value
kleidiai-examples/audiogen/app/audiogen.cpp:141
↓ 17 callers
Function
_die
Log an error message and terminate the process. :param message: Error message to log. :raises SystemExit: Always raised with a faili
ethos-u-corstone-1000/scripts/py/prep_mmc.py:130
↓ 14 callers
Function
get_num_elems
kleidiai-examples/audiogen/app/audiogen.cpp:150
↓ 13 callers
Function
safe_resolve
Resolve a path without requiring the final path to exist. :param path: Path to normalize. :returns: Absolute normalized path.
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/discovery.py:53
↓ 9 callers
Function
_die
Log an error message and terminate the process. :param message: Error message to log. :raises SystemExit: Always raised with a faili
ethos-u-corstone-1000/scripts/py/launch_fvp.py:142
↓ 8 callers
Method
GetNumInputs
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:220
↓ 8 callers
Function
_write_text
Write a text file, creating parent directories first. :param path: Destination path. :param content: File content.
ethos-u-corstone-1000/scripts/py/tests/test_corstone1000_fvp.py:44
↓ 8 callers
Function
model_parameter
Return one ``-C`` model parameter argument pair. :param key: Model parameter name. :param value: Model parameter value. :retur
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/runfvp.py:40
↓ 8 callers
Function
time_in_ms
kleidiai-examples/audiogen/app/audiogen.cpp:85
↓ 7 callers
Function
GetCliOptionName
ethos-u-corstone-1000/app/src/common/CliOptionSpecs.cpp:180
↓ 7 callers
Method
GetInputTensor
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:187
↓ 7 callers
Method
Shape
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:76
↓ 7 callers
Function
_format_size
Format a file size using binary units. :param size_bytes: File size in bytes. :returns: Human-readable file size.
ethos-u-corstone-1000/scripts/py/prep_mmc.py:356
↓ 7 callers
Function
_run
Run a host command and optionally allow non-zero exit status. :param command: Command argument vector. :param quiet: S
ethos-u-corstone-1000/scripts/py/prep_mmc.py:262
↓ 7 callers
Function
die
Print an error message and exit with a failing status. :param message: Error message. :raises SystemExit: Always raised with failing
ethos-u-corstone-1000/scripts/py/fvp_ctest/status.py:39
↓ 6 callers
Method
flush
Flush pending stream-routing text to the active log.
ethos-u-corstone-1000/scripts/py/fvp_ctest/logs.py:47
↓ 6 callers
Function
get_tensor_dims
kleidiai-examples/audiogen-et/app/main.cpp:188
↓ 6 callers
Method
run
Run one FVP-backed CTest. :returns: Process status.
ethos-u-corstone-1000/scripts/py/fvp_ctest/runner.py:148
↓ 6 callers
Function
time_in_ms
kleidiai-examples/audiogen-et/app/main.cpp:66
↓ 5 callers
Method
GetNumOutputs
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:225
↓ 5 callers
Method
GetOutputTensor
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:195
↓ 5 callers
Method
Run
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:193
↓ 5 callers
Function
SupportsOption
ethos-u-corstone-1000/app/src/common/CliOptionSpecs.cpp:175
↓ 5 callers
Method
Type
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:49
↓ 5 callers
Function
_write_executable
Write a minimal executable file. :param path: Destination path.
ethos-u-corstone-1000/scripts/py/tests/test_corstone1000_fvp.py:55
↓ 5 callers
Method
send_line
Send one command line to the target shell. :param line: Command line without trailing carriage return.
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:165
↓ 5 callers
Function
workspace_config_path
Return the default workspace-generated runfvp configuration path. :param work_dir: Corstone-1000 Yocto workspace path. :returns:
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/discovery.py:63
↓ 4 callers
Method
Bytes
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:33
↓ 4 callers
Function
LoadLabels
ethos-u-corstone-1000/app/src/use_case/image_classification/ImageClassificationApp.cpp:55
↓ 4 callers
Function
ReadLe32
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:41
↓ 4 callers
Function
ReadPpmToken
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:54
↓ 4 callers
Method
RunInference
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:300
↓ 4 callers
Function
WriteModelOutputsToFile
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:282
↓ 4 callers
Function
_create_workspace
Create a fake Corstone-1000 workspace. :param root: Workspace root path. :returns: Fake FVP executable path.
ethos-u-corstone-1000/scripts/py/tests/test_corstone1000_fvp.py:65
↓ 4 callers
Function
_require_tmux_success
Raise ``TmuxError`` if a tmux command failed. :param process: Completed tmux process. :param action: Human-readable action desc
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/tmux.py:135
↓ 4 callers
Function
_run_tmux
Run one tmux command. :param socket: tmux socket path. :param arguments: tmux command arguments after ``tmux -S <socket>``. :
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/tmux.py:114
↓ 4 callers
Function
configure_logging
Configure lightweight console logging for local helper scripts.
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/util.py:31
↓ 4 callers
Method
expect_prompt
Wait for the root shell prompt. :param status: Base status for timeout and disconnect failures.
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:230
↓ 4 callers
Method
forward
( self, input_ids: torch.Tensor, attention_mask: torch.Tensor, seconds_total:
kleidiai-examples/audiogen-et/scripts/model.py:149
↓ 3 callers
Function
CommonCliOptionIds
ethos-u-corstone-1000/app/src/common/CliOptionSpecs.cpp:156
↓ 3 callers
Function
FillModelInputsFromBinaryFile
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:250
↓ 3 callers
Method
Init
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:38
↓ 3 callers
Function
ReadLe16
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:35
↓ 3 callers
Function
RunCommandLineApp
ethos-u-corstone-1000/app/src/common/AppRunner.cpp:29
↓ 3 callers
Function
TestDataPath
ethos-u-corstone-1000/app/tests/use_case/image_classification/ImageClassificationAppTests.cpp:36
↓ 3 callers
Function
ToTfliteBackendOptions
ethos-u-corstone-1000/app/src/common/RunnerOptions.cpp:134
↓ 3 callers
Method
__init__
( self, sao_t5_cond: torch.nn.Module, sao_seconds_total_cond: torch.nn.Module,
kleidiai-examples/audiogen/scripts/model.py:155
↓ 3 callers
Function
_log_command_output
Log captured subprocess output to the matching log levels. :param result: Completed subprocess result with text output.
ethos-u-corstone-1000/scripts/py/prep_mmc.py:240
↓ 3 callers
Function
_record_port_command
Build the FVP terminal callback command for dynamic port recording. :param config: Runner configuration. :param port_file: Port f
ethos-u-corstone-1000/scripts/py/fvp_ctest/launcher.py:67
↓ 3 callers
Function
_require_command
Require a host command to be discoverable on PATH. :param command: Command name to locate.
ethos-u-corstone-1000/scripts/py/prep_mmc.py:252
↓ 3 callers
Function
_resolve_file_specs
Resolve exact file paths and expand glob patterns. :param specs: File paths or glob patterns to resolve. :param image_dir: Targe
ethos-u-corstone-1000/scripts/py/prep_mmc.py:383
↓ 3 callers
Function
create_cpu_options
kleidiai-examples/audiogen/app/audiogen.cpp:160
↓ 3 callers
Function
dry_run
kleidiai-examples/audiogen-et/app/main.cpp:201
↓ 3 callers
Function
export
(args)
kleidiai-examples/audiogen/scripts/export_sao.py:120
↓ 3 callers
Function
get_num_elems
kleidiai-examples/audiogen-et/app/main.cpp:193
↓ 3 callers
Method
wait_for_terminal_port_file
Wait until one FVP terminal callback records a TCP port. :param port_file: Port file path. :returns: Recorded TC
ethos-u-corstone-1000/scripts/py/fvp_ctest/runner.py:56
↓ 2 callers
Method
AddInput
ethos-u-corstone-1000/app/src/common/RunnerOptions.cpp:43
↓ 2 callers
Method
GetData
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:27
↓ 2 callers
Function
GetImageTensorChannels
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:236
↓ 2 callers
Function
GetImageTensorRowsCols
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:218
↓ 2 callers
Method
GetNumElements
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:39
↓ 2 callers
Method
LogTensorInfo
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:230
↓ 2 callers
Function
PmuStrToInt
ethos-u-corstone-1000/app/src/common/CliOptions.cpp:43
↓ 2 callers
Function
ReadImageFile
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:213
↓ 2 callers
Function
ReadLeS32
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:49
↓ 2 callers
Method
RunOne
ethos-u-corstone-1000/app/src/use_case/object_detection/ObjectDetectionApp.cpp:207
↓ 2 callers
Method
RunOne
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:157
↓ 2 callers
Method
RunOne
ethos-u-corstone-1000/app/src/use_case/image_classification/ImageClassificationApp.cpp:157
↓ 2 callers
Method
RunRandom
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:175
↓ 2 callers
Function
ShowHelp
ethos-u-corstone-1000/app/src/common/CliOptions.cpp:122
↓ 2 callers
Function
ValidateOutputTensor
ethos-u-corstone-1000/app/src/use_case/object_detection/ObjectDetectionApp.cpp:60
↓ 2 callers
Method
__init__
( self, sao_t5_cond: torch.nn.Module, sao_seconds_total_cond: torch.nn.Module,
kleidiai-examples/audiogen-et/scripts/model.py:130
↓ 2 callers
Function
_collate_common
(batch, preprocessor, include_text: bool)
pytorch-conformer-train-quantize/training/train.py:163
↓ 2 callers
Function
_die
Log an error message and terminate the process. :param message: Error message to log. :raises SystemExit: Always raised with a faili
ethos-u-corstone-1000/scripts/py/ctest_render_target_script.py:79
↓ 2 callers
Function
_format_command
Format a command for diagnostic output. :param command: Command argument vector. :returns: Shell-escaped command text.
ethos-u-corstone-1000/scripts/py/prep_mmc.py:230
↓ 2 callers
Function
_get_total_file_size_bytes
Get the total size of all source files to package. :param files_by_dir: Source files grouped by target-side directory. :returns:
ethos-u-corstone-1000/scripts/py/prep_mmc.py:480
↓ 2 callers
Function
_parse_image_size_bytes
Parse an MMC image size string into bytes. :param image_size: Size text using bytes or a K/M/G/KiB/MiB/GiB suffix. :returns:
ethos-u-corstone-1000/scripts/py/prep_mmc.py:326
↓ 2 callers
Method
_read_chunk
Read one chunk from the target console. :param timeout: Read timeout in seconds. :param timeout_status: Sta
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:177
↓ 2 callers
Function
_resolve_file_paths
Resolve explicit file paths. :param paths: File paths to resolve. :returns: Resolved file paths.
ethos-u-corstone-1000/scripts/py/prep_mmc.py:407
↓ 2 callers
Function
build_ctest_runfvp_command
Build the non-interactive CTest ``runfvp`` command line. :param launcher: Resolved FVP launcher paths. :param mmc_image:
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/runfvp.py:84
↓ 2 callers
Function
collate_eval_factory
(preprocessor: AudioPreprocessor)
pytorch-conformer-train-quantize/training/train.py:192
↓ 2 callers
Function
common_model_parameters
Return model parameters shared by manual and CTest launches. :param mmc_image: MMC image to attach to the FVP. :returns: Com
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/runfvp.py:51
↓ 2 callers
Function
create_jinja_environment
Create a strict Jinja2 environment for project helper templates. :param templates_dir: Template directory. :param filters:
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/util.py:36
↓ 2 callers
Function
create_model
(vocab_size)
pytorch-conformer-train-quantize/training/train.py:133
↓ 2 callers
Function
detect_launcher
Detect a packaged Corstone-1000 FVP root or Yocto workspace. :param explicit_root: Optional root path to check before defaults. :r
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/discovery.py:110
↓ 2 callers
Function
drain_serial_port
Drain one FVP serial port to a log file. :param port: TCP port to connect to. :param log_file: Destination log file.
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:43
↓ 2 callers
Function
evaluate
Return (WER %, mean validation loss).
pytorch-conformer-train-quantize/training/train.py:197
↓ 2 callers
Function
evaluate_model
(model, dataloader, sp)
pytorch-conformer-train-quantize/post_training_quantization/ptq_evaluate_conformer_10M.py:132
↓ 2 callers
Method
expect_literal
Wait for literal text in the console stream. :param literal: Text to wait for. :param timeout: Timeout in seconds. :
ethos-u-corstone-1000/scripts/py/fvp_ctest/console.py:202
↓ 2 callers
Function
fill_random_norm_dist
kleidiai-examples/audiogen-et/app/main.cpp:102
↓ 2 callers
Function
fill_random_norm_dist
kleidiai-examples/audiogen/app/audiogen.cpp:383
↓ 2 callers
Function
force_t5_conditioner_float32
Force the wrapped T5 conditioner into float32, including hidden modules. Args: t5_cond: The T5 conditioner module to be converted to floa
kleidiai-examples/audiogen/scripts/model.py:26
↓ 2 callers
Function
meta_arm_path
Return the meta-arm repository path for a workspace. :param work_dir: Corstone-1000 Yocto workspace path. :returns: meta-ar
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/kas.py:84
↓ 2 callers
Function
pane_terminal_commands
Build FVP terminal command overrides for pre-created tmux panes. :param panes: tmux panes to receive terminal connections. :returns:
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/tmux.py:278
↓ 2 callers
Function
print_usage
kleidiai-examples/audiogen-et/app/main.cpp:72
↓ 2 callers
Function
print_usage
kleidiai-examples/audiogen/app/audiogen.cpp:91
↓ 2 callers
Function
render_top_config
Render the temporary top-level kas configuration. :param work_dir: Corstone-1000 Yocto workspace path. :returns: Rendered k
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/kas.py:123
↓ 2 callers
Function
resolve_fvp_executable
Resolve the Corstone-1000 FVP executable path. :param explicit_path: Explicit executable path from CLI or environment. :param work_dir
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/discovery.py:247
↓ 2 callers
Function
skip_prerequisite
Print a prerequisite message and exit with the configured CTest skip code. :param message: Missing prerequisite message. :raises Sys
ethos-u-corstone-1000/scripts/py/fvp_ctest/status.py:28
↓ 2 callers
Function
tmux_path
Resolve the tmux executable path. :returns: tmux executable path. :raises TmuxError: If tmux is not available on ``PATH``.
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/tmux.py:53
next →
1–100 of 341, ranked by callers