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
↓ 20 callers
Function
v2_05_pct
(value, digits=0)
labs/vol2/lab_05_dist_train.py:135
↓ 19 callers
Function
O
(e,t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 19 callers
Function
_row
(qid: str, solution: str)
interviews/vault-cli/tests/test_release.py:36
↓ 19 callers
Method
evaluate
(self, dataset)
tinytorch/src/19_benchmarking/19_benchmarking.py:3891
↓ 19 callers
Function
fmt_percent
Format a 0-1 **ratio** as a percentage. The single canonical domain for percentages: the input is always a fraction in ``[0, 1]`` (``0.85`` →
mlsysim/mlsysim/fmt.py:830
↓ 19 callers
Function
fmt_pp
Format a difference of two percentages as **percentage points**. Distinct from ``fmt_percent``: the input is already on the ``0-100`` point
mlsysim/mlsysim/fmt.py:1061
↓ 19 callers
Function
info
(message: str)
site/newsletter/cli/core/console.py:48
↓ 19 callers
Function
make_config
(project_root: Path)
tinytorch/tests/cli/test_nbgrader_command.py:14
↓ 19 callers
Method
print_help
Print the `binder clean` command reference.
book/cli/commands/clean.py:196
↓ 19 callers
Function
quote
* Conservative YAML string quoter. Always uses double quotes and escapes * the few characters that matter inside double-quoted YAML strings.
design-grammar/scripts/migrate-html-to-yaml.mjs:371
↓ 19 callers
Function
stale_visible
(page)
labs/tools/interaction_lab_smoke.py:381
↓ 19 callers
Function
tween
(target, prop, from, to, ms, ease = "outCubic")
site/assets/games/runtime.mjs:307
↓ 19 callers
Function
validate_positive
Ensure a numeric value is strictly positive (> 0).
mlsysim/mlsysim/core/_validation.py:9
↓ 19 callers
Function
yaml_scalar
(value: object)
scripts/cross-references/audit_crossrefs.py:275
↓ 18 callers
Function
_fail
(tier: str, check: str, *, message: str, qid: str | None = None, path: Path | None = None)
interviews/vault-cli/src/vault_cli/validator.py:43
↓ 18 callers
Function
codes_for
(text: str)
book/tests/test_audit_prose_semantics.py:16
↓ 18 callers
Function
json
( body: unknown, init: ResponseInit & { etag?: string; degradedReason?: string; releaseId?: st
interviews/staffml-vault-worker/src/index.ts:143
↓ 18 callers
Method
parameters
Return all learnable parameters.
tinytorch/src/13_transformers/13_transformers.py:788
↓ 18 callers
Function
ratio_annotation_ladder
Two or more measured tiers, with the ratio rendered as annotation text. Use this when the prose names both concrete quantities and a derived rati
book/tools/scripts/margin_figures/generate_margin_figures.py:400
↓ 18 callers
Function
rel
(path: Path)
book/tools/scripts/audit/validate_concept_maps.py:37
↓ 18 callers
Method
size_in_bytes
(self, precision: Quantity = BYTES_FP16)
mlsysim/mlsysim/models/types.py:154
↓ 18 callers
Function
v2_10_metric_card
(label, value, subvalue="", color=None)
labs/vol2/lab_10_inference.py:397
↓ 18 callers
Function
validate_range
Ensure a numeric value is within [lo, hi].
mlsysim/mlsysim/core/_validation.py:23
↓ 18 callers
Function
vectorized_matmul
High-performance matrix multiplication using vectorized operations. This implementation leverages optimized BLAS libraries that use: - S
tinytorch/src/17_acceleration/17_acceleration.py:241
↓ 17 callers
Function
burst
(stage, x, y, color, count = 8, spreadOpts = {})
site/assets/games/runtime.mjs:234
↓ 17 callers
Method
forward
(self, x)
tinytorch/tests/integration/test_forward_passes.py:249
↓ 17 callers
Method
get_lr
Get learning rate for current epoch.
tinytorch/src/08_training/08_training.py:252
↓ 17 callers
Function
initDB
()
socratiq/src_shadow/js/components/quiz/quiz-storage.js:37
↓ 17 callers
Function
make_module
(project_root: Path, module_name: str = "01_tensor")
tinytorch/tests/cli/test_nbgrader_command.py:18
↓ 17 callers
Function
runInTerminal
(command: string, cwd: string, label: string)
tinytorch/vscode-ext/src/utils/terminal.ts:82
↓ 17 callers
Method
saveToLocalStorage
(fullChapterSets = null)
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:89
↓ 17 callers
Method
solve
Solves for LLM serving performance. Parameters ---------- model : TransformerWorkload The primary model
mlsysim/mlsysim/engine/solvers/serving.py:53
↓ 17 callers
Function
updateMarkdownPreview
(text, clone, isResearch = 0, markdownPreviewId = '')
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:1015
↓ 17 callers
Function
v2_01_fmt_pct
(value)
labs/vol2/lab_01_introduction.py:318
↓ 17 callers
Function
v2_09_metric_card
(label, value, subvalue="", color=None, danger=False)
labs/vol2/lab_09_perf_engineering.py:471
↓ 17 callers
Function
v2_12_fmt_number
(value, digits=1)
labs/vol2/lab_12_ops_scale.py:281
↓ 16 callers
Function
_metric_card
(label, value, detail, color, border=False)
labs/vol1/lab_01_ml_intro.py:738
↓ 16 callers
Function
_metric_card
(label, value, detail, color, border=False)
labs/vol1/lab_14_ml_ops.py:624
↓ 16 callers
Method
_repo_root
(self)
book/cli/commands/layout.py:773
↓ 16 callers
Method
add
(self, name: str, ok: bool, detail: str = "")
mlperf-edu/src/mlperf/manifest.py:273
↓ 16 callers
Method
apply
(editor: vscode.TextEditor | undefined)
book/vscode-ext/src/providers/qmdAutoFoldManager.ts:44
↓ 16 callers
Function
counter_to_dict
(counter: Counter[Any], sep: str = ":")
interviews/vault/scripts/plan_gap_improvements.py:170
↓ 16 callers
Method
delete
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 16 callers
Function
getElement
(selector)
socratiq/src_shadow/js/components/onboarding/socratiq-onboarding.js:182
↓ 16 callers
Method
parameters
(self)
tinytorch/tests/08_training/test_training_coverage.py:344
↓ 16 callers
Method
parse
* Parse markdown text to HTML * @param {string} markdown - Markdown text * @returns {string} HTML string
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11658
↓ 16 callers
Function
record
(name, ok, detail = "")
interviews/staffml/tests/chain-and-vault-smoke.mjs:28
↓ 16 callers
Method
show
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:4744
↓ 16 callers
Method
step
(self)
tinytorch/tests/08_training/test_training_core.py:229
↓ 16 callers
Function
tsStr
(s)
interviews/staffml/scripts/sync-design-grammar.mjs:282
↓ 16 callers
Function
v1_15_metric_card
(label, value, detail, color, border=False)
labs/vol1/lab_15_responsible_engr.py:482
↓ 16 callers
Function
v2_04_format
(value, digits=1, suffix="")
labs/vol2/lab_04_data_storage.py:117
↓ 16 callers
Function
v2_14_metric_card
(label, value, subvalue="", color=None)
labs/vol2/lab_14_robust_ai.py:743
↓ 16 callers
Function
v2_15_metric_card
(label, value, subvalue="", color=None)
labs/vol2/lab_15_sustainable_ai.py:199
↓ 16 callers
Function
v2_16_metric_card
(title, value, subtitle, color, strong=False)
labs/vol2/lab_16_responsible_ai.py:140
↓ 15 callers
Function
D
(e,t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 15 callers
Function
_chain
(*qids)
interviews/vault-cli/tests/test_chain_validation.py:66
↓ 15 callers
Function
_char
(x0, bottom, text="x", x1=None)
book/tests/test_pdf_layout_checks.py:174
↓ 15 callers
Function
_clean
(ax, keep=())
book/tools/figures/margin/devices.py:106
↓ 15 callers
Function
_const_str
(node)
book/tools/audit/fmt/codemod_fmt.py:54
↓ 15 callers
Function
_get_requires_grad
Safely get requires_grad, defaulting to False for pre-autograd tensors. Also returns False when inside a no_grad() context, since we should
tinytorch/src/06_autograd/06_autograd.py:2463
↓ 15 callers
Function
c
(e,t)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 15 callers
Function
check2empty
()
labs/vol1/lab_00_introduction.py:1599
↓ 15 callers
Function
computeSummary
(events?: StoredEvent[])
interviews/staffml/src/lib/analytics.ts:245
↓ 15 callers
Method
count_parameters
Count total trainable parameters in a model. TODO: Implement parameter counting for any model with parameters() method APPR
tinytorch/src/14_profiling/14_profiling.py:356
↓ 15 callers
Method
decode
Convert list of token IDs back to text. TODO: Implement decoding logic in subclasses APPROACH: 1. Subclasses will o
tinytorch/src/10_tokenization/10_tokenization.py:345
↓ 15 callers
Function
dump_str
Serialize for writing vault YAML with stable formatting.
interviews/vault-cli/src/vault_cli/yaml_io.py:80
↓ 15 callers
Method
encode
Convert text to a list of token IDs. TODO: Implement encoding logic in subclasses APPROACH: 1. Subclasses will over
tinytorch/src/10_tokenization/10_tokenization.py:321
↓ 15 callers
Method
forward
Compute mean squared error between predictions and targets. TODO: Implement MSE loss calculation APPROACH: 1. Compu
tinytorch/src/04_losses/04_losses.py:419
↓ 15 callers
Function
getAnalyticsEvents
()
interviews/staffml/src/lib/analytics.ts:196
↓ 15 callers
Method
get_progress_data
Get current progress data from .tito/progress.json.
tinytorch/tito/commands/module/workflow.py:1294
↓ 15 callers
Method
log_debug
Log debug message if debug mode is enabled.
book/quarto/scripts/clean_svgs.py:77
↓ 15 callers
Function
lossY
(x)
site/assets/games/lander.mjs:137
↓ 15 callers
Function
measure_sparsity
Calculate the percentage of zero weights in a model. TODO: Count zero weights and total weights across all layers APPROACH: 1. Iter
tinytorch/src/16_compression/16_compression.py:354
↓ 15 callers
Function
quantize_int8
Quantize FP32 tensor to INT8 using asymmetric (min-max) quantization. TODO: Implement INT8 quantization with scale and zero_point calculatio
tinytorch/src/15_quantization/15_quantization.py:449
↓ 15 callers
Function
runBookCommand
(command: string, cwd: string, options: RunOptions = {})
book/vscode-ext/src/utils/terminal.ts:182
↓ 15 callers
Method
run_git_command
Run a git command and return success status and output
book/tools/scripts/maintenance/repo_health_check.py:32
↓ 15 callers
Method
solve
Calculate energy, carbon, and water footprint for a fleet operation. Implements the formula contract in the class docstring: per-dev
mlsysim/mlsysim/engine/solvers/economics.py:50
↓ 15 callers
Method
status
Current aggregated status across all tracked files.
book/vscode-ext/src/validation/healthManager.ts:65
↓ 15 callers
Function
table_rows
(items: list[dict[str, Any]], fields: list[str])
interviews/vault/scripts/plan_gap_improvements.py:808
↓ 15 callers
Function
to_visible
Return the reader-visible characters of a (ref-substituted) prose line.
book/tools/audit/fmt/visible_text.py:47
↓ 15 callers
Function
v1_13_metric_card
(label, value, detail, color, border=False)
labs/vol1/lab_13_model_serving.py:246
↓ 15 callers
Function
v2_06_status_label
(ok)
labs/vol2/lab_06_collective_communication.py:158
↓ 15 callers
Function
v2_08_metric_card
(label, value, detail, color, border=False)
labs/vol2/lab_08_fleet_orch.py:318
↓ 14 callers
Function
_clamp
(value: float, low: float, high: float)
labs/mlsysbook_labs/responsibility.py:143
↓ 14 callers
Method
_generate
Stage source assignments from TinyTorch notebooks.
tinytorch/tito/commands/nbgrader.py:315
↓ 14 callers
Function
_registry_nodes
Yields all Sourced AST nodes found in the target registry file.
mlsysim/mlsysim/tools/audit_provenance.py:56
↓ 14 callers
Function
exit_with_code
(code: ExitCode, message: str = "")
mlsysim/mlsysim/cli/exceptions.py:12
↓ 14 callers
Function
extractFinalNumber
(text: string)
interviews/staffml/src/lib/corpus.ts:427
↓ 14 callers
Function
fmt_multiple
Format a multiplier / speedup / scaling factor with its times glyph. The multiplier glyph is part of the value-kind, so this helper owns it:
mlsysim/mlsysim/fmt.py:1117
↓ 14 callers
Method
from_project_root
Create config from project root directory.
tinytorch/tito/core/config.py:38
↓ 14 callers
Method
getThemeClasses
* Get theme-aware CSS classes
socratiq/src_shadow/js/libs/utils/theme-manager.js:173
↓ 14 callers
Function
is_orientation
(lab_path: str)
labs/tests/test_protocol.py:46
↓ 14 callers
Function
n
(e,t,n)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 14 callers
Method
parameters
Return all learnable parameters.
tinytorch/src/13_transformers/13_transformers.py:1437
↓ 14 callers
Method
parameters
(self)
tinytorch/src/08_training/08_training.py:1543
↓ 14 callers
Method
parse
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 14 callers
Function
read_source
(lab_path: str)
labs/tests/test_protocol.py:37
↓ 14 callers
Function
scalar
(value: Any)
scripts/cross-references/merge_crossref_reports.py:83
↓ 14 callers
Function
selection_utility
Evaluate utility, cost, coverage, rare-event score, and feasibility.
labs/mlsysbook_labs/selection.py:264
← previous
next →
201–300 of 13,553, ranked by callers