MCPcopy Create free account

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

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

↓ 36 callersMethodmatmul
Matrix multiplication of two tensors. Validates shapes via _validate_matmul_shapes, then computes the product. For 2D matrices, uses
tinytorch/src/01_tensor/01_tensor.py:538
↓ 36 callersFunctionreport_export_panel
Return local download controls plus an optional visible Markdown fallback.
labs/mlsysbook_labs/reports.py:262
↓ 36 callersFunctiontrack_arc_context
Render the selected track's cross-lab narrative without registry provenance.
labs/mlsysbook_labs/ui.py:938
↓ 36 callersFunctionv2_07_fmt
(value, digits=2)
labs/vol2/lab_07_fault_tolerance.py:639
↓ 35 callersMethodfigure
(*args, **kwargs)
tinytorch/src/19_benchmarking/19_benchmarking.py:217
↓ 35 callersFunctionget_lab_metadata
Return version metadata for a lab path such as ``vol1/lab_01_ml_intro.py``.
labs/mlsysbook_labs/catalog.py:288
↓ 35 callersMethodload
(cls, path: Path)
interviews/vault-cli/src/vault_cli/ship.py:88
↓ 35 callersMethodrelu
(x)
tinytorch/tests/integration/test_shapes.py:46
↓ 35 callersFunctionshowProgressItem
(clone, index)
socratiq/src_shadow/js/components/progress/progress.js:182
↓ 35 callersFunctiontitoTerminalCommand
(subcommand: string)
tinytorch/vscode-ext/src/utils/tito.ts:112
↓ 35 callersFunctiontrack_context
Render the selected track profile as a student-facing mission.
labs/mlsysbook_labs/ui.py:903
↓ 35 callersFunctiontrack_selector
Return a Marimo radio selector for the canonical student tracks.
labs/mlsysbook_labs/ui.py:864
↓ 34 callersFunction_coerce_unit
Return a Pint Unit from a Pint unit-like object or unit string.
mlsysim/mlsysim/fmt.py:393
↓ 34 callersMethodflatten
(x, start_dim=1)
tinytorch/tests/integration/test_shapes.py:70
↓ 34 callersFunctionh
(e,t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 34 callersMethodload_async
Async load for WASM environments using IndexedDB.
mlsysim/mlsysim/labs/state.py:64
↓ 34 callersFunctionnative_bootstrap
Add repo root to sys.path for editable/local mlsysim imports.
labs/bootstrap.py:18
↓ 34 callersFunctiono
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 34 callersMethodzero_grad
(self)
tinytorch/tests/08_training/test_training_core.py:232
↓ 33 callersMethodclear
* Clear all records from a store
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7317
↓ 33 callersFunctiongetDBInstance
(dbName = 'socratiqDB')
socratiq/src_shadow/js/libs/utils/indexDb.js:319
↓ 33 callersMethodget_track
(self)
mlsysim/mlsysim/labs/state.py:184
↓ 33 callersMethodstep
Apply action and simulate one timestep. Returns: (next_state, reward, done, info)
mlperf-edu/reference/cloud/micro_rl.py:87
↓ 33 callersMethodtoggle
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4741
↓ 32 callersFunction_lit
Creates a Provenance object for peer-reviewed literature or academic whitepapers.
mlsysim/mlsysim/core/provenance_catalog.py:27
↓ 32 callersMethodforward
Forward pass: lookup embeddings for given indices. Args: indices: Token indices of shape (batch_size, seq_len) or (seq_l
tinytorch/src/11_embeddings/11_embeddings.py:412
↓ 31 callersMethodadd
(self, layer)
tinytorch/tests/integration/test_layers_integration.py:24
↓ 31 callersMethoddestroy
* Clean up the component
socratiq/src_shadow/js/components/spaced_repetition/components/CardReviewModalBridge.js:75
↓ 31 callersFunctionfmt_count
Format a **count** (a dimensionless tally of things), optionally with a magnitude scale glyph. Replaces the ``fmt(value / MILLION, suffi
mlsysim/mlsysim/fmt.py:1178
↓ 31 callersFunctionfmt_time
Format a duration with time-specific checks and defaults. ``fmt_qty`` remains the generic physical-quantity formatter. ``fmt_time`` exists be
mlsysim/mlsysim/fmt.py:2080
↓ 31 callersFunctionrect
(ax, x, y, w, h, color, ec="white", lw=0.5, alpha=1.0)
book/tools/scripts/margin_figures/generate_margin_figures.py:99
↓ 30 callersFunction_field
(entry, *names: str)
book/tools/bib_sync_preserve.py:99
↓ 30 callersFunctionload_file
Load a YAML file with all hardening rules enforced.
interviews/vault-cli/src/vault_cli/yaml_io.py:74
↓ 30 callersFunctionn
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 30 callersMethodupdate
(data)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-visualization.js:49
↓ 29 callersMethoddelete
(storeName, key)
socratiq/src_shadow/js/libs/utils/indexDb.js:109
↓ 29 callersFunctionfmt_rate
Format a non-physical count throughput such as QPS or tokens/s. Physical rates (``GB/s``, ``TFLOP/s``, ``W``) remain ``fmt_qty`` values. This
mlsysim/mlsysim/fmt.py:1434
↓ 29 callersMethodrun
Executes the benchmark scenario. Args: query_handler: An asynchronous function that processes a batch of QuerySa
mlperf-edu/src/mlperf/loadgen.py:50
↓ 28 callersFunctionadd_issue
( issues: list[Issue], severity: str, category: str, code: str, path: Path, qid: str |
interviews/vault/scripts/audit_yaml_corpus.py:70
↓ 28 callersFunctionenable_autograd
Enable gradient tracking for all Tensor operations. This function enhances the existing Tensor class with autograd capabilities. Call th
tinytorch/src/06_autograd/06_autograd.py:2395
↓ 27 callersFunctionT
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 27 callersMethodcheck
(self, name: str, passed: bool, detail: str = "")
mlperf-edu/scripts/compliance_checker.py:115
↓ 27 callersFunctionesc
(text: str | None)
book/tools/scripts/margin_figures/render_margin_reader_alignment_html.py:51
↓ 27 callersFunctionlist_lab_variants
Return all track variants for a lab ID.
labs/mlsysbook_labs/variants.py:4018
↓ 26 callersMethodbroadcastMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:472
↓ 26 callersMethodbroadcastMessage
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 26 callersFunctioncheck_file
(path: Path)
book/cli/checks/fmt_prose_contract.py:281
↓ 26 callersMethoddispose
()
book/vscode-ext/src/providers/qmdChunkHighlighter.ts:880
↓ 26 callersFunctionfmt_int
Format a value as an integer for narrative text. Explicit source-level opt-in for integer display of computed values. Rounds half away f
mlsysim/mlsysim/fmt.py:609
↓ 26 callersFunctionget_dataloaders
Returns (train_loader, val_loader) for the given workload. This is the single entry point that auto_trainer.py should use.
mlperf-edu/reference/dataset_factory.py:423
↓ 25 callersFunctionMathPeek
A small toggle to reveal the underlying physics.
mlsysim/mlsysim/labs/components.py:160
↓ 25 callersFunction_conv
Creates a Provenance object for widely accepted industry conventions.
mlsysim/mlsysim/core/provenance_catalog.py:65
↓ 25 callersFunctioncolorValue
(value: string)
book/vscode-ext/src/providers/qmdChunkHighlighter.ts:13
↓ 25 callersFunctionenableTooltip
(element, text, shadowRoot)
socratiq/src_shadow/js/components/tooltip/tooltip.js:139
↓ 25 callersFunctionposition_in_spans
True if `pos` falls inside any of the (start, end) spans. Half-open: [start, end). Linear scan; spans are typically <10 per line.
book/tools/audit/protected_contexts.py:452
↓ 25 callersFunctiont
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 25 callersMethodupdateNotification
(id, message, type = 'success')
socratiq/src_shadow/js/components/spaced_repetition/handlers/ui-notification-handler.js:73
↓ 24 callersFunction_ds
Creates a Provenance object for a hardware datasheet or technical specification.
mlsysim/mlsysim/core/provenance_catalog.py:8
↓ 24 callersMethodannotate
(*args, **kwargs)
tinytorch/src/19_benchmarking/19_benchmarking.py:223
↓ 24 callersFunctionerror
(message: str)
site/newsletter/cli/core/console.py:44
↓ 24 callersFunctionfloatText
(stage, x, y, text, color, opts = {})
site/assets/games/runtime.mjs:264
↓ 24 callersMethodisatty
(self)
tinytorch/tests/cli/test_progress_sync.py:66
↓ 24 callersFunctionsimple_trainer
(lr=0.01, scheduler=None, grad_clip=None)
tinytorch/tests/08_training/test_training_coverage.py:48
↓ 24 callersMethodstart
(self)
tinytorch/tito/core/auth.py:284
↓ 24 callersFunctionv2_09_ms
(value, digits=1)
labs/vol2/lab_09_perf_engineering.py:104
↓ 24 callersFunctionvalidate_nonnegative
Ensure a numeric value is non-negative (>= 0).
mlsysim/mlsysim/core/_validation.py:16
↓ 23 callersFunction_ensure_grad_attrs
Ensure tensor has gradient attributes (for tensors created before enable_autograd).
tinytorch/src/06_autograd/06_autograd.py:2473
↓ 23 callersFunctionflash
(stage, color, ms = 220, alpha = 0.40)
site/assets/games/runtime.mjs:209
↓ 23 callersMethodload
Loads the ledger from the best available persistent storage.
mlsysim/mlsysim/labs/state.py:47
↓ 23 callersFunctionload_corpus
()
interviews/vault/vault.py:92
↓ 23 callersFunctionnew_fig
set_book_style() (book Helvetica stack + semantic palette) + margin overrides (~5.5pt, no grid) + the device's native figsize. `svg.fonttype='path
book/tools/figures/margin/devices.py:90
↓ 23 callersFunctionread_source
(lab_path: str)
labs/tests/test_static.py:33
↓ 23 callersFunctionrequire_dimensionality
Parse a value as a Quantity and validate its physical dimension. This catches obvious unit errors such as watts in a latency field. The unit-
mlsysim/mlsysim/core/types.py:21
↓ 22 callersFunction_est
Creates a Provenance object for expert estimates or rules of thumb.
mlsysim/mlsysim/core/provenance_catalog.py:46
↓ 22 callersMethodadvance
Advance sequence position after processing current token. Call this after all layers have processed the current token and up
tinytorch/src/18_memoization/18_memoization.py:636
↓ 22 callersFunctione
(t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 22 callersMethodgrid
(*args, **kwargs)
tinytorch/src/19_benchmarking/19_benchmarking.py:235
↓ 22 callersFunctionjsonResponse
(env: Env, origin: string | null, body: unknown, status = 200)
interviews/staffml/worker/src/index.ts:663
↓ 22 callersFunctionopenModal
(mode = 'signup')
tinytorch/quarto/community/modules/auth.js:425
↓ 22 callersFunctionrun_tito
Run a tito command and return (exit_code, stdout, stderr).
tinytorch/tests/e2e/test_user_journey.py:32
↓ 22 callersMethodunshift
()
socratiq/src_shadow/js/libs/vector_db/vectordb/db/vectorDB/utils/SortedArray_lodash.js:16
↓ 21 callersFunction_write
(tmp_path, body: str)
book/tests/test_fmt_prose_contract.py:11
↓ 21 callersFunctioncorsHeaders
(env: Env, origin: string | null)
interviews/staffml-vault-worker/src/index.ts:124
↓ 21 callersMethoddelete
* Delete a record
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7299
↓ 21 callersMethodforward
Forward pass through multi-head attention. TODO: Compose the helpers into the complete multi-head attention forward pass AP
tinytorch/src/12_attention/12_attention.py:793
↓ 21 callersFunctionget_module_mapping
Get the module number to folder name mapping (auto-discovered).
tinytorch/tito/core/modules.py:66
↓ 21 callersFunctiono
(e,t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 21 callersMethodregister
Manually register an item.
mlsysim/mlsysim/core/registry/plugin_manager.py:40
↓ 21 callersFunctions
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 20 callersFunction_norm_token
(text: str)
book/tools/bib_sync_preserve.py:62
↓ 20 callersFunction_numeric_magnitude
Return a plain float magnitude for fmt safety checks. All numeric formatters funnel their value extraction through here, so the finite guard
mlsysim/mlsysim/fmt.py:60
↓ 20 callersFunction_stage
Create a release stage with a stable ID and exact Binder argv.
book/cli/commands/release.py:90
↓ 20 callersFunctioncheck_grad
Assert analytical gradient from backward() matches finite-difference gradient. Both paths go through float32 (Tensor's dtype) so precision i
tinytorch/tests/06_autograd/test_gradient_correctness.py:87
↓ 20 callersFunctioncurated_asset_name
(candidate_id: str)
book/tools/scripts/margin_figures/generate_margin_figures.py:95
↓ 20 callersFunctiond
(e,t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 20 callersFunctionload_all
Load every YAML under vault/questions/. Returns loaded + errors (never raises). v1.1: chains are joined from chains.json after parsing. Question
interviews/vault-cli/src/vault_cli/loader.py:82
↓ 20 callersMethodmeasure_latency
Measure model inference latency with statistical rigor. TODO: Implement accurate latency measurement APPROACH: 1. R
tinytorch/src/14_profiling/14_profiling.py:599
↓ 20 callersMethodobserve
()
interviews/staffml/src/__tests__/setup.ts:28
↓ 20 callersMethodrun
(self, args: List[str])
book/cli/commands/bib.py:42
↓ 20 callersFunctionv1_15_clamp
(value, low, high)
labs/vol1/lab_15_responsible_engr.py:479
← previousnext →101–200 of 13,553, ranked by callers