MCPcopy Create free account

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

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

↓ 4 callersMethod_load_chapter_map
Return (chapter_starts, labels). chapter_starts: [(start_sheet_1indexed, title)] for top-level outline entries only. Sorted ascen
book/cli/commands/layout.py:2791
↓ 4 callersMethod_locate_margin_source
( self, repo_root: Optional[Path], source_map: Dict[str, Path], chapter: str,
book/cli/commands/layout.py:2571
↓ 4 callersMethod_make_layer
Build a residual stage with `num_blocks` BasicBlocks.
mlperf-edu/reference/edge/resnet_core.py:111
↓ 4 callersMethod_make_layer
(self, block, planes, num_blocks, stride)
mlperf-edu/reference/edge/resnet_train.py:66
↓ 4 callersFunction_make_vault
Minimal vault.db with a questions table populated from (id, title) pairs.
interviews/vault-cli/tests/test_commands.py:24
↓ 4 callersMethod_margin_image_text_overlaps
Return substantial margin text lines intersecting substantial images. Tiny icons are ignored; those often sit inside callout artwork and are
book/cli/commands/layout.py:2419
↓ 4 callersMethod_margin_side
Return the physical margin side containing an object, if any.
book/cli/commands/layout.py:2291
↓ 4 callersMethod_margin_text_lines
Cluster left/right margin chars into logical text-line boxes.
book/cli/commands/layout.py:2352
↓ 4 callersMethod_maxpool_loops
The core max pooling: find maximum value in each window. TODO: Implement the nested loop max pooling APPROACH: 1. I
tinytorch/src/09_convolutions/09_convolutions.py:1392
↓ 4 callersFunction_merge_pair
Merge the most frequent pair in all word token lists. Scans through every word's tokens and replaces adjacent occurrences of the pair wi
tinytorch/src/10_tokenization/10_tokenization.py:842
↓ 4 callersFunction_module_banner
(color, background, label, text)
labs/vol1/lab_01_ml_intro.py:750
↓ 4 callersFunction_normalize_doi
(value: str | None)
book/tools/bib_sync_preserve.py:66
↓ 4 callersFunction_one_hot_encode
Convert class indices to one-hot vectors. Args: targets: numpy array of integer class indices, shape (batch_size,) batch_siz
tinytorch/src/06_autograd/06_autograd.py:2165
↓ 4 callersFunction_opf
(tmp_path)
book/tests/test_epub_postprocess.py:23
↓ 4 callersMethod_parse_frontmatter
Parse YAML front matter from a markdown file.
book/cli/commands/newsletter.py:58
↓ 4 callersMethod_postflight_epub_validation
Run smoke + epubcheck against the built EPUB(s) after render. Returns True if validation passed (or was skipped), False on a hard fai
book/cli/commands/build.py:101
↓ 4 callersMethod_preflight_epub_hygiene
Run the `hygiene` scope of `./binder check epub` before an EPUB build. Returns True if the build should proceed, False if it should abort.
book/cli/commands/build.py:37
↓ 4 callersFunction_profile
(track_id: str)
labs/tests/test_workflow_helpers.py:14
↓ 4 callersFunction_profile
(track_id: str)
labs/tests/test_capstone_helpers.py:14
↓ 4 callersFunction_profile
(track_id: str)
labs/tests/test_neural_compute_helpers.py:14
↓ 4 callersFunction_profile
(track_id: str)
labs/tests/test_architecture_helpers.py:14
↓ 4 callersFunction_profile
(track_id: str)
labs/tests/test_deployment_helpers.py:14
↓ 4 callersFunction_profile
(track_id: str)
labs/tests/test_data_pipeline_helpers.py:14
↓ 4 callersFunction_quantity_suffix
Build the checked unit suffix shared by quantity formatters.
mlsysim/mlsysim/fmt.py:1889
↓ 4 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/roofline.py:56
↓ 4 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/architecture.py:121
↓ 4 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/frameworks.py:114
↓ 4 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/inference.py:87
↓ 4 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/training.py:118
↓ 4 callersFunction_quantity_to_float
(value: Any, unit: str, default: float)
labs/mlsysbook_labs/serving.py:113
↓ 4 callersFunction_range_endpoint_precisions
Resolve per-endpoint precision; None → auto like fmt_multiple.
mlsysim/mlsysim/fmt.py:991
↓ 4 callersMethod_rel
Return path relative to book dir for display.
book/cli/commands/formatting.py:559
↓ 4 callersFunction_render_compact_fields
(items: Mapping[str, Any])
labs/mlsysbook_labs/ui.py:595
↓ 4 callersMethod_repo_root_for
(pdf_path: Path)
book/cli/commands/layout.py:2904
↓ 4 callersFunction_resolve_model
Resolves a model from the Zoo, a local YAML file, or the Hugging Face Hub (hf://).
mlsysim/mlsysim/cli/schemas.py:41
↓ 4 callersFunction_resolve_ref
Resolve ``Class.attr`` or bare ``name`` from the exec namespace.
book/tools/audit/fmt/audit_prose.py:83
↓ 4 callersFunction_roofline_profile
(track_id: str)
labs/tests/test_roofline_helpers.py:14
↓ 4 callersFunction_rules
(path: Path)
book/tools/tests/test_lego_quantity_flow_audit.py:22
↓ 4 callersFunction_scale_style
(expr: str)
book/tests/test_codemod_fmt.py:30
↓ 4 callersFunction_signature_map
(track_id: str)
labs/tests/test_architecture_helpers.py:22
↓ 4 callersFunction_stable_softmax
Compute softmax probabilities with numerical stability. Subtracts the max value per row before exponentiating to prevent overflow. Args
tinytorch/src/06_autograd/06_autograd.py:2071
↓ 4 callersMethod_suggest_callout_break_fix
Return a rendered-PDF callout split recipe for a gap finding.
book/cli/commands/layout.py:3137
↓ 4 callersFunction_sync
()
mlperf-edu/scripts/smoke_iter6_serving.py:43
↓ 4 callersFunction_text_block
(x0, y0, x1, y1, text="margin text")
book/tests/test_pdf_layout_checks.py:707
↓ 4 callersFunction_title_tokens
(entry)
book/tools/bib_sync_preserve.py:115
↓ 4 callersFunction_truncate
(s: str | None, budget: int)
interviews/vault-cli/scripts/audit_corpus_batched.py:131
↓ 4 callersMethod_unescape
(s: str)
book/cli/commands/info.py:800
↓ 4 callersFunction_updateDial
(fraction)
socratiq/src_shadow/js/components/meditation/meditationTimer.js:268
↓ 4 callersFunction_validate_count_value
Reject negative and, when requested, fractional raw counts.
mlsysim/mlsysim/fmt.py:339
↓ 4 callersMethod_validate_input
Validate that input tensor has the correct shape for BatchNorm2d. TODO: Validate input is 4D with correct channel count APP
tinytorch/src/09_convolutions/09_convolutions.py:2138
↓ 4 callersFunction_write_chapter
(vault_dir: Path, vol: int, chapter: str, h1: str)
interviews/vault-cli/tests/test_book_refs.py:28
↓ 4 callersFunction_write_qmd
(tmp_path: Path, body: str)
book/tests/test_footnote_caps.py:18
↓ 4 callersMethodaccepts
Return whether a solver result remains inside the reviewed envelope. An anchor is one of two mutually exclusive shapes: - **target a
mlsysim/mlsysim/engine/empirical.py:40
↓ 4 callersFunctionaddFloat
(x, y, t, c)
site/assets/games/oom.js:195
↓ 4 callersFunctionadd_bold
Add bold markers to text if not already bolded. Returns empty string for empty text.
book/tools/scripts/content/format_tables.py:244
↓ 4 callersFunctionanalyze_tokenization
Analyze tokenization statistics. TODO: Compute useful statistics about tokenization APPROACH: 1. Tokenize all texts 2. Compute
tinytorch/src/10_tokenization/10_tokenization.py:1414
↓ 4 callersMethodanimateStatUpdate
* Animate individual stat updates (for when stats change during use) * @param {HTMLElement} container - The stats content container * @param {st
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5640
↓ 4 callersMethodanimateStatUpdate
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersMethodapply
Compute gradients for inputs. Args: grad_output: Gradient flowing backward from the output Returns:
tinytorch/src/06_autograd/06_autograd.py:263
↓ 4 callersMethodapplyTheme
* Apply theme to host element and widget root
socratiq/src_shadow/js/libs/utils/theme-manager.js:81
↓ 4 callersFunctionarchitecture_signature
Evaluate each candidate architecture against the selected track budgets.
labs/mlsysbook_labs/architecture.py:269
↓ 4 callersFunctionassemble_progressive_content
Build chapter content including sections 0..up_to_section. Args: chapter: Parsed chapter structure up_to_section: Include se
book/tools/scripts/testing/debug_section_builds.py:47
↓ 4 callersFunctionassignUniqueIdsToElementAndChildren
(element)
socratiq/src_shadow/js/libs/utils/utils.js:330
↓ 4 callersMethodattachTooltipToElement
* Attach tooltip functionality to a reference number element * @param {HTMLElement} element - The reference number element * @param {number} ind
socratiq/src_shadow/js/components/tooltip/persistentTooltip.js:91
↓ 4 callersFunctionbatch_chains
Pack ~80K-token batches of full chain payloads.
interviews/vault-cli/scripts/audit_chains_with_gemini.py:177
↓ 4 callersFunctionbloom_for_zone_level
Pick a bloom_level compatible with both zone (ZONE_BLOOM_AFFINITY) and level (level-coarse mapping). v0.1.2: the prior `bloom_for_level` helpe
interviews/vault/scripts/gemini_cli_generate_questions.py:266
↓ 4 callersMethodbroadcastToRoom
* Broadcast message to all room members * @param {Object} message - Message to broadcast
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:11436
↓ 4 callersMethodbroadcastToRoom
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersFunctionbudget_path
()
book/tools/scripts/audit/svg_audit.py:94
↓ 4 callersFunctionbuild_and_check
Run a build and return (success, duration, error_snippet).
book/tools/scripts/testing/debug_section_builds.py:76
↓ 4 callersFunctionbuild_book_outline_from_quarto_yml
Automatically build the book outline from _quarto.yml and QMD files. This function reads the _quarto.yml file to get the chapter order,
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5150
↓ 4 callersFunctionbuild_border
Build border line: +----+----+----+
book/tools/scripts/content/format_tables.py:427
↓ 4 callersFunctionbuild_epub_section_mapping
Build mapping from section IDs to EPUB chapter files by scanning actual chapters. Args: epub_dir: Path to EPUB build directory (_bui
book/quarto/scripts/resolve_cross_references.py:439
↓ 4 callersFunctioncalc_checkpoint_size
Calculates the total storage size required for a training checkpoint. Parameters ---------- n_params : Quantity Total number
mlsysim/mlsysim/physics/memory.py:145
↓ 4 callersFunctioncalc_fleet_tco
Total Cost of Ownership (CapEx + energy OpEx) for a hardware fleet. Calculates the combined capital expenditure (hardware purchase) and
mlsysim/mlsysim/physics/economics.py:41
↓ 4 callersFunctioncalc_kv_cache_size
Calculates the KV cache memory size for autoregressive inference. The KV cache stores Key and Value tensors for all previous tokens to avoid
mlsysim/mlsysim/physics/memory.py:167
↓ 4 callersFunctioncalc_mtbf_node
Compound node MTBF from heterogeneous components (series system). Assumes independent, exponentially distributed failures where any single co
mlsysim/mlsysim/physics/reliability.py:72
↓ 4 callersFunctioncalculate_relative_path
Calculate relative path from one file to another. Args: from_file: Path object of the source file to_path: String path from
book/quarto/scripts/resolve_cross_references.py:480
↓ 4 callersFunctioncall_gemini_judge
Single judge call; expects strict-JSON {"verdict": "yes|no", "rationale": "..."}.
interviews/vault-cli/scripts/validate_drafts.py:201
↓ 4 callersFunctioncap
(s: str, n: int)
interviews/vault/scripts/gemini_backfill_question.py:149
↓ 4 callersFunctionchain_payload
(c: dict, corpus: dict[str, dict], *, terse: bool = False)
interviews/vault-cli/scripts/audit_chains_with_gemini.py:131
↓ 4 callersMethodclearRoomSession
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:8243
↓ 4 callersMethodclearRoomSession
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersFunctionclearSuggestion
()
socratiq/src_shadow/js/components/highlight_menu/components/text_area_suggestions.js:34
↓ 4 callersFunctioncloneElementById
( shadowEle, originalElementId, newId = "", targetContainerId = "" )
socratiq/src_shadow/js/libs/utils/utils.js:237
↓ 4 callersFunctioncollapse
(text: str)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:28
↓ 4 callersMethodcomplete_file
Mark a file as completed
book/tools/scripts/quizzes/_legacy/quizzes_reference.py:5004
↓ 4 callersFunctioncompute_totals
(figures: List[Figure])
book/tools/scripts/audit/svg_audit.py:847
↓ 4 callersFunctioncontainsWordReference
(text, keywords = KEYWORDS)
socratiq/src_shadow/js/libs/diagram/mermaid.js:259
↓ 4 callersFunctioncount_builder_functions
Count build_part_X() functions and whether build_synthesis() exists.
labs/tests/test_protocol.py:56
↓ 4 callersFunctioncoverage_profile
Compute subgroup coverage and risk for a selected policy.
labs/mlsysbook_labs/selection.py:332
↓ 4 callersMethodcreate
(e,t)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersMethodcreateHighlightFromComment
* Create highlight from comment
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:6788
↓ 4 callersMethodcreateHighlightFromComment
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 4 callersFunctioncreateQuiz
(text)
socratiq/src_shadow/js/components/quiz/backupQuiz.js:83
↓ 4 callersFunctiondailySeed
(gameId)
site/assets/games/runtime.mjs:45
↓ 4 callersFunctiondeclare_nav_mathml_property
Declare `mathml` on the nav item only when nav.xhtml contains MathML. EPUBCheck reports OPF-014 when `nav.xhtml` contains `<math>` but the nav
book/quarto/scripts/epub_postprocess.py:325
↓ 4 callersMethoddecode
Decode list of token IDs back to text. TODO: Convert each token ID back to its character APPROACH: 1. Look up each
tinytorch/src/10_tokenization/10_tokenization.py:540
↓ 4 callersFunctiondelete_credentials
()
tinytorch/tito/core/auth.py:87
↓ 4 callersMethoddestroy
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
← previousnext →1,101–1,200 of 13,553, ranked by callers