MCPcopy Create free account

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

Functions30,677 in github.com/harvard-edge/cs249r_book

↓ 8 callersMethodensureInitialized
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 8 callersFunctionerror
(msg: str)
interviews/staffml/scripts/validate-vault.py:30
↓ 8 callersFunctionerror_shield
Context manager to catch exceptions, format them properly via renderers, and exit with the correct semantic code. Promotes DRY principles.
mlsysim/mlsysim/cli/exceptions.py:19
↓ 8 callersFunctionevaluate_deployment_envelope
Evaluate memory, latency, energy, power, bandwidth, and cost limits.
labs/mlsysbook_labs/deployment.py:265
↓ 8 callersMethodexpect
(e,t)
book/tools/scripts/socratiQ/bundle.js:2406
↓ 8 callersFunctionfleet_mttf_hours
MTTF anchor for reliability registry entries.
mlsysim/mlsysim/core/provenance.py:181
↓ 8 callersMethodforward
Compute binary cross-entropy loss. TODO: Implement binary cross-entropy with numerical stability APPROACH: 1. Clamp
tinytorch/src/04_losses/04_losses.py:820
↓ 8 callersMethodforward
Add positional encodings to input embeddings. Args: x: Input embeddings of shape (batch_size, seq_len, embed_dim)
tinytorch/src/11_embeddings/11_embeddings.py:637
↓ 8 callersMethodfromClass
(t,n)
book/tools/scripts/socratiQ/bundle.js:5646
↓ 8 callersMethodfromClass
(t,n)
book/quarto/tools/scripts/socratiQ/bundle.js:5646
↓ 8 callersMethodgetAstNodePath
(e)
book/tools/scripts/socratiQ/bundle.js:3442
↓ 8 callersMethodgetAstNodePath
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:3442
↓ 8 callersMethodgetAttribute
(e)
book/tools/scripts/socratiQ/bundle.js:8373
↓ 8 callersMethodgetAttribute
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:8373
↓ 8 callersMethodgetCurrentChapterStats
()
book/tools/scripts/socratiQ/bundle.js:6168
↓ 8 callersMethodgetCurrentChapterStats
()
book/quarto/tools/scripts/socratiQ/bundle.js:6168
↓ 8 callersFunctiongetLevelDef
(id: string)
interviews/staffml/src/lib/levels.ts:70
↓ 8 callersFunctiongetOutputChannel
()
book/vscode-ext/src/utils/terminal.ts:52
↓ 8 callersFunctiongetSession
()
tinytorch/quarto/community/modules/state.js:16
↓ 8 callersMethodgetText
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:3339
↓ 8 callersMethodgetTextColor
()
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-visualization.js:20
↓ 8 callersMethodgetTickValues
()
book/tools/scripts/socratiQ/bundle.js:3887
↓ 8 callersMethodgetTickValues
()
book/quarto/tools/scripts/socratiQ/bundle.js:3887
↓ 8 callersFunctiongetTracks
()
interviews/staffml/src/lib/corpus.ts:151
↓ 8 callersMethodget_text
(self, kind)
book/tests/test_pdf_layout_checks.py:699
↓ 8 callersFunctiongradeNapkinAnswer
( userText: string, modelText: string, track: string, )
interviews/staffml/src/lib/corpus.ts:554
↓ 8 callersFunctionh0
(e)
book/tools/scripts/socratiQ/bundle.js:7037
↓ 8 callersFunctionh0
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:7037
↓ 8 callersFunctionhZ
(e,t)
book/tools/scripts/socratiQ/bundle.js:5695
↓ 8 callersFunctionhZ
(e,t)
book/quarto/tools/scripts/socratiQ/bundle.js:5695
↓ 8 callersMethodhasResult
()
book/tools/scripts/socratiQ/bundle.js:5649
↓ 8 callersMethodhasResult
()
book/quarto/tools/scripts/socratiQ/bundle.js:5649
↓ 8 callersMethodhasValue
(e)
book/tools/scripts/socratiQ/bundle.js:8373
↓ 8 callersMethodhasValue
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:8373
↓ 8 callersFunctionih
(e,t,n,r=100,i=0,a=180)
book/tools/scripts/socratiQ/bundle.js:2630
↓ 8 callersFunctionih
(e,t,n,r=100,i=0,a=180)
book/quarto/tools/scripts/socratiQ/bundle.js:2630
↓ 8 callersMethodinitialize
* Initialize the UI system
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5683
↓ 8 callersMethodinitialize
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 8 callersFunctionjsonResponse
(data, status, headers)
interviews/staffml/analytics-worker/worker.js:275
↓ 8 callersFunctionk7
(e,t)
book/tools/scripts/socratiQ/bundle.js:8373
↓ 8 callersFunctionk7
(e,t)
book/quarto/tools/scripts/socratiQ/bundle.js:8373
↓ 8 callersFunctionkJ
()
book/tools/scripts/socratiQ/bundle.js:5695
↓ 8 callersFunctionkJ
()
book/quarto/tools/scripts/socratiQ/bundle.js:5695
↓ 8 callersFunctionkn
(e)
book/tools/scripts/socratiQ/bundle.js:2150
↓ 8 callersFunctionkn
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:2150
↓ 8 callersFunctionln
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:2150
↓ 8 callersFunctionmT
(e)
book/tools/scripts/socratiQ/bundle.js:3324
↓ 8 callersFunctionmT
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:3324
↓ 8 callersFunctionmagnitude_prune
Remove weights with smallest magnitudes to achieve target sparsity. TODO: Implement global magnitude-based pruning APPROACH: 1. Col
tinytorch/src/16_compression/16_compression.py:500
↓ 8 callersFunctionmake_dam
(chapter, name, *, focus="all", vol="vol1", style="triangle")
book/tools/scripts/margin_figures/generate_margin_figures.py:250
↓ 8 callersFunctionmake_ironbar
(chapter, name, segs, *, dom=1, style="stacked")
book/tools/scripts/margin_figures/generate_margin_figures.py:244
↓ 8 callersFunctionmake_roofline_points
Draw a margin roofline with one or more labeled operating points.
book/tools/scripts/margin_figures/generate_margin_figures.py:178
↓ 8 callersFunctionmake_sparkline
(chapter, name, *, threat=True, style="gap", steep=1.8, saturating=False, endpoints=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:166
↓ 8 callersMethodmatchAll
(e,t)
book/tools/scripts/socratiQ/bundle.js:5696
↓ 8 callersFunctionmeasure_roofline
Wrap a hot loop and emit a roofline sidecar on exit. Usage: with measure_roofline("nanogpt-prefill", analy
mlperf-edu/src/mlperf/roofline.py:119
↓ 8 callersFunctionnh
(e,t,n,r)
book/tools/scripts/socratiQ/bundle.js:2629
↓ 8 callersFunctionnh
(e,t,n,r)
book/quarto/tools/scripts/socratiQ/bundle.js:2629
↓ 8 callersFunctionnormalize_track_id
Normalize canonical and legacy track IDs to the canonical profile ID.
labs/mlsysbook_labs/tracks.py:102
↓ 8 callersMethodonClose
()
book/quarto/tools/scripts/socratiQ/bundle.js:3341
↓ 8 callersMethodonData
(e)
book/tools/scripts/socratiQ/bundle.js:3341
↓ 8 callersMethodonData
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:3341
↓ 8 callersMethodonMessage
(e, t, o)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10033
↓ 8 callersFunctionpack_batches
Pack ``items`` into batches that fit within ``max_chars`` total. The character budget is computed against the JSON-serialized payload of each
interviews/vault-cli/scripts/_batching.py:34
↓ 8 callersFunctionpage_text
(page)
labs/tools/interaction_lab_smoke.py:349
↓ 8 callersMethodparameters
Return all trainable parameters.
tinytorch/src/11_embeddings/11_embeddings.py:1281
↓ 8 callersMethodparameters
(self)
tinytorch/src/08_training/08_training.py:912
↓ 8 callersMethodparameters
(self)
tinytorch/tests/integration/test_shapes.py:36
↓ 8 callersFunctionpatch
(m)
book/quarto/scripts/epub_postprocess.py:347
↓ 8 callersFunctionpickModule
(argNumber?: string)
tinytorch/vscode-ext/src/commands/moduleCommands.ts:30
↓ 8 callersMethodprocessCommand
(e,t,n)
book/tools/scripts/socratiQ/bundle.js:5716
↓ 8 callersMethodprocessCommand
(e,t,n)
book/quarto/tools/scripts/socratiQ/bundle.js:5716
↓ 8 callersFunctionq_
(e,t)
book/tools/scripts/socratiQ/bundle.js:2702
↓ 8 callersFunctionq_
(e,t)
book/quarto/tools/scripts/socratiQ/bundle.js:2702
↓ 8 callersMethodrelu
(x)
tinytorch/tests/integration/test_forward_passes.py:43
↓ 8 callersMethodremoveActiveTooltip
* Remove active tooltip
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5850
↓ 8 callersMethodremoveActiveTooltip
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 8 callersMethodremoveEdge
(e,t,n)
book/tools/scripts/socratiQ/bundle.js:2699
↓ 8 callersMethodremoveEdge
(e,t,n)
book/quarto/tools/scripts/socratiQ/bundle.js:2699
↓ 8 callersMethodrender
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/ui-handler.js:137
↓ 8 callersMethodreplaceSelections
(e)
book/tools/scripts/socratiQ/bundle.js:5726
↓ 8 callersMethodreplaceSelections
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:5726
↓ 8 callersMethodreset
Reset cache for new generation sequence. Call this when starting a new generation (new prompt). Resets the sequence position
tinytorch/src/18_memoization/18_memoization.py:645
↓ 8 callersFunctionresolve_output_format
Resolve command-local output override, falling back to global state.
mlsysim/mlsysim/cli/context.py:36
↓ 8 callersFunctionrh
(e,t,n,r=100,i=0,a=180)
book/tools/scripts/socratiQ/bundle.js:2630
↓ 8 callersFunctionrh
(e,t,n,r=100,i=0,a=180)
book/quarto/tools/scripts/socratiQ/bundle.js:2630
↓ 8 callersFunctionroundedFloorForDisplay
(n: number)
interviews/staffml/src/lib/corpus.ts:139
↓ 8 callersMethodrun
(e)
book/quarto/tools/scripts/socratiQ/bundle.js:8373
↓ 8 callersMethodrun
Run the test suite.
tinytorch/tito/commands/dev/test.py:127
↓ 8 callersFunctionscrollToTopSmooth
(shadowRoot)
socratiq/src_shadow/js/libs/utils/utils.js:220
↓ 8 callersMethodselection
(t)
book/tools/scripts/socratiQ/bundle.js:5649
↓ 8 callersMethodselection
(t)
book/quarto/tools/scripts/socratiQ/bundle.js:5649
↓ 8 callersFunctionsetSelectedTrack
(track: string | null)
interviews/staffml/src/app/page.tsx:53
↓ 8 callersMethodsetText
(e,t,n)
book/tools/scripts/socratiQ/bundle.js:5699
↓ 8 callersMethodsetText
(e,t,n)
book/quarto/tools/scripts/socratiQ/bundle.js:5699
↓ 8 callersFunctionsetVisibility
(state: 'visible' | 'hidden')
interviews/staffml/src/__tests__/use-visibility-poll.test.tsx:17
↓ 8 callersMethodsetup_symlink
Setup _quarto.yml symlink for the specified format and optional volume. Args: format_type: Format type ('html', 'pdf', 'epub')
book/cli/core/config.py:164
↓ 8 callersFunctionshort_path
(path: Path)
book/tools/scripts/bib_mitpress_openai.py:114
↓ 8 callersMethodsoftmax
(x, dim=-1)
tinytorch/tests/integration/test_shapes.py:58
↓ 8 callersMethodsolve
Calculates the TCO for a fleet over a specified duration. Parameters ---------- fleet : Fleet The hardwa
mlsysim/mlsysim/engine/solvers/economics.py:185
↓ 8 callersFunctionstate_capacity
Estimate concurrent inference state capacity for the selected track.
labs/mlsysbook_labs/inference.py:183
← previousnext →2,001–2,100 of 30,677, ranked by callers