MCPcopy Create free account

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

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

↓ 6 callersMethodcheck
(t)
book/cli/commands/validate.py:9601
↓ 6 callersFunctionclean_cell
(value: str)
interviews/vault/scripts/audit_yaml_corpus.py:379
↓ 6 callersFunctioncleanup
()
socratiq/src_shadow/js/components/quiz/showQuizStats.js:739
↓ 6 callersMethodclose
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 6 callersFunctioncost_crossover
Compute when recurring inference cost exceeds the one-time setup cost.
labs/mlsysbook_labs/inference.py:153
↓ 6 callersMethodcount_parameters
Count total number of parameters.
tinytorch/src/20_capstone/20_capstone.py:451
↓ 6 callersFunctioncreateIconButton
(iconPath, title, id)
socratiq/src_shadow/js/components/quiz/create_quiz_button_grp.js:28
↓ 6 callersFunctiondayNumber
()
site/assets/games/runtime.mjs:50
↓ 6 callersFunctiondefault_pdf_path
(quarto_dir: Path, volume: str)
book/cli/commands/_pdf_checks.py:95
↓ 6 callersMethoddisconnect
()
interviews/staffml/src/__tests__/setup.ts:30
↓ 6 callersFunctiondiscoverAllLabs
(projectRoot: string)
labs/vscode-ext/src/utils/labDiscovery.ts:74
↓ 6 callersFunctiondisplay_width
Calculate display width of text. Bold markers (**) don't count toward width. Unicode wide characters count as 2.
book/tools/scripts/content/format_tables.py:218
↓ 6 callersFunctionenergy_drain
Estimate energy used by one local adaptation or inference session.
labs/mlsysbook_labs/edge.py:294
↓ 6 callersFunctionextractFinalQuantity
(text: string)
interviews/staffml/src/lib/corpus.ts:511
↓ 6 callersFunctionextractPageTOC
(options = {})
socratiq/src_shadow/js/libs/utils/tocExtractor.js:28
↓ 6 callersFunctionfind_spurious_zeros
Return ``(value, context)`` pairs for suspicious ``*.0`` in *text*.
book/tools/audit/fmt/spurious_zero.py:75
↓ 6 callersFunctionfmt_energy_per_op
Format generic operation energy, conventionally as pJ/op. The registry stores operation energy on the custom ``flop`` dimension so compute wo
mlsysim/mlsysim/fmt.py:2746
↓ 6 callersFunctionfmt_q
Format a quantity for the table.
mlsysim/generate_appendix.py:13
↓ 6 callersFunctionformat_cell
Format cell content with proper padding. Width is the LITERAL character count (including ** markers and HTML entities). Always left-aligns co
book/tools/scripts/content/format_tables.py:494
↓ 6 callersMethodforward
Apply tanh activation element-wise. TODO: Implement tanh function APPROACH: 1. Use np.tanh(x.data) for hyperbolic t
tinytorch/src/02_activations/02_activations.py:472
↓ 6 callersFunctiong
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 6 callersMethodgenerate_caption
Dispatch caption generation to the configured provider.
book/tools/scripts/content/manage_captions.py:1217
↓ 6 callersFunctiongenerate_report
Generate a self-contained HTML report from a submission JSON. Args: submission_path: Path to the submission JSON file output_
mlperf-edu/src/mlperf/report.py:162
↓ 6 callersMethodgetAll
* Get all records from a store
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7305
↓ 6 callersMethodgetAll
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 6 callersMethodgetAllChapters
()
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:49
↓ 6 callersFunctiongetConfigs
(type = "explain")
socratiq/src_shadow/configs/client.config.js:215
↓ 6 callersFunctiongetQuestionFullDetail
(id: string)
interviews/staffml/src/lib/corpus.ts:885
↓ 6 callersMethodget_memory_usage
Calculate memory usage of the cache system. Returns: Dictionary with memory statistics in MB
tinytorch/src/18_memoization/18_memoization.py:660
↓ 6 callersFunctionget_message_element
(shadowEle, type, ele='')
socratiq/src_shadow/js/libs/messaging/messages.js:60
↓ 6 callersFunctionget_reference_buttons
(shadowEle, clone, links)
socratiq/src_shadow/js/libs/messaging/messages.js:148
↓ 6 callersMethodimmediateUpdate
(isNoMessage=false)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:3257
↓ 6 callersFunctioninjectOfflineWarning
(clone)
socratiq/src_shadow/js/libs/utils/utils.js:694
↓ 6 callersFunctionis_published
Predicate: does this question belong in the release under ``policy``?
interviews/vault-cli/src/vault_cli/policy.py:25
↓ 6 callersFunctionis_python_chunk_option
True if this line is a Python chunk option directive (`#| key: value`). Per fix_percent.py:31-32 and fix_capitalization.py:49-50.
book/tools/audit/protected_contexts.py:622
↓ 6 callersFunctionjsonResponse
(body: unknown, status = 200)
interviews/staffml/src/lib/__tests__/vault-fetch.test.ts:10
↓ 6 callersFunctionlevelIndex
(level: string)
interviews/staffml/src/app/explore/page.tsx:105
↓ 6 callersFunctionload_qa_pairs
Load Q&A pairs from a file
tinytorch/datasets/tinytalks/scripts/validate_dataset.py:19
↓ 6 callersFunctionlog
(message: string)
tinytorch/vscode-ext/src/utils/tito.ts:16
↓ 6 callersFunctionmenu_slide_on
(shadowEle, isStayOpen = false)
socratiq/src_shadow/js/components/menu/open_close_menu.js:77
↓ 6 callersFunctionnormalise
(text: str)
book/tools/audit/release/programmatic_locate.py:72
↓ 6 callersMethodonMessage
(e,t,n)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 6 callersFunctionopenDB
(dbName = "socratiqDB", storeName = "tinyMLDB_chats")
socratiq/src_shadow/js/libs/utils/save_chats.js:8
↓ 6 callersFunctionoperation_ledger
Compute weights, activations, operations, bytes moved, and feasibility.
labs/mlsysbook_labs/neural_compute.py:214
↓ 6 callersFunctionordered_mapping
(data: dict[str, Any], order: list[str])
interviews/vault/scripts/format_yaml_questions.py:102
↓ 6 callersMethodparameters
Return trainable parameters.
tinytorch/src/11_embeddings/11_embeddings.py:464
↓ 6 callersMethodparameters
Return trainable parameters.
tinytorch/src/09_convolutions/09_convolutions.py:813
↓ 6 callersFunctionparse_bib
Parse a BibTeX file into entries and preamble passthrough chunks. Returns (entries, preamble_chunks). Preamble chunks are anything between en
book/cli/checks/bib_lint.py:330
↓ 6 callersFunctionpop
(stage, x, y, color, opts = {})
site/assets/games/runtime.mjs:186
↓ 6 callersFunctionpress_enter_to_continue
()
tinytorch/milestones/02_1969_xor/02_xor_solved.py:290
↓ 6 callersMethodprint_error
Print error message in red
book/tools/scripts/utilities/manage_sources.py:72
↓ 6 callersMethodquery
* Query records by index
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:7311
↓ 6 callersMethodridge_point
Calculates the Roofline ridge point (Intensity threshold). Args: precision: Optional precision string (e.g., 'fp
mlsysim/mlsysim/hardware/types.py:218
↓ 6 callersFunctionrun_ship
Execute the ship protocol with journaling and per-leg auto-rollback. Contract (§6.1.1): - Legs run in the order given; D1 first, Next.js seco
interviews/vault-cli/src/vault_cli/ship.py:122
↓ 6 callersMethodsave
Persists the design decisions to storage. ``chapter`` is kept as a compatibility alias for existing Co-Labs, while ``step`` is the ne
mlsysim/mlsysim/labs/state.py:154
↓ 6 callersMethodsaveComment
* Save comment to database
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:5966
↓ 6 callersMethodsaveComment
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 6 callersFunctionserving_plan
Size a serving/local-inference plan under memory and throughput limits.
labs/mlsysbook_labs/inference.py:239
↓ 6 callersFunctionshould
(cat: str)
interviews/vault-cli/scripts/audit_chains_with_gemini.py:664
↓ 6 callersMethodshowCard
(chapterNum, cardIndex)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:2682
↓ 6 callersMethodsolve
Solves for cluster wait times and utilization. Parameters ---------- fleet : Fleet The hardware cluster
mlsysim/mlsysim/engine/solvers/orchestration.py:38
↓ 6 callersMethodsolve
Synthesize minimum hardware requirements from a latency SLA. Inverts the Roofline model: instead of asking "how fast does this
mlsysim/mlsysim/engine/solvers/performance.py:394
↓ 6 callersMethodsolve
Simulates Weight Streaming throughput and SRAM feasibility. Parameters ---------- phase : str Inference phase: 'p
mlsysim/mlsysim/engine/solvers/serving.py:627
↓ 6 callersMethodsolve
Solves for inference-time reasoning cost. Parameters ---------- model : TransformerWorkload The language
mlsysim/mlsysim/engine/solvers/serving.py:827
↓ 6 callersMethodstopTimer
* Stop the timer completely
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2489
↓ 6 callersMethodstopTimer
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 6 callersMethodtanh
(x)
tinytorch/tests/integration/test_shapes.py:54
↓ 6 callersFunctiontime_op
Time an operation
tinytorch/paper/scripts/benchmark_quick.py:10
↓ 6 callersFunctiontryMove
(dc, dr)
site/assets/games/oom.js:100
↓ 6 callersFunctiontryMove
(dc, dr)
site/assets/games/oom.mjs:315
↓ 6 callersMethodupdateCustomAPI
(provider, endpoint, model, apiKey, saveLocally, enabled)
socratiq/src_shadow/js/components/settings/settings.js:609
↓ 6 callersFunctionv
(e)
book/quarto/_extensions/quarto-ext/lightbox/resources/js/glightbox.min.js:1
↓ 6 callersFunctionv1_01_track_lens
(track_id)
labs/vol1/lab_01_ml_intro.py:126
↓ 6 callersFunctionv1_04_callout_html
(title, body, *, kind="info")
labs/vol1/lab_04_data_engr.py:261
↓ 6 callersFunctionv1_04_track_spec
(track_id)
labs/vol1/lab_04_data_engr.py:144
↓ 6 callersFunctionv1_05_escape
(value)
labs/vol1/lab_05_nn_compute.py:126
↓ 6 callersFunctionv1_06_e
(value)
labs/vol1/lab_06_nn_arch.py:128
↓ 6 callersFunctionv1_07_escape
(value)
labs/vol1/lab_07_ml_frameworks.py:127
↓ 6 callersFunctionv1_07_fmt_int
(value)
labs/vol1/lab_07_ml_frameworks.py:138
↓ 6 callersFunctionv1_07_metric_card
(title, value, subtitle="", color=None)
labs/vol1/lab_07_ml_frameworks.py:175
↓ 6 callersFunctionv1_14_rollout_risk
( amounts, *, canary_pct, rollback_hours, fallback_pct, )
labs/vol1/lab_14_ml_ops.py:511
↓ 6 callersFunctionv2_02_escape
(value)
labs/vol2/lab_02_compute_infra.py:89
↓ 6 callersFunctionv2_04_escape
(value)
labs/vol2/lab_04_data_storage.py:112
↓ 6 callersFunctionv2_04_qty_to_float
(value, unit, default)
labs/vol2/lab_04_data_storage.py:94
↓ 6 callersFunctionv2_06_collective_terms
(n_gpus, message_gb, fabric_id, local_group=1, compression_ratio=1)
labs/vol2/lab_06_collective_communication.py:322
↓ 6 callersFunctionv2_07_table
(headers, rows)
labs/vol2/lab_07_fault_tolerance.py:654
↓ 6 callersFunctionv2_08_html_table
(headers, rows)
labs/vol2/lab_08_fleet_orch.py:295
↓ 6 callersFunctionv2_09_money
(value)
labs/vol2/lab_09_perf_engineering.py:114
↓ 6 callersFunctionv2_09_table
(headers, rows)
labs/vol2/lab_09_perf_engineering.py:485
↓ 6 callersFunctionv2_10_failure_card
(active, title, detail, recovery)
labs/vol2/lab_10_inference.py:431
↓ 6 callersFunctionv2_10_fmt_ms
(value)
labs/vol2/lab_10_inference.py:165
↓ 6 callersFunctionv2_10_precision_label
(precision_bytes)
labs/vol2/lab_10_inference.py:193
↓ 6 callersFunctionv2_12_fmt_hours
(value)
labs/vol2/lab_12_ops_scale.py:303
↓ 6 callersFunctionv2_12_fmt_pct
(value, digits=1)
labs/vol2/lab_12_ops_scale.py:311
↓ 6 callersFunctionv2_14_budget_result
(shift_result, coverage, retraining, monitoring, fallback)
labs/vol2/lab_14_robust_ai.py:373
↓ 6 callersFunctionv2_14_defense_result
(track_id, defense_id, strength, uq_samples, budget_result, shift_result, variant)
labs/vol2/lab_14_robust_ai.py:486
↓ 6 callersFunctionv2_17_axis_label
(axis)
labs/vol2/lab_17_fleet_synthesis.py:155
↓ 6 callersFunctionv2_17_quantity_to_float
(value, unit, default=0.0)
labs/vol2/lab_17_fleet_synthesis.py:137
↓ 6 callersFunctionwithQuartoResetPrefix
( format: BuildFormat, volume: VolumeId, buildCommand: string, )
book/vscode-ext/src/utils/quartoConfigReset.ts:19
↓ 6 callersFunctionyn
(v)
book/tools/audit/chapter_pdf_verify.py:393
← previousnext →701–800 of 13,553, ranked by callers