Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/harvard-edge/cs249r_book
/ functions
Functions
13,553 in github.com/harvard-edge/cs249r_book
⨍
Functions
13,553
◇
Types & classes
1,810
↳
Endpoints
20
↓ 1 callers
Function
drawGameOver
()
site/assets/games/kvcache.mjs:272
↓ 1 callers
Function
drawGameOver
()
site/assets/games/oom.js:352
↓ 1 callers
Function
drawGameOver
()
site/assets/games/quantization.js:403
↓ 1 callers
Function
drawGameOver
()
site/assets/games/oom.mjs:619
↓ 1 callers
Function
drawHover
(r, c)
site/assets/games/cluster.mjs:164
↓ 1 callers
Function
drawHover
(r)
site/assets/games/kvcache.mjs:101
↓ 1 callers
Function
drawHud
()
site/assets/games/prune.js:286
↓ 1 callers
Function
drawHud
()
site/assets/games/lander.mjs:305
↓ 1 callers
Function
drawLinks
()
site/assets/games/topology.mjs:190
↓ 1 callers
Function
drawQueue
()
site/assets/games/cluster.mjs:130
↓ 1 callers
Function
drawSparks
()
tinytorch/quarto/community/modules/candle.js:133
↓ 1 callers
Function
drawSymbols
()
tinytorch/quarto/community/modules/terrain.js:91
↓ 1 callers
Function
drawTarget
(cx, cy, radius)
site/assets/games/quantization.js:378
↓ 1 callers
Function
draw_diagram
()
interviews/vault/visuals/cloud/cloud-2852.py:4
↓ 1 callers
Function
draw_network_architecture
Draw the perceptron architecture using ASCII art.
tinytorch/milestones/01_1958_perceptron/01_rosenblatt_forward.py:150
↓ 1 callers
Function
dump_question
(data: dict[str, Any])
interviews/vault/scripts/format_yaml_questions.py:162
↓ 1 callers
Function
edge_intelligence_adapter_storage
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1237
↓ 1 callers
Function
edge_intelligence_federated_savings
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1263
↓ 1 callers
Function
edge_intelligence_forgetting
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1247
↓ 1 callers
Function
edge_intelligence_memory_share
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:1227
↓ 1 callers
Function
edge_intelligence_straggler_cutoff_strip
()
book/tools/scripts/margin_figures/generate_margin_figures.py:482
↓ 1 callers
Method
editCard
(cardId)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:1453
↓ 1 callers
Function
edit_in_editor
Open the proposed body in $EDITOR. Return the edited body, or None if the user emptied the file or didn't change it.
interviews/vault-cli/scripts/apply_corrections.py:243
↓ 1 callers
Function
embed_corpus
Return (qid -> vector) and seconds-elapsed. Caches per-model to disk.
interviews/vault-cli/scripts/calibrate_chain_embeddings.py:118
↓ 1 callers
Function
embed_text_for_question
Embed the same way the corpus's embeddings.npz did: title + scenario + question concatenated, normalised.
interviews/vault-cli/scripts/check_chain_decay.py:133
↓ 1 callers
Function
embedding_binary
(text, token)
socratiq/src_shadow/js/libs/agents/embeddings_agent.js:18
↓ 1 callers
Function
emitYaml
(doc)
design-grammar/scripts/migrate-html-to-yaml.mjs:279
↓ 1 callers
Function
emit_manifest
Write the build-time manifest the deployable bundles. This is the "single source of truth" the site reads at build time. A Tier A project may
scripts/version/release.py:251
↓ 1 callers
Function
emit_release_json
Write the canonical release.json artifact. Tier A includes file_index.
scripts/version/release.py:204
↓ 1 callers
Function
emit_yaml
Write YAML without importing PyYAML (keep Phase-0/1 deps minimal).
interviews/vault-cli/scripts/exemplar_coverage_audit.py:92
↓ 1 callers
Function
encodeCursor
(c: Cursor)
interviews/staffml-vault-worker/src/index.ts:167
↓ 1 callers
Method
encode_image
Encode an image to base64 for multimodal models.
book/tools/scripts/content/manage_captions.py:804
↓ 1 callers
Function
endGame
(win)
site/assets/games/checkpoint.mjs:143
↓ 1 callers
Function
endGame
()
site/assets/games/quantization.mjs:561
↓ 1 callers
Function
endGame
()
site/assets/games/loader.mjs:203
↓ 1 callers
Function
endGame
()
site/assets/games/quantization.js:157
↓ 1 callers
Function
energy_per_byte
()
book/tools/scripts/margin_figures/generate_margin_figures.py:2227
↓ 1 callers
Function
ensureButtonsInitialized
()
socratiq/src_shadow/js/index.js:749
↓ 1 callers
Function
ensure_registry_imports
(cell: str)
book/tools/audit/migrate_constants_to_registry.py:171
↓ 1 callers
Function
escalation_curve
()
book/tools/scripts/margin_figures/generate_margin_figures.py:306
↓ 1 callers
Method
escapeHtml
* Escape HTML to prevent XSS * @param {string} text - Text to escape * @returns {string} Escaped text
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11669
↓ 1 callers
Method
escapeHtml
* Escape HTML characters * @param {string} text - Text to escape * @returns {string} Escaped text
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11995
↓ 1 callers
Method
escapeHtml
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
escapeHtml
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
escapeHtml
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
estimate_activation_bytes
Static estimate of peak activation memory during prefill. Counts the dominant tensors per layer: Q/K/V (3 x B x ctx x d_model), attention sco
mlperf-edu/reference/cloud/nanogpt_prefill.py:25
↓ 1 callers
Function
estimate_chars
Roughly estimate the prompt size of these buckets.
interviews/vault-cli/scripts/build_chains_with_gemini.py:108
↓ 1 callers
Function
estimate_memory_mb
Estimate memory usage for a batch.
tinytorch/src/05_dataloader/05_dataloader.py:1735
↓ 1 callers
Method
eval
Set model to evaluation mode.
tinytorch/milestones/04_1998_cnn/02_lecun_cifar10.py:270
↓ 1 callers
Function
evaluate
Run the metric suite for one model's embeddings.
interviews/vault-cli/scripts/calibrate_chain_embeddings.py:165
↓ 1 callers
Function
evaluate_and_celebrate
Evaluate the successful model and celebrate the victory!
tinytorch/milestones/02_1969_xor/02_xor_solved.py:302
↓ 1 callers
Function
evaluate_directory
Evaluate all quiz JSON files in a directory. Args: directory: Path to directory containing quiz files args: Command line arg
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5761
↓ 1 callers
Function
evaluate_draft
( draft_path: Path, corpus: dict[str, dict], args: argparse.Namespace, )
interviews/vault-cli/scripts/validate_drafts.py:398
↓ 1 callers
Function
evaluate_question_quality
Evaluate the quality of quiz questions using LLM judge. Args: response: Quiz response containing questions client: LLM clien
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:4608
↓ 1 callers
Function
evidence_for
Return ``(evidence, source_field)`` to look for in the QMD. The chosen evidence is the post-edit text the entry should produce.
book/tools/audit/release/programmatic_locate.py:85
↓ 1 callers
Function
evidence_summary
Render synthesis evidence in the same shape used by reports.
labs/mlsysbook_labs/ui.py:1136
↓ 1 callers
Function
example1_load_full_dataset
Example 1: Load the full dataset
tinytorch/datasets/tinytalks/examples/demo_usage.py:14
↓ 1 callers
Function
example2_load_train_split
Example 2: Load training split only
tinytorch/datasets/tinytalks/examples/demo_usage.py:37
↓ 1 callers
Function
example3_parse_qa_pairs
Example 3: Parse Q&A pairs from text
tinytorch/datasets/tinytalks/examples/demo_usage.py:54
↓ 1 callers
Function
example4_character_tokenization
Example 4: Character-level tokenization
tinytorch/datasets/tinytalks/examples/demo_usage.py:90
↓ 1 callers
Function
example5_prepare_for_transformer
Example 5: Prepare data for transformer training
tinytorch/datasets/tinytalks/examples/demo_usage.py:127
↓ 1 callers
Function
example6_using_with_tinytorch
Example 6: Using with TinyTorch (pseudocode)
tinytorch/datasets/tinytalks/examples/demo_usage.py:160
↓ 1 callers
Function
example_architecture_comparison
Workflow 2: Dense vs. Sparse Architecture Comparison. A practitioner evaluates NanoGPT (dense) vs Nano-MoE (sparse) on the same dataset t
mlperf-edu/examples/practitioner_workflows.py:251
↓ 1 callers
Function
example_bottleneck_analysis
Workflow 4: System Bottleneck Identification. A system designer investigates why DLRM training is unexpectedly fast despite having embedd
mlperf-edu/examples/practitioner_workflows.py:170
↓ 1 callers
Function
example_training_optimization
Workflow 1: Optimize training throughput. A practitioner profiles NanoGPT training and applies three optimizations: 1. Increase batch s
mlperf-edu/examples/practitioner_workflows.py:24
↓ 1 callers
Method
execPython
(script: string, cwd: string)
book/vscode-ext/src/providers/qmdPythonValueResolver.ts:360
↓ 1 callers
Function
exec_cells
(path: Path)
book/tools/audit/llm_chapter_signoff.py:48
↓ 1 callers
Function
execute_fetch
(args)
mlperf-edu/src/mlperf/cli.py:359
↓ 1 callers
Method
execute_plotting
(self, telemetry: Dict[str, Any])
mlperf-edu/src/mlperf/plotting.py:16
↓ 1 callers
Function
execute_student_training_optimization
MLPerf EDU: The Open Division Training Sandbox! Target: Time-To-Target-Loss (TTTL) This template structurally demonstrates exactly h
mlperf-edu/examples/student_optimizations/stub_custom_optimizer_train.py:11
↓ 1 callers
Method
expandAll
()
book/vscode-ext/src/providers/chapterNavigatorProvider.ts:242
↓ 1 callers
Method
expandNode
(node)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2254
↓ 1 callers
Method
expandNodeWithMoreChildren
(node)
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:2138
↓ 1 callers
Function
explain_agent
(text)
socratiq/src_shadow/js/components/highlight_menu/components/highlight_menu.js:190
↓ 1 callers
Function
explicit_svgs
(paths: list[str])
book/tools/scripts/margin_figures/render_margin_contact_sheet.py:78
↓ 1 callers
Function
explore_acceleration_with_profiler
📊 Demonstrate acceleration gains using Profiler from Module 14.
tinytorch/src/17_acceleration/17_acceleration.py:1177
↓ 1 callers
Function
explore_compression_with_profiler
📊 Demonstrate parameter reduction using Profiler from Module 14.
tinytorch/src/16_compression/16_compression.py:1412
↓ 1 callers
Function
explore_motivation_profiling
Profile model memory usage to discover the quantization problem.
tinytorch/src/15_quantization/15_quantization.py:125
↓ 1 callers
Function
explore_quantization_with_profiler
Demonstrate memory savings using Profiler from Module 14.
tinytorch/src/15_quantization/15_quantization.py:1985
↓ 1 callers
Function
exportProgress
()
interviews/staffml/src/lib/progress.ts:416
↓ 1 callers
Method
exposeGlobalAPI
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7948
↓ 1 callers
Method
exposeGlobalAPI
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
expressionMarkupToString
* Convert an .assembly-expression's inner HTML back into the string form used in * grammar.yml. Examples: * * "<span>Eb</span> → [(<span>At</span
design-grammar/scripts/migrate-html-to-yaml.mjs:243
↓ 1 callers
Function
expressionToHtml
* Convert a expression string into the markup the existing CSS/JS expects: * <span>Sym</span> for a known symbol * <span>Sym</span><sub>xxx</sub
design-grammar/scripts/build-html.mjs:190
↓ 1 callers
Function
extra_mitpress_findings
Checks that are specific to the MIT Press production pass.
book/tools/scripts/bib_mitpress_openai.py:174
↓ 1 callers
Function
extract
(path)
book/tools/audit/emphasis_extract.py:50
↓ 1 callers
Function
extract
(qmd_path: Path)
book/tools/scripts/quizzes/extract_anchors.py:75
↓ 1 callers
Function
extract
()
scripts/cross-references/audit_crossrefs.py:149
↓ 1 callers
Function
extractContentSnippet
(heading)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:59
↓ 1 callers
Method
extractCurrentPageData
* Extract current page data for content collection (async version with TextExtractor) * @returns {Promise<Object>} Current page data with text, url
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:96
↓ 1 callers
Method
extractCurrentPageData
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Method
extractCurrentPageDataSync
* Extract current page data for content collection (synchronous version for constructor) * @returns {Object} Current page data with text, url, titl
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:70
↓ 1 callers
Method
extractCurrentPageDataSync
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
extractEntitiesAndNouns
(text)
socratiq/src_shadow/js/components/quiz/backupQuiz.js:3
↓ 1 callers
Function
extractExpressionSymbols
(expression)
interviews/staffml/scripts/sync-design-grammar.mjs:97
↓ 1 callers
Function
extractExpressionSymbols
* Inverse of the parser used downstream — extract every symbol reference * from a expression string. A symbol is a two-letter token of the form * `[
design-grammar/scripts/migrate-html-to-yaml.mjs:263
↓ 1 callers
Function
extractExpressionSymbols
(expression)
design-grammar/scripts/build-html.mjs:108
↓ 1 callers
Function
extractHeadings
()
socratiq/src_shadow/js/libs/utils/tocExtractor.js:127
↓ 1 callers
Function
extractInnerText
(htmlString)
socratiq/src_shadow/js/libs/agents/key_terms_summary.js:208
↓ 1 callers
Method
extractKapootQuizData
* Extract quiz data from Kapoot quiz component * @param {HTMLElement} quizComponent - The quiz component * @returns {Object|null} Quiz data or n
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4982
← previous
next →
5,501–5,600 of 13,553, ranked by callers