MCPcopy Create free account

hub / github.com/harvard-edge/cs249r_book / functions

Functions13,553 in github.com/harvard-edge/cs249r_book

↓ 5 callersMethodto_dict
Flattens the ledger into a simple dictionary for JSON/UI consumption.
mlsysim/mlsysim/sim/ledger.py:67
↓ 5 callersFunctiontraining_memory_breakdown
Estimate training memory from weights, gradients, optimizer state, and activations.
labs/mlsysbook_labs/edge.py:230
↓ 5 callersFunctionupdateCloneAttributes
(clone, prompt, type, title='')
socratiq/src_shadow/js/libs/utils/utils.js:509
↓ 5 callersMethodupdateKapootQuizDisplay
* Update quiz display in chat * @param {Object} quiz - Quiz object
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:12239
↓ 5 callersMethodupdateKapootQuizDisplay
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 5 callersFunctionupdateSelection
()
socratiq/src_shadow/js/components/highlight_menu/context-button.js:167
↓ 5 callersFunctionupsertSession
(session: DebugRunSession)
book/vscode-ext/src/utils/parallelDebug.ts:123
↓ 5 callersFunctionv1_03_part_header
(part, concept, question, color)
labs/vol1/lab_03_ml_workflow.py:493
↓ 5 callersFunctionv1_04_fields_html
(fields)
labs/vol1/lab_04_data_engr.py:233
↓ 5 callersFunctionv1_04_table_html
(headers, rows, *, numeric=())
labs/vol1/lab_04_data_engr.py:241
↓ 5 callersFunctionv1_05_fields_html
(fields)
labs/vol1/lab_05_nn_compute.py:131
↓ 5 callersFunctionv1_06_fields_html
(items)
labs/vol1/lab_06_nn_arch.py:131
↓ 5 callersFunctionv1_09_table
(headers, rows)
labs/vol1/lab_09_data_selection.py:668
↓ 5 callersFunctionv1_10_part_banner
(letter: str, title: str, why: str, color: str, duration: str = "10-12 min")
labs/vol1/lab_10_model_compress.py:501
↓ 5 callersFunctionv1_11_memory_result
(mode, batch, workspace_kb)
labs/vol1/lab_11_hw_accel.py:296
↓ 5 callersFunctionv1_11_precision_result
(dimension, precision)
labs/vol1/lab_11_hw_accel.py:349
↓ 5 callersFunctionv1_11_roofline_result
(dimension, precision)
labs/vol1/lab_11_hw_accel.py:278
↓ 5 callersFunctionv1_11_table
(headers, rows)
labs/vol1/lab_11_hw_accel.py:768
↓ 5 callersFunctionv1_12_html_table
(rows, columns)
labs/vol1/lab_12_perf_bench.py:257
↓ 5 callersFunctionv1_13_html_table
(headers, rows)
labs/vol1/lab_13_model_serving.py:258
↓ 5 callersFunctionv2_01_section_header
(letter, title, concept)
labs/vol2/lab_01_introduction.py:778
↓ 5 callersFunctionv2_02_candidate_rows
(packet, part_a, part_b, placement, role_emphasis)
labs/vol2/lab_02_compute_infra.py:329
↓ 5 callersFunctionv2_02_select_row
(rows, selected_id)
labs/vol2/lab_02_compute_infra.py:570
↓ 5 callersFunctionv2_04_fields_html
(fields)
labs/vol2/lab_04_data_storage.py:130
↓ 5 callersFunctionv2_07_policy_result
(policy_id=None)
labs/vol2/lab_07_fault_tolerance.py:733
↓ 5 callersFunctionv2_08_evaluate_policy
(packet, key, util_target_pct, fairness_floor_pct, starvation_guard_h, queue_result, priority_result, placemen
labs/vol2/lab_08_fleet_orch.py:551
↓ 5 callersFunctionv2_09_optimization_label
(lever)
labs/vol2/lab_09_perf_engineering.py:121
↓ 5 callersFunctionv2_10_binding_constraint
(memory_ok, slo_ok, cost_ok, quality_ok)
labs/vol2/lab_10_inference.py:321
↓ 5 callersFunctionv2_10_phase_label
(phase)
labs/vol2/lab_10_inference.py:205
↓ 5 callersFunctionv2_10_policy_multiplier
(track_id, policy)
labs/vol2/lab_10_inference.py:247
↓ 5 callersFunctionv2_10_reveal_card
(title, prediction, actual, detail, kind="info")
labs/vol2/lab_10_inference.py:410
↓ 5 callersFunctionv2_10_serving_latency_ms
(track_id, slo_ms, policy, utilization, oom=False)
labs/vol2/lab_10_inference.py:306
↓ 5 callersFunctionv2_11_intermittency_result
(track_id, duty_pct, connectivity_pct, windows_per_day, target)
labs/vol2/lab_11_edge_intelligence.py:334
↓ 5 callersFunctionv2_14_failure_card
(active, title, detail, recovery)
labs/vol2/lab_14_robust_ai.py:777
↓ 5 callersFunctionv2_14_policy_result
(track_id, policy_id, strictness_pct, residual_case, shift_result, budget_result, defense_result, variant)
labs/vol2/lab_14_robust_ai.py:543
↓ 5 callersFunctionv2_14_reveal_card
(title, prediction, actual, detail, kind="info")
labs/vol2/lab_14_robust_ai.py:756
↓ 5 callersFunctionv2_15_part_b_result
(packet, workload_mult, utilization_pct, region_id, schedule_id)
labs/vol2/lab_15_sustainable_ai.py:519
↓ 5 callersFunctionv2_16_html_table
(headers, rows)
labs/vol2/lab_16_responsible_ai.py:156
↓ 5 callersFunctionv2_17_markdown_table
(rows, columns)
labs/vol2/lab_17_fleet_synthesis.py:987
↓ 5 callersFunctionvalidate_corpus
Validate a list of question dicts against the schema. Returns (valid_questions, errors, warnings).
interviews/vault/schema.py:334
↓ 5 callersFunctionwalk_ast
(element)
book/tools/scripts/content/section_splitter.py:168
↓ 5 callersFunctionwalls_for_resolver
Return all walls resolved by a given model or solver class.
mlsysim/mlsysim/engine/walls.py:362
↓ 5 callersFunctionwarn
(msg: str)
book/tools/scripts/quizzes/playwright_verify.py:49
↓ 5 callersFunctionwords
(text: str)
book/tools/scripts/margin_figures/audit_margin_caption_alignment.py:91
↓ 5 callersMethodwouldExceedLimit
* Check if request would exceed token limit * @param {Array} messages - Messages array * @param {number} limit - Token limit (default: 10000 for
socratiq/src_shadow/js/libs/utils/tokenCounter.js:55
↓ 5 callersFunctionwrite_yaml
(path: Path, data: Any)
book/tools/scripts/audit/math_chapter_workflow.py:81
↓ 4 callersFunctionM
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 4 callersFunctionResNet18WhiteBox
(num_classes=100)
mlperf-edu/reference/edge/resnet_train.py:85
↓ 4 callersFunctionY
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 4 callersMethod_analyze_bottleneck
Identify whether workload is memory-bound or compute-bound. ``` Bottleneck Decision: If bandwidth >> GFLOP/s × 100 →
tinytorch/src/14_profiling/14_profiling.py:730
↓ 4 callersFunction_appendix_text
Reads the content of an appendix .qmd file with caching to prevent redundant disk I/O.
book/tools/audit/appendix_lineage.py:30
↓ 4 callersFunction_apply_cell_edits
(text: str, edits: list[MultEdit])
book/tools/audit/fmt/codemod_fmt.py:1094
↓ 4 callersMethod_apply_padding
Zero-pad the spatial dimensions of the input numpy array. TODO: Add zero-padding around spatial dimensions (height, width)
tinytorch/src/09_convolutions/09_convolutions.py:671
↓ 4 callersFunction_base_question
()
interviews/vault-cli/tests/test_hashing.py:14
↓ 4 callersMethod_batch_operation
Perform a batch nbgrader operation.
tinytorch/tito/commands/nbgrader.py:651
↓ 4 callersFunction_budget_exhausted
()
book/tools/scripts/audit/svg_audit.py:216
↓ 4 callersFunction_build_and_check
Run a single chapter build and check if output was created. Returns: (success, duration_seconds, error_snippet, quarto_warnings)
book/cli/commands/debug.py:149
↓ 4 callersMethod_build_source_map
Return {chapter_title → QMD path}, scoped to the PDF volume when known. Vol I and Vol II intentionally share chapter titles such as "
book/cli/commands/layout.py:2858
↓ 4 callersFunction_bullet_list
(values: tuple[str, ...] | list[str] | None)
labs/mlsysbook_labs/reports.py:22
↓ 4 callersFunction_candidate
(label, precision, policy, devices, note)
labs/vol2/lab_10_inference.py:1518
↓ 4 callersFunction_canon
Canonical JSON encoding for hashing (no whitespace, sorted keys).
mlperf-edu/src/mlperf/manifest.py:32
↓ 4 callersMethod_chapter_for
Return the title of the chapter whose range contains this sheet.
book/cli/commands/layout.py:2840
↓ 4 callersFunction_check_format_markers
Invariant #19: published common_mistake / napkin_math follow markers. Both fields are optional. Empty / absent values pass. A non-empty value
interviews/vault-cli/src/vault_cli/validator.py:317
↓ 4 callersFunction_collect_layer_inputs
Forward calibration data through preceding layers to collect inputs for a specific layer. TODO: Forward each calibration sample through laye
tinytorch/src/15_quantization/15_quantization.py:1128
↓ 4 callersMethod_compute_pool_output_shape
Calculate output spatial dimensions for pooling. TODO: Apply the pooling output size formula APPROACH: 1. Apply the
tinytorch/src/09_convolutions/09_convolutions.py:1780
↓ 4 callersFunction_compute_sinusoidal_table
Compute the raw sinusoidal positional encoding table as a numpy array. This helper builds the (max_len, embed_dim) table of sin/cos values
tinytorch/src/11_embeddings/11_embeddings.py:900
↓ 4 callersMethod_count_conv_flops
Count FLOPs for a Conv2d layer forward pass. ``` Conv2d FLOP Formula: FLOPs = out_H × out_W × kernel_H × kernel_W ×
tinytorch/src/14_profiling/14_profiling.py:413
↓ 4 callersMethod_count_layer_parameters
Count parameters in a single layer by inspecting weight and bias attributes. Handles the fundamental unit of parameter counting: a s
tinytorch/src/14_profiling/14_profiling.py:325
↓ 4 callersFunction_create_cache_storage
Validate model architecture and create a KVCache sized for it. TODO: Validate model attributes and create a properly-sized KVCache APPR
tinytorch/src/18_memoization/18_memoization.py:994
↓ 4 callersFunction_denominator_suffix
Return a structured denominator suffix such as /month or /GB.
mlsysim/mlsysim/fmt.py:443
↓ 4 callersFunction_dimensionless_magnitude
Return a scalar magnitude only after checking dimensional consistency.
mlsysim/mlsysim/fmt.py:76
↓ 4 callersFunction_discover_built_epubs
Return the most recent EPUB per-volume under `_build/epub-vol*/`.
book/cli/commands/_epub_checks.py:454
↓ 4 callersFunction_dismissNudge
()
socratiq/src_shadow/js/components/meditation/meditationTimer.js:516
↓ 4 callersMethod_dispatch
Dispatches samples to the handler and records timing metrics.
mlperf-edu/src/mlperf/loadgen.py:298
↓ 4 callersFunction_emit
(issues, counter, scope, file_path, line_no, line, context_label, reason)
book/tools/audit/checks/index_placement.py:59
↓ 4 callersFunction_entry_signatures
Return a small set of stable identity signatures for an entry.
book/tools/bib_sync_preserve.py:119
↓ 4 callersFunction_excerpt
(text: str, limit: int = 1400)
book/cli/checks/cli_contract.py:231
↓ 4 callersFunction_exec
Run a script in vault-cli/scripts/ and propagate exit code.
interviews/vault-cli/src/vault_cli/commands/audit.py:52
↓ 4 callersFunction_exec_python_cells
Exec all Quarto python cells in document order (shared namespace).
book/tools/audit/fmt/audit_prose.py:57
↓ 4 callersFunction_finalize_web_figure
Match Quarto web defaults while publication figures keep print DPI.
mlsysim/mlsysim/viz/plots.py:87
↓ 4 callersMethod_find_bib_files
Find all .bib files under root.
book/cli/commands/bib.py:168
↓ 4 callersFunction_find_manifests_in
Return all *_figures.txt files in *directory* that are LaTeX manifests.
book/quarto/scripts/mit_press/generate_figure_list.py:34
↓ 4 callersMethod_finish
Show final summary and return exit code.
tinytorch/tito/commands/dev/test.py:1075
↓ 4 callersMethod_first_line_text
Reconstruct the topmost text line from a list of page chars.
book/cli/commands/layout.py:3545
↓ 4 callersFunction_format_metric
Format a scalar metric for CLI rendering, with a unit chosen by key. Units are matched on exact word/suffix boundaries of the snake_case
mlsysim/mlsysim/cli/renderers.py:109
↓ 4 callersFunction_formatted_number
Format *val* without commas for precision-policy checks.
mlsysim/mlsysim/fmt.py:910
↓ 4 callersMethod_get_volume_from_path
Extract volume (vol1/vol2) from a file path. Args: path: Path to check Returns: 'vol1', 'vol2', or None if n
book/cli/core/discovery.py:170
↓ 4 callersFunction_has_spurious_zero_decimals
True when fixed-point formatting produced trailing .0… with no other digits.
mlsysim/mlsysim/fmt.py:102
↓ 4 callersFunction_hideDropdown
()
socratiq/src_shadow/js/index.js:2678
↓ 4 callersFunction_html_narrative
(html: Path)
book/tools/audit/fmt/audit_lego_html.py:131
↓ 4 callersFunction_img
(x0, bottom)
book/tests/test_pdf_layout_checks.py:184
↓ 4 callersFunction_insert_stmt
(table: str, cols: list[str], row: dict[str, Any])
interviews/vault-cli/src/vault_cli/release.py:162
↓ 4 callersFunction_inter_node_latency
Resolve the per-hop latency for inter-node (fabric) communication. Prefer the latency on the fabric spec itself; when unset, fall back to the
mlsysim/mlsysim/engine/solvers/utils.py:32
↓ 4 callersFunction_is_html
(text: str)
site/newsletter/cli/commands/pull.py:82
↓ 4 callersFunction_is_integer_like
True when a float is effectively a whole number (incl. 512.0, 989.0).
mlsysim/mlsysim/fmt.py:97
↓ 4 callersMethod_is_list_item
Check if a line is a bullet or numbered list item.
book/cli/commands/formatting.py:363
↓ 4 callersMethod_is_module_completed
Check if a module has been completed.
tinytorch/tito/commands/milestone.py:454
↓ 4 callersFunction_is_wordlike
(tok: str)
book/cli/commands/headings.py:217
↓ 4 callersFunction_judge_block
(draft: dict[str, Any])
interviews/vault-cli/scripts/validate_drafts.py:225
↓ 4 callersMethod_line_for_token
(self, content: str, token: str)
book/cli/commands/validate.py:8455
← previousnext →1,001–1,100 of 13,553, ranked by callers