MCPcopy Create free account

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

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

↓ 3 callersMethod_estimate_backward_costs
Estimate backward pass compute costs from forward pass measurements. ``` Backward Pass Cost Estimation: Backward FLO
tinytorch/src/14_profiling/14_profiling.py:794
↓ 3 callersMethod_estimate_optimizer_memory
Estimate additional memory required by different optimizers. ``` Optimizer Memory Requirements: ┌───────────┬───────
tinytorch/src/14_profiling/14_profiling.py:823
↓ 3 callersMethod_extract_pipe_tables
(self, qmd_path: Path)
book/cli/commands/layout.py:846
↓ 3 callersMethod_extract_text_from_inlines
Extract plain text from pypandoc inline elements.
book/tools/scripts/content/manage_captions.py:3473
↓ 3 callersMethod_extract_title
Extract the bold title from a caption.
book/cli/commands/info.py:811
↓ 3 callersFunction_fallback_label
Human-readable fallback when a label has no caption or title attribute.
book/quarto/scripts/resolve_cross_references.py:147
↓ 3 callersMethod_fig_display_number
Return the display number for a figure.
book/cli/commands/info.py:830
↓ 3 callersMethod_formatRequestForProvider
* Format request body for different providers * @param {Array} messages - Message array * @param {Object} config - API configuration * @param
socratiq/src_shadow/js/libs/agents/custom-api-adapter.js:188
↓ 3 callersFunction_formatTime
(totalSec)
socratiq/src_shadow/js/components/meditation/meditationTimer.js:522
↓ 3 callersMethod_format_file_size
Convert bytes to human-readable format.
book/quarto/publish/compress_pdf.py:132
↓ 3 callersMethod_generate
Run the autoregressive generator on context + retrieved tokens. Args: context_ids: (B, T) token IDs (query + retrieved p
mlperf-edu/reference/cloud/nano_rag_agent.py:150
↓ 3 callersMethod_generate_dropout_mask
Generate a random dropout mask with inverted scaling. The mask has the same shape as the input. Each element is either 0 (dr
tinytorch/src/03_layers/03_layers.py:666
↓ 3 callersMethod_getEndpointForProvider
* Get endpoint URL for different providers * @param {Object} config - API configuration * @returns {string} - Endpoint URL
socratiq/src_shadow/js/libs/agents/custom-api-adapter.js:245
↓ 3 callersMethod_getHeadersForProvider
* Get headers for different providers * @param {string} provider - Provider name * @param {string} apiKey - API key (if any) * @returns {Obje
socratiq/src_shadow/js/libs/agents/custom-api-adapter.js:261
↓ 3 callersMethod_getRandomBadges
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8762
↓ 3 callersMethod_getRandomBadges
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 3 callersMethod_get_api_key
Get Buttondown API key from environment.
book/cli/commands/newsletter.py:41
↓ 3 callersMethod_get_export_path_for_module
Return the generated package path for a module based on default_exp.
tinytorch/tito/commands/module/workflow.py:449
↓ 3 callersMethod_get_stats
Get mean and variance for normalization (batch or running stats). TODO: Compute or retrieve normalization statistics based on mode
tinytorch/src/09_convolutions/09_convolutions.py:2188
↓ 3 callersMethod_get_system_info
Get system information.
tinytorch/tito/commands/benchmark.py:464
↓ 3 callersMethod_get_word_tokens
Convert word to list of characters with end-of-word marker. TODO: Tokenize word into character sequence APPROACH: 1
tinytorch/src/10_tokenization/10_tokenization.py:979
↓ 3 callersMethod_hash_file
Computes the SHA-256 hash of a file.
mlperf-edu/src/mlperf/provenance.py:22
↓ 3 callersFunction_heading_text
Return the heading text with prefix hashes and trailing attrs stripped.
book/tools/audit/checks/h3_titlecase.py:46
↓ 3 callersFunction_identical
Apply `edits` to the clean tree, write, and report whether the rendered values AND visible prose are byte-identical. Leaves the file written.
book/tools/audit/fmt/run_percent_lane.py:103
↓ 3 callersFunction_inline_python_latex_operator_warnings
Refs adjacent to LaTeX operators without a canonical display suffix.
book/cli/commands/validate.py:167
↓ 3 callersFunction_input_fingerprint
(p: Path)
interviews/paper/scripts/analyze_corpus.py:67
↓ 3 callersFunction_is_escaped
(text: str, idx: int)
book/cli/commands/validate.py:111
↓ 3 callersFunction_is_excluded_prose
(line: str)
book/cli/checks/lego_prose_literals.py:212
↓ 3 callersFunction_is_hp_reference
True if `Iron Law` is actually `Iron Law of Processor Performance`. The Hennessy & Patterson canonical phrase is a proper-noun use and must r
book/tools/audit/checks/concept_term_capitalization.py:269
↓ 3 callersFunction_is_proper_noun
Return True if `w` should not count as a title-case violation. This is the union of all proper-noun rules: sentinels from the preprocessor, t
book/tools/audit/checks/h3_titlecase.py:265
↓ 3 callersFunction_is_sutton_essay_title
True if the line appears to cite Sutton's essay 'The Bitter Lesson'. Two signals: (a) the line contains `"The Bitter Lesson"` or `"Bitter Les
book/tools/audit/checks/concept_term_capitalization.py:280
↓ 3 callersFunction_iter_qmd_files
(root: Path)
book/cli/commands/_index_checks.py:46
↓ 3 callersFunction_keyword
(call: ast.Call, name: str)
book/tools/audit/fmt/codemod_design_b_rates.py:173
↓ 3 callersFunction_kwargs
(call: ast.Call)
book/cli/checks/fmt_prose_contract.py:115
↓ 3 callersMethod_layout_plan_payload
( self, volume: str, pdf_path: Path, whitespace_rows: List[PageReport],
book/cli/commands/layout.py:1390
↓ 3 callersFunction_line_has_cite
True if the line contains any `[@key]` or bare `@key` citation.
book/tools/audit/checks/bare_attribution.py:157
↓ 3 callersFunction_lit
(i)
book/tools/figures/margin/devices.py:364
↓ 3 callersFunction_literal_hits
(line: str, patterns: tuple[tuple[re.Pattern[str], str], ...])
book/cli/checks/lego_prose_literals.py:259
↓ 3 callersFunction_literal_str
(node: ast.AST | None)
book/tools/audit/fmt/codemod_design_b_rates.py:180
↓ 3 callersMethod_load_completed_modules
(self)
tinytorch/tests/milestones/milestone_tracker.py:87
↓ 3 callersFunction_load_generator
()
book/tests/test_appendix_constants.py:13
↓ 3 callersFunction_load_mapping
Load one YAML file as a dict using the duplicate-key-rejecting loader. Raises ``ValueError`` if the document is not a mapping (a bare list or
mlsysim/mlsysim/core/loader.py:73
↓ 3 callersFunction_load_plan_schema
Loads the optimization plan schema from the specified YAML configuration.
mlsysim/mlsysim/cli/commands/optimize.py:18
↓ 3 callersFunction_load_script_module
(name: str, script: Path)
book/cli/commands/_registry_checks.py:42
↓ 3 callersFunction_looks_titlecase
Return True if the heading text appears to be in title case. This is the Pass 16 Item B detector. See the long comment above `_PROPER_NOUN_SE
book/tools/audit/checks/h3_titlecase.py:359
↓ 3 callersMethod_margin_baseline_crowding
Return adjacent margin text lines whose baselines are implausibly close. This intentionally uses baseline/top distance instead of bbox
book/cli/commands/layout.py:2388
↓ 3 callersMethod_merge_heads
Merge attention heads back into single embedding dimension. TODO: Reshape (batch, heads, seq, head_dim) to (batch, seq, embed_dim) A
tinytorch/src/12_attention/12_attention.py:771
↓ 3 callersFunction_norm_scale_text
(value: str)
book/tools/audit/fmt/run_scale_style_lane.py:33
↓ 3 callersFunction_normalize
(s: str)
book/tools/audit/render_playwright_verify.py:37
↓ 3 callersFunction_now
()
interviews/vault-cli/src/vault_cli/ship.py:107
↓ 3 callersFunction_num
(x)
book/tools/audit/fmt/prototype_typed_fmt.py:17
↓ 3 callersMethod_open_jupyter
Open Jupyter Lab for a module.
tinytorch/tito/commands/module/workflow.py:504
↓ 3 callersFunction_option
(profile: SystemDesignProfile, option_id: str)
labs/mlsysbook_labs/system_design.py:313
↓ 3 callersFunction_part_heading
(part: str, concept: str)
labs/mlsysbook_labs/ui.py:622
↓ 3 callersFunction_percent_ratio_value
Coerce and validate the canonical 0-1 percentage ratio domain.
mlsysim/mlsysim/fmt.py:884
↓ 3 callersFunction_playSound
(type = 'bell')
socratiq/src_shadow/js/components/meditation/meditationTimer.js:528
↓ 3 callersFunction_policy
(profile: DataSelectionTrackProfile, policy_id: str)
labs/mlsysbook_labs/selection.py:257
↓ 3 callersFunction_print_step_result
Print PASS/WARN status and any Quarto warnings for a build step.
book/cli/commands/debug.py:107
↓ 3 callersFunction_profile
(lab_id: str, track_id: str)
labs/tests/test_system_design_helpers.py:37
↓ 3 callersFunction_profile
(track_id: str)
labs/tests/test_ops_helpers.py:15
↓ 3 callersFunction_profile
(track_id: str)
labs/tests/test_inference_helpers.py:15
↓ 3 callersFunction_profile
(track_id: str)
labs/tests/test_triad_helpers.py:13
↓ 3 callersFunction_profile
(track_id: str)
labs/tests/test_serving_helpers.py:15
↓ 3 callersMethod_qmd_path
(self, vol: int, chapter: str)
interviews/vault-cli/src/vault_cli/book_refs.py:116
↓ 3 callersFunction_qualifier
(lineno: int)
book/tools/audit/fmt/codemod_fmt.py:446
↓ 3 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/capstone.py:88
↓ 3 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/data_pipeline.py:102
↓ 3 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/benchmarking.py:85
↓ 3 callersFunction_quantize_single_layer
Quantize a single Linear layer and optionally calibrate it. TODO: Create a QuantizedLinear from a Linear layer, then calibrate if inputs pro
tinytorch/src/15_quantization/15_quantization.py:1239
↓ 3 callersFunction_rate
(expr: str)
book/tests/test_codemod_fmt.py:45
↓ 3 callersMethod_relative
(self, path: Path)
book/cli/commands/bib.py:224
↓ 3 callersFunction_render_list
(values: Any)
labs/mlsysbook_labs/ui.py:578
↓ 3 callersMethod_resolve_assignment_name
Resolve numeric assignment aliases to staged/released module names.
tinytorch/tito/commands/nbgrader.py:683
↓ 3 callersFunction_resolve_hardware
Resolves a hardware node from the Zoo or a local YAML file.
mlsysim/mlsysim/cli/schemas.py:26
↓ 3 callersMethod_resolve_module_name
Resolve module name from number, full directory name, or suffix.
tinytorch/tito/commands/nbgrader.py:207
↓ 3 callersFunction_resolve_number
Prefer ``*_value`` attrs; fall back to parsing formatted ``*_str``.
book/tools/audit/book_check_lego_equations.py:66
↓ 3 callersFunction_resolve_ref
(ref: str)
labs/tests/test_lab_variants.py:16
↓ 3 callersFunction_result
(issues, checks)
book/tests/test_pdf_layout_checks.py:80
↓ 3 callersMethod_run_inline_unit_tests
Run inline unit tests and parse output for detailed display.
tinytorch/tito/commands/module/workflow.py:938
↓ 3 callersMethod_run_integration_tests
Run progressive integration tests using pytest.
tinytorch/tito/commands/module/workflow.py:994
↓ 3 callersMethod_run_table_caption_position
Flag pipe-table captions placed before the table body. MLSysBook convention is the Pandoc/Quarto pipe-table form: | **Column** |
book/cli/commands/validate.py:3658
↓ 3 callersFunction_run_wrangler
Run a wrangler invocation; raise on non-zero unless the specific benign stderr substring is present.
interviews/vault-cli/src/vault_cli/commands/release.py:37
↓ 3 callersFunction_runtime
(profile: FrameworkTrackProfile, runtime_id: str)
labs/mlsysbook_labs/frameworks.py:233
↓ 3 callersMethod_sample
(self, logits)
mlperf-edu/reference/cloud/nanogpt_decode.py:56
↓ 3 callersFunction_section_value
(value: Any)
labs/mlsysbook_labs/reports.py:28
↓ 3 callersFunction_short_label
(text: str, max_len: int = 18)
book/tools/scripts/margin_figures/generate_margin_figures.py:1630
↓ 3 callersMethod_simple_slugify
Convert header text to a slug, removing stopwords.
book/cli/commands/maintenance.py:437
↓ 3 callersFunction_single_run
(summary: dict)
book/tests/test_binder_lego_scope_paths.py:26
↓ 3 callersMethod_softmax
Compute softmax with numerical stability.
tinytorch/src/16_compression/16_compression.py:1145
↓ 3 callersMethod_static_table_warnings
( columns: int, rows: int, max_cell_chars: int, has_colwidths: bool, )
book/cli/commands/layout.py:977
↓ 3 callersFunction_strategy
(profile: TrainingTrackProfile, strategy_id: str)
labs/mlsysbook_labs/training.py:251
↓ 3 callersFunction_strip_html
(html: str)
site/newsletter/cli/commands/pull.py:75
↓ 3 callersMethod_substantial_margin_text
(text: str)
book/cli/commands/layout.py:2384
↓ 3 callersMethod_suggest_margin_geometry_fix
Actionable source-level recipe for a native margin-geometry row.
book/cli/commands/layout.py:2164
↓ 3 callersFunction_sync
()
mlperf-edu/reference/cloud/nanogpt_decode_spec.py:32
↓ 3 callersFunction_sync
()
mlperf-edu/reference/cloud/nanogpt_prefill.py:18
↓ 3 callersFunction_table_row_indices
Return 0-based indices of lines that are table body/header rows. Excludes separator rows and anything inside a fenced code block. A table is
book/cli/checks/percent_tables.py:80
↓ 3 callersFunction_tarjan_sccs
Tarjan's SCC algorithm. Returns SCCs with >1 node (cycles).
interviews/vault/vault.py:1440
↓ 3 callersFunction_tierOf
(chainId: string)
interviews/staffml/src/lib/corpus.ts:654
↓ 3 callersMethod_toy_moe
(self)
mlsysim/tests/test_solver_suite.py:417
← previousnext →1,501–1,600 of 13,553, ranked by callers