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
↓ 5 callers
Method
forward
Forward pass through MaxPool2d layer. This method composes the helpers: 1. Validate input is 4D 2. Compute output di
tinytorch/src/09_convolutions/09_convolutions.py:1442
↓ 5 callers
Method
forward
Forward pass with quantized computation. TODO: Implement quantized forward pass APPROACH: 1. Quantize input (if cal
tinytorch/src/15_quantization/15_quantization.py:917
↓ 5 callers
Method
forward
(self, x)
tinytorch/tests/19_benchmarking/test_benchmark_core.py:47
↓ 5 callers
Method
generate
Generate text autoregressively by repeatedly sampling next tokens. TODO: Implement the autoregressive generation loop APPRO
tinytorch/src/13_transformers/13_transformers.py:1394
↓ 5 callers
Function
getChainEntryPoint
( chain: ChainSummary, targetLevel: string, )
interviews/staffml/src/lib/corpus.ts:813
↓ 5 callers
Function
getChainsForInterview
( track: string, levels: string[], areas?: string[], )
interviews/staffml/src/lib/corpus.ts:794
↓ 5 callers
Method
getChapterTitle
(chapter)
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:2139
↓ 5 callers
Function
getCiteText
(container: HTMLElement)
interviews/staffml/src/__tests__/paper-citation-card.test.tsx:23
↓ 5 callers
Method
getCurrentChapterStats
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:290
↓ 5 callers
Function
getCustomPaths
()
interviews/staffml/src/lib/plans.ts:196
↓ 5 callers
Method
getHardwareDevices
(_category: string, devices: string[][])
mlsysim/vscode-ext/src/providers/zooTreeProvider.ts:143
↓ 5 callers
Method
getLabsForPlatform
(platformPath: string, labs: string[][])
kits/vscode-ext/src/providers/platformTreeProvider.ts:79
↓ 5 callers
Function
getParallelDebugChannel
()
book/vscode-ext/src/utils/parallelDebug.ts:83
↓ 5 callers
Function
getPlanProgress
(planId: string)
interviews/staffml/src/lib/plans.ts:158
↓ 5 callers
Function
getQuestionById
(id: string)
interviews/staffml/src/lib/corpus.ts:147
↓ 5 callers
Method
getUserColor
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8840
↓ 5 callers
Method
getUserColor
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 5 callers
Method
get_full_section_content
Get the full section content from the original .qmd file. This method retrieves the complete section content from the original
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:2754
↓ 5 callers
Method
get_milestone_status
Get current milestone progress status.
tinytorch/tito/commands/milestone.py:303
↓ 5 callers
Function
get_output_file
Return the primary output file for a build: any .pdf, any .epub, or index.html. Used by build (open output) and debug (success check) so all comm
book/cli/core/config.py:15
↓ 5 callers
Method
handleModalClose
(event)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:3468
↓ 5 callers
Method
hashVector
(vector)
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:42
↓ 5 callers
Function
have
(cmd: str)
book/tools/scripts/testing/struct_qa_pdf.py:33
↓ 5 callers
Function
heading_level
Return the heading level (1-6) for an ATX header line, or None.
book/tools/audit/protected_contexts.py:607
↓ 5 callers
Function
hideDropup
()
socratiq/src_shadow/js/components/quizBtns/smartInput.js:36
↓ 5 callers
Method
init
()
socratiq/src_shadow/js/libs/memory/indexDB-utils.js:11
↓ 5 callers
Function
initDB
()
socratiq/src_shadow/js/components/progressReport/progressReport.js:3
↓ 5 callers
Function
intervention_frontier
Score a fixed-budget intervention across the D-A-M axes.
labs/mlsysbook_labs/triad.py:138
↓ 5 callers
Function
isActive
(href: string)
interviews/staffml/src/components/Nav.tsx:83
↓ 5 callers
Function
iteration_frontier
Estimate iteration time versus residual deployment risk.
labs/mlsysbook_labs/workflow.py:195
↓ 5 callers
Function
lane_process
Generic byte-identical migration engine with a per-edit bisect fallback. Fast path: apply all edits, accept iff byte-identical. On failure, bisec
book/tools/audit/fmt/run_percent_lane.py:132
↓ 5 callers
Function
load_bytes
Load a YAML document from raw bytes with hardening enforced.
interviews/vault-cli/src/vault_cli/yaml_io.py:65
↓ 5 callers
Function
log
(msg: string)
mlsysim/vscode-ext/src/utils/terminal.ts:13
↓ 5 callers
Method
logConnectionStates
* Debug method to log current connection states
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:420
↓ 5 callers
Method
logConnectionStates
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 5 callers
Method
logTokenUsage
* Log token usage for debugging * @param {Array} messages - Messages array * @param {string} context - Context for logging
socratiq/src_shadow/js/libs/utils/tokenCounter.js:110
↓ 5 callers
Method
log_error
Log error message.
book/quarto/scripts/clean_svgs.py:69
↓ 5 callers
Function
log_softmax
Compute log-softmax with numerical stability. TODO: Implement numerically stable log-softmax using the log-sum-exp trick APPROACH:
tinytorch/src/04_losses/04_losses.py:272
↓ 5 callers
Function
markdown_cell
(text: str)
book/tools/scripts/margin_figures/inventory_margin_figures.py:200
↓ 5 callers
Method
masked_fill
Fill positions where mask is True with value, matching PyTorch's masked_fill. Used in transformer attention to set padding positions to -inf
tinytorch/src/01_tensor/01_tensor.py:342
↓ 5 callers
Function
nextMessageId
()
interviews/staffml/src/components/AskInterviewer.tsx:96
↓ 5 callers
Function
normalize
(s: str)
interviews/vault/scripts/audit_question_backfill_balance.py:51
↓ 5 callers
Function
normalize
(text: str)
interviews/vault/scripts/validate_generation_gates.py:39
↓ 5 callers
Function
normalizeUrl
(url)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:441
↓ 5 callers
Function
observed_area
(topic: str, topic_areas: dict[str, str])
interviews/vault/scripts/plan_gap_improvements.py:557
↓ 5 callers
Function
ok
(msg: str)
interviews/staffml/scripts/validate-vault.py:40
↓ 5 callers
Function
open_url
Open URL in browser with cross-platform support. Args: url: The URL to open console: Optional Rich console for output
tinytorch/tito/core/browser.py:22
↓ 5 callers
Method
parameters
Return all learnable parameters.
tinytorch/src/13_transformers/13_transformers.py:1035
↓ 5 callers
Method
parameters
Collect all parameters from all layers.
tinytorch/src/03_layers/03_layers.py:937
↓ 5 callers
Method
parameters
Return learnable parameters (gamma and beta).
tinytorch/src/09_convolutions/09_convolutions.py:2266
↓ 5 callers
Method
parameters
(self)
tinytorch/tests/integration/test_gradients.py:42
↓ 5 callers
Method
parameters
(self)
tinytorch/tests/10_tokenization/test_10_tokenization_progressive.py:587
↓ 5 callers
Method
parameters
(self)
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:254
↓ 5 callers
Function
parse_key
Split 'Headword!subentry' into (headword, subentry); strip @-sort-keys.
book/tools/audit/index/audit.py:49
↓ 5 callers
Function
polar
(cx: number, cy: number, radius: number, angle: number)
interviews/staffml/src/app/explore/page.tsx:72
↓ 5 callers
Function
preventHotkeyConflicts
(element, options = {})
socratiq/src_shadow/js/libs/utils/hotkeyPrevention.js:15
↓ 5 callers
Method
print_commented_chapter_issues
Print issues about commented chapters and halt if necessary.
book/tools/scripts/content/manage_captions.py:324
↓ 5 callers
Function
print_error
Print an error message with consistent formatting.
tinytorch/tito/core/console.py:128
↓ 5 callers
Function
print_error
Renders a semantic error box, or a JSON error.
mlsysim/mlsysim/cli/renderers.py:33
↓ 5 callers
Function
print_json
Print strict JSON that rejects NaN/Infinity.
mlsysim/mlsysim/cli/renderers.py:28
↓ 5 callers
Function
processReferences
(markdownText, htmlContent)
socratiq/src_shadow/js/components/markdown/reference_renderer.js:679
↓ 5 callers
Function
profile_hardware
Backwards-compatible convenience function for the Referee. Performs a full Roofline analysis.
mlperf-edu/src/mlperf/hardware.py:213
↓ 5 callers
Method
refs_for_topic
Return the ordered book_refs for a topic (primary first, then also_see). Empty list when the topic is unmapped — the frontend simply renders
interviews/vault-cli/src/vault_cli/book_refs.py:79
↓ 5 callers
Method
removeLoadingState
(id)
socratiq/src_shadow/js/components/spaced_repetition/handlers/ui-notification-handler.js:169
↓ 5 callers
Method
renderChapters
(isNoMessage=false)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:1768
↓ 5 callers
Method
renderChapters
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/ui-handler.js:174
↓ 5 callers
Method
report
(self)
mlperf-edu/scripts/compliance_checker.py:127
↓ 5 callers
Function
resetAuto
()
mlsysim/docs/styles/landing.js:48
↓ 5 callers
Method
resize
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:1623
↓ 5 callers
Method
reviewCard
(index, quality)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:2394
↓ 5 callers
Function
routeToken
(expertIndex)
site/assets/games/moe.mjs:74
↓ 5 callers
Function
rubricToScore
(items: RubricItem[])
interviews/staffml/src/lib/rubric.ts:102
↓ 5 callers
Function
run
(cmd, **kw)
book/tools/scripts/testing/struct_qa_pdf.py:37
↓ 5 callers
Method
run
(self, args: Namespace)
tinytorch/tito/commands/dev/clean.py:38
↓ 5 callers
Function
runInTerminal
(command: string, cwd: string, label: string)
labs/vscode-ext/src/utils/terminal.ts:83
↓ 5 callers
Function
runPdfBuildAndOpen
* Run a PDF build in the visible terminal and watch for the output PDF. * When the PDF file is created or modified, automatically open it in VS Code.
book/vscode-ext/src/commands/buildCommands.ts:27
↓ 5 callers
Function
safeBurst
(s, x, y, c, n, o)
site/assets/games/lander.mjs:83
↓ 5 callers
Function
safeShake
(target, amount, ms)
site/assets/games/lander.mjs:82
↓ 5 callers
Method
saveSettings
()
socratiq/src_shadow/js/components/settings/settings.js:224
↓ 5 callers
Method
saveUserStats
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8011
↓ 5 callers
Method
saveUserStats
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 5 callers
Function
save_corpus
(corpus: list[dict])
interviews/vault/vault.py:96
↓ 5 callers
Function
scan_pdf_text
Return issues found in extracted PDF text.
book/cli/commands/_pdf_checks.py:282
↓ 5 callers
Function
scenario_thread
Render a short track/scenario reminder inside a lab part.
labs/mlsysbook_labs/ui.py:733
↓ 5 callers
Function
scrollToBottom
(shadowRoot)
socratiq/src_shadow/js/libs/utils/utils.js:192
↓ 5 callers
Function
setup_headless_matplotlib
()
book/tools/audit/fmt/cell_exec.py:6
↓ 5 callers
Function
setup_plot
Create a matplotlib figure/axis using the MLSysBook style.
book/tools/figures/style.py:84
↓ 5 callers
Function
showBuildManifest
(opts: BuildManifestOptions)
book/vscode-ext/src/utils/buildManifest.ts:28
↓ 5 callers
Method
show_symlink_status
Display current symlink status.
book/cli/core/config.py:292
↓ 5 callers
Function
simulate
(config: SimConfig)
interviews/staffml/src/lib/simulator.ts:52
↓ 5 callers
Method
solve
Calculate the Roofline performance profile for a single hardware node. Thin wrapper that delegates to ``Engine.solve`` (the core Roo
mlsysim/mlsysim/engine/solvers/performance.py:44
↓ 5 callers
Method
solve
Solve for parameter sensitivities and identify the binding constraint. Numerically perturbs each hardware parameter (peak FLOPS, mem
mlsysim/mlsysim/engine/solvers/performance.py:306
↓ 5 callers
Method
solve
Solves for CPU preprocessing bottleneck. Parameters ---------- batch_size : int Number of samples per ba
mlsysim/mlsysim/engine/solvers/data.py:103
↓ 5 callers
Function
stage_report
Run the REPORT stage.
book/tools/audit/loop.py:194
↓ 5 callers
Function
step_panel
(step: str, title: str, body: str)
labs/mlsysbook_labs/system_design.py:689
↓ 5 callers
Function
structured_prune
Remove entire channels/neurons based on L2 norm importance. TODO: Implement structured pruning for Linear layers APPROACH: 1. For e
tinytorch/src/16_compression/16_compression.py:678
↓ 5 callers
Function
summarize_counts
(values: list[int])
interviews/vault/scripts/plan_gap_improvements.py:203
↓ 5 callers
Method
sync_progress
Assemble local progress and upload it to the TinyTorch backend. Returns a :class:`SyncResult`. Callers should check ``result.ok``; ``
tinytorch/tito/core/submission.py:161
↓ 5 callers
Function
table
(counter, title)
book/tools/audit/fmt/audit_fmt_usage.py:322
↓ 5 callers
Function
target_spec
( pack: str, priority: int, track: str, topic: str, area: str, zone: str, level: s
interviews/vault/scripts/plan_gap_improvements.py:527
← previous
next →
901–1,000 of 13,553, ranked by callers