MCPcopy Create free account

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

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

↓ 35 callersFunctionget_litert_value
kleidiai-examples/audiogen/app/audiogen.cpp:141
↓ 17 callersFunction_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 callersFunctionget_num_elems
kleidiai-examples/audiogen/app/audiogen.cpp:150
↓ 13 callersFunctionsafe_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 callersFunction_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 callersMethodGetNumInputs
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:220
↓ 8 callersFunction_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 callersFunctionmodel_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 callersFunctiontime_in_ms
kleidiai-examples/audiogen/app/audiogen.cpp:85
↓ 7 callersFunctionGetCliOptionName
ethos-u-corstone-1000/app/src/common/CliOptionSpecs.cpp:180
↓ 7 callersMethodGetInputTensor
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:187
↓ 7 callersMethodShape
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:76
↓ 7 callersFunction_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 callersFunction_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 callersFunctiondie
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 callersMethodflush
Flush pending stream-routing text to the active log.
ethos-u-corstone-1000/scripts/py/fvp_ctest/logs.py:47
↓ 6 callersFunctionget_tensor_dims
kleidiai-examples/audiogen-et/app/main.cpp:188
↓ 6 callersMethodrun
Run one FVP-backed CTest. :returns: Process status.
ethos-u-corstone-1000/scripts/py/fvp_ctest/runner.py:148
↓ 6 callersFunctiontime_in_ms
kleidiai-examples/audiogen-et/app/main.cpp:66
↓ 5 callersMethodGetNumOutputs
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:225
↓ 5 callersMethodGetOutputTensor
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:195
↓ 5 callersMethodRun
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:193
↓ 5 callersFunctionSupportsOption
ethos-u-corstone-1000/app/src/common/CliOptionSpecs.cpp:175
↓ 5 callersMethodType
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:49
↓ 5 callersFunction_write_executable
Write a minimal executable file. :param path: Destination path.
ethos-u-corstone-1000/scripts/py/tests/test_corstone1000_fvp.py:55
↓ 5 callersMethodsend_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 callersFunctionworkspace_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 callersMethodBytes
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:33
↓ 4 callersFunctionLoadLabels
ethos-u-corstone-1000/app/src/use_case/image_classification/ImageClassificationApp.cpp:55
↓ 4 callersFunctionReadLe32
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:41
↓ 4 callersFunctionReadPpmToken
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:54
↓ 4 callersMethodRunInference
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:300
↓ 4 callersFunctionWriteModelOutputsToFile
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:282
↓ 4 callersFunction_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 callersFunction_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 callersFunction_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 callersFunctionconfigure_logging
Configure lightweight console logging for local helper scripts.
ethos-u-corstone-1000/scripts/py/corstone1000_fvp/util.py:31
↓ 4 callersMethodexpect_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 callersMethodforward
( self, input_ids: torch.Tensor, attention_mask: torch.Tensor, seconds_total:
kleidiai-examples/audiogen-et/scripts/model.py:149
↓ 3 callersFunctionCommonCliOptionIds
ethos-u-corstone-1000/app/src/common/CliOptionSpecs.cpp:156
↓ 3 callersFunctionFillModelInputsFromBinaryFile
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:250
↓ 3 callersMethodInit
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:38
↓ 3 callersFunctionReadLe16
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:35
↓ 3 callersFunctionRunCommandLineApp
ethos-u-corstone-1000/app/src/common/AppRunner.cpp:29
↓ 3 callersFunctionTestDataPath
ethos-u-corstone-1000/app/tests/use_case/image_classification/ImageClassificationAppTests.cpp:36
↓ 3 callersFunctionToTfliteBackendOptions
ethos-u-corstone-1000/app/src/common/RunnerOptions.cpp:134
↓ 3 callersMethod__init__
( self, sao_t5_cond: torch.nn.Module, sao_seconds_total_cond: torch.nn.Module,
kleidiai-examples/audiogen/scripts/model.py:155
↓ 3 callersFunction_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 callersFunction_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 callersFunction_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 callersFunction_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 callersFunctioncreate_cpu_options
kleidiai-examples/audiogen/app/audiogen.cpp:160
↓ 3 callersFunctiondry_run
kleidiai-examples/audiogen-et/app/main.cpp:201
↓ 3 callersFunctionexport
(args)
kleidiai-examples/audiogen/scripts/export_sao.py:120
↓ 3 callersFunctionget_num_elems
kleidiai-examples/audiogen-et/app/main.cpp:193
↓ 3 callersMethodwait_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 callersMethodAddInput
ethos-u-corstone-1000/app/src/common/RunnerOptions.cpp:43
↓ 2 callersMethodGetData
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:27
↓ 2 callersFunctionGetImageTensorChannels
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:236
↓ 2 callersFunctionGetImageTensorRowsCols
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:218
↓ 2 callersMethodGetNumElements
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteTensor.cpp:39
↓ 2 callersMethodLogTensorInfo
ethos-u-corstone-1000/app/src/fwk/tflite/TfliteModel.cpp:230
↓ 2 callersFunctionPmuStrToInt
ethos-u-corstone-1000/app/src/common/CliOptions.cpp:43
↓ 2 callersFunctionReadImageFile
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:213
↓ 2 callersFunctionReadLeS32
ethos-u-corstone-1000/app/src/common/InputUtils.cpp:49
↓ 2 callersMethodRunOne
ethos-u-corstone-1000/app/src/use_case/object_detection/ObjectDetectionApp.cpp:207
↓ 2 callersMethodRunOne
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:157
↓ 2 callersMethodRunOne
ethos-u-corstone-1000/app/src/use_case/image_classification/ImageClassificationApp.cpp:157
↓ 2 callersMethodRunRandom
ethos-u-corstone-1000/app/src/use_case/inference_runner/InferenceRunner.cpp:175
↓ 2 callersFunctionShowHelp
ethos-u-corstone-1000/app/src/common/CliOptions.cpp:122
↓ 2 callersFunctionValidateOutputTensor
ethos-u-corstone-1000/app/src/use_case/object_detection/ObjectDetectionApp.cpp:60
↓ 2 callersMethod__init__
( self, sao_t5_cond: torch.nn.Module, sao_seconds_total_cond: torch.nn.Module,
kleidiai-examples/audiogen-et/scripts/model.py:130
↓ 2 callersFunction_collate_common
(batch, preprocessor, include_text: bool)
pytorch-conformer-train-quantize/training/train.py:163
↓ 2 callersFunction_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 callersFunction_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 callersFunction_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 callersFunction_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 callersMethod_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 callersFunction_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 callersFunctionbuild_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 callersFunctioncollate_eval_factory
(preprocessor: AudioPreprocessor)
pytorch-conformer-train-quantize/training/train.py:192
↓ 2 callersFunctioncommon_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 callersFunctioncreate_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 callersFunctioncreate_model
(vocab_size)
pytorch-conformer-train-quantize/training/train.py:133
↓ 2 callersFunctiondetect_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 callersFunctiondrain_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 callersFunctionevaluate
Return (WER %, mean validation loss).
pytorch-conformer-train-quantize/training/train.py:197
↓ 2 callersFunctionevaluate_model
(model, dataloader, sp)
pytorch-conformer-train-quantize/post_training_quantization/ptq_evaluate_conformer_10M.py:132
↓ 2 callersMethodexpect_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 callersFunctionfill_random_norm_dist
kleidiai-examples/audiogen-et/app/main.cpp:102
↓ 2 callersFunctionfill_random_norm_dist
kleidiai-examples/audiogen/app/audiogen.cpp:383
↓ 2 callersFunctionforce_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 callersFunctionmeta_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 callersFunctionpane_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 callersFunctionprint_usage
kleidiai-examples/audiogen-et/app/main.cpp:72
↓ 2 callersFunctionprint_usage
kleidiai-examples/audiogen/app/audiogen.cpp:91
↓ 2 callersFunctionrender_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 callersFunctionresolve_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 callersFunctionskip_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 callersFunctiontmux_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