MCPcopy Create free account

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

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

↓ 5 callersMethodforward
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 callersMethodforward
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 callersMethodforward
(self, x)
tinytorch/tests/19_benchmarking/test_benchmark_core.py:47
↓ 5 callersMethodgenerate
Generate text autoregressively by repeatedly sampling next tokens. TODO: Implement the autoregressive generation loop APPRO
tinytorch/src/13_transformers/13_transformers.py:1394
↓ 5 callersFunctiongetChainEntryPoint
( chain: ChainSummary, targetLevel: string, )
interviews/staffml/src/lib/corpus.ts:813
↓ 5 callersFunctiongetChainsForInterview
( track: string, levels: string[], areas?: string[], )
interviews/staffml/src/lib/corpus.ts:794
↓ 5 callersMethodgetChapterTitle
(chapter)
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:2139
↓ 5 callersFunctiongetCiteText
(container: HTMLElement)
interviews/staffml/src/__tests__/paper-citation-card.test.tsx:23
↓ 5 callersMethodgetCurrentChapterStats
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:290
↓ 5 callersFunctiongetCustomPaths
()
interviews/staffml/src/lib/plans.ts:196
↓ 5 callersMethodgetHardwareDevices
(_category: string, devices: string[][])
mlsysim/vscode-ext/src/providers/zooTreeProvider.ts:143
↓ 5 callersMethodgetLabsForPlatform
(platformPath: string, labs: string[][])
kits/vscode-ext/src/providers/platformTreeProvider.ts:79
↓ 5 callersFunctiongetParallelDebugChannel
()
book/vscode-ext/src/utils/parallelDebug.ts:83
↓ 5 callersFunctiongetPlanProgress
(planId: string)
interviews/staffml/src/lib/plans.ts:158
↓ 5 callersFunctiongetQuestionById
(id: string)
interviews/staffml/src/lib/corpus.ts:147
↓ 5 callersMethodgetUserColor
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8840
↓ 5 callersMethodgetUserColor
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 5 callersMethodget_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 callersMethodget_milestone_status
Get current milestone progress status.
tinytorch/tito/commands/milestone.py:303
↓ 5 callersFunctionget_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 callersMethodhandleModalClose
(event)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:3468
↓ 5 callersMethodhashVector
(vector)
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/vectordb.js:42
↓ 5 callersFunctionhave
(cmd: str)
book/tools/scripts/testing/struct_qa_pdf.py:33
↓ 5 callersFunctionheading_level
Return the heading level (1-6) for an ATX header line, or None.
book/tools/audit/protected_contexts.py:607
↓ 5 callersFunctionhideDropup
()
socratiq/src_shadow/js/components/quizBtns/smartInput.js:36
↓ 5 callersMethodinit
()
socratiq/src_shadow/js/libs/memory/indexDB-utils.js:11
↓ 5 callersFunctioninitDB
()
socratiq/src_shadow/js/components/progressReport/progressReport.js:3
↓ 5 callersFunctionintervention_frontier
Score a fixed-budget intervention across the D-A-M axes.
labs/mlsysbook_labs/triad.py:138
↓ 5 callersFunctionisActive
(href: string)
interviews/staffml/src/components/Nav.tsx:83
↓ 5 callersFunctioniteration_frontier
Estimate iteration time versus residual deployment risk.
labs/mlsysbook_labs/workflow.py:195
↓ 5 callersFunctionlane_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 callersFunctionload_bytes
Load a YAML document from raw bytes with hardening enforced.
interviews/vault-cli/src/vault_cli/yaml_io.py:65
↓ 5 callersFunctionlog
(msg: string)
mlsysim/vscode-ext/src/utils/terminal.ts:13
↓ 5 callersMethodlogConnectionStates
* Debug method to log current connection states
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:420
↓ 5 callersMethodlogConnectionStates
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 5 callersMethodlogTokenUsage
* 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 callersMethodlog_error
Log error message.
book/quarto/scripts/clean_svgs.py:69
↓ 5 callersFunctionlog_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 callersFunctionmarkdown_cell
(text: str)
book/tools/scripts/margin_figures/inventory_margin_figures.py:200
↓ 5 callersMethodmasked_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 callersFunctionnextMessageId
()
interviews/staffml/src/components/AskInterviewer.tsx:96
↓ 5 callersFunctionnormalize
(s: str)
interviews/vault/scripts/audit_question_backfill_balance.py:51
↓ 5 callersFunctionnormalize
(text: str)
interviews/vault/scripts/validate_generation_gates.py:39
↓ 5 callersFunctionnormalizeUrl
(url)
socratiq/src_shadow/js/libs/utils/tocExtractor.js:441
↓ 5 callersFunctionobserved_area
(topic: str, topic_areas: dict[str, str])
interviews/vault/scripts/plan_gap_improvements.py:557
↓ 5 callersFunctionok
(msg: str)
interviews/staffml/scripts/validate-vault.py:40
↓ 5 callersFunctionopen_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 callersMethodparameters
Return all learnable parameters.
tinytorch/src/13_transformers/13_transformers.py:1035
↓ 5 callersMethodparameters
Collect all parameters from all layers.
tinytorch/src/03_layers/03_layers.py:937
↓ 5 callersMethodparameters
Return learnable parameters (gamma and beta).
tinytorch/src/09_convolutions/09_convolutions.py:2266
↓ 5 callersMethodparameters
(self)
tinytorch/tests/integration/test_gradients.py:42
↓ 5 callersMethodparameters
(self)
tinytorch/tests/10_tokenization/test_10_tokenization_progressive.py:587
↓ 5 callersMethodparameters
(self)
tinytorch/milestones/05_2017_transformer/01_vaswani_attention.py:254
↓ 5 callersFunctionparse_key
Split 'Headword!subentry' into (headword, subentry); strip @-sort-keys.
book/tools/audit/index/audit.py:49
↓ 5 callersFunctionpolar
(cx: number, cy: number, radius: number, angle: number)
interviews/staffml/src/app/explore/page.tsx:72
↓ 5 callersFunctionpreventHotkeyConflicts
(element, options = {})
socratiq/src_shadow/js/libs/utils/hotkeyPrevention.js:15
↓ 5 callersMethodprint_commented_chapter_issues
Print issues about commented chapters and halt if necessary.
book/tools/scripts/content/manage_captions.py:324
↓ 5 callersFunctionprint_error
Print an error message with consistent formatting.
tinytorch/tito/core/console.py:128
↓ 5 callersFunctionprint_error
Renders a semantic error box, or a JSON error.
mlsysim/mlsysim/cli/renderers.py:33
↓ 5 callersFunctionprint_json
Print strict JSON that rejects NaN/Infinity.
mlsysim/mlsysim/cli/renderers.py:28
↓ 5 callersFunctionprocessReferences
(markdownText, htmlContent)
socratiq/src_shadow/js/components/markdown/reference_renderer.js:679
↓ 5 callersFunctionprofile_hardware
Backwards-compatible convenience function for the Referee. Performs a full Roofline analysis.
mlperf-edu/src/mlperf/hardware.py:213
↓ 5 callersMethodrefs_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 callersMethodremoveLoadingState
(id)
socratiq/src_shadow/js/components/spaced_repetition/handlers/ui-notification-handler.js:169
↓ 5 callersMethodrenderChapters
(isNoMessage=false)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:1768
↓ 5 callersMethodrenderChapters
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/ui-handler.js:174
↓ 5 callersMethodreport
(self)
mlperf-edu/scripts/compliance_checker.py:127
↓ 5 callersFunctionresetAuto
()
mlsysim/docs/styles/landing.js:48
↓ 5 callersMethodresize
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:1623
↓ 5 callersMethodreviewCard
(index, quality)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:2394
↓ 5 callersFunctionrouteToken
(expertIndex)
site/assets/games/moe.mjs:74
↓ 5 callersFunctionrubricToScore
(items: RubricItem[])
interviews/staffml/src/lib/rubric.ts:102
↓ 5 callersFunctionrun
(cmd, **kw)
book/tools/scripts/testing/struct_qa_pdf.py:37
↓ 5 callersMethodrun
(self, args: Namespace)
tinytorch/tito/commands/dev/clean.py:38
↓ 5 callersFunctionrunInTerminal
(command: string, cwd: string, label: string)
labs/vscode-ext/src/utils/terminal.ts:83
↓ 5 callersFunctionrunPdfBuildAndOpen
* 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 callersFunctionsafeBurst
(s, x, y, c, n, o)
site/assets/games/lander.mjs:83
↓ 5 callersFunctionsafeShake
(target, amount, ms)
site/assets/games/lander.mjs:82
↓ 5 callersMethodsaveSettings
()
socratiq/src_shadow/js/components/settings/settings.js:224
↓ 5 callersMethodsaveUserStats
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8011
↓ 5 callersMethodsaveUserStats
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 5 callersFunctionsave_corpus
(corpus: list[dict])
interviews/vault/vault.py:96
↓ 5 callersFunctionscan_pdf_text
Return issues found in extracted PDF text.
book/cli/commands/_pdf_checks.py:282
↓ 5 callersFunctionscenario_thread
Render a short track/scenario reminder inside a lab part.
labs/mlsysbook_labs/ui.py:733
↓ 5 callersFunctionscrollToBottom
(shadowRoot)
socratiq/src_shadow/js/libs/utils/utils.js:192
↓ 5 callersFunctionsetup_headless_matplotlib
()
book/tools/audit/fmt/cell_exec.py:6
↓ 5 callersFunctionsetup_plot
Create a matplotlib figure/axis using the MLSysBook style.
book/tools/figures/style.py:84
↓ 5 callersFunctionshowBuildManifest
(opts: BuildManifestOptions)
book/vscode-ext/src/utils/buildManifest.ts:28
↓ 5 callersMethodshow_symlink_status
Display current symlink status.
book/cli/core/config.py:292
↓ 5 callersFunctionsimulate
(config: SimConfig)
interviews/staffml/src/lib/simulator.ts:52
↓ 5 callersMethodsolve
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 callersMethodsolve
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 callersMethodsolve
Solves for CPU preprocessing bottleneck. Parameters ---------- batch_size : int Number of samples per ba
mlsysim/mlsysim/engine/solvers/data.py:103
↓ 5 callersFunctionstage_report
Run the REPORT stage.
book/tools/audit/loop.py:194
↓ 5 callersFunctionstep_panel
(step: str, title: str, body: str)
labs/mlsysbook_labs/system_design.py:689
↓ 5 callersFunctionstructured_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 callersFunctionsummarize_counts
(values: list[int])
interviews/vault/scripts/plan_gap_improvements.py:203
↓ 5 callersMethodsync_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 callersFunctiontable
(counter, title)
book/tools/audit/fmt/audit_fmt_usage.py:322
↓ 5 callersFunctiontarget_spec
( pack: str, priority: int, track: str, topic: str, area: str, zone: str, level: s
interviews/vault/scripts/plan_gap_improvements.py:527
← previousnext →901–1,000 of 13,553, ranked by callers