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
↓ 2 callers
Method
solve
Determine the maximum batch size that satisfies a P99 latency SLA. Exhaustively scans batch sizes 1..``max_search_batch``. For each
mlsysim/mlsysim/engine/solvers/serving.py:900
↓ 2 callers
Function
source_excerpt
(packet: CaptionPacket, before: int = 2, after: int = 5)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:91
↓ 2 callers
Function
squash
(s)
book/tools/audit/check_purpose_overflow.py:47
↓ 2 callers
Function
start
()
interviews/staffml/src/lib/hooks/useVisibilityPoll.ts:49
↓ 2 callers
Method
start
Registers a listener in tinytorch's core operation dispatcher.
mlperf-edu/src/mlperf/core.py:41
↓ 2 callers
Function
startOnboarding
(shadowRoot)
socratiq/src_shadow/js/components/onboarding/socratiq-onboarding.js:63
↓ 2 callers
Method
startQuizTimer
* Start quiz timer and display
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3785
↓ 2 callers
Method
startQuizTimer
(e)
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
startTeamTimer
* Start timer for current team
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:3822
↓ 2 callers
Method
startTeamTimer
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
startTimer
* Start the timer
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:2463
↓ 2 callers
Method
startTimer
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 2 callers
Method
start_clock
Starts the secure timer for Time-to-Train.
mlperf-edu/src/mlperf/core.py:154
↓ 2 callers
Function
stop
()
interviews/staffml/src/lib/hooks/useVisibilityPoll.ts:54
↓ 2 callers
Method
stop
(self)
mlperf-edu/src/mlperf/power.py:77
↓ 2 callers
Function
storeLastCommand
(state: LastCommandState)
book/vscode-ext/src/utils/terminal.ts:110
↓ 2 callers
Function
stripDelimiters
(s: string)
interviews/staffml/worker/src/index.ts:310
↓ 2 callers
Function
stripHtmlTagsComplete
Strip HTML-like tags; repeat until stable so paired fragments cannot re-form unsafe sequences.
socratiq/src_shadow/js/libs/agents/key_terms_summary.js:105
↓ 2 callers
Function
stripTagsUntilStable
Remove HTML-like tags; repeat until stable so nested / partial tags cannot re-form.
design-grammar/scripts/migrate-html-to-yaml.mjs:217
↓ 2 callers
Function
strongest_anchor
(packet: CaptionPacket)
book/tools/scripts/margin_figures/render_margin_reader_link_audit.py:56
↓ 2 callers
Function
structural_tier
Structural invariants — CI-tier checks.
interviews/vault-cli/src/vault_cli/validator.py:151
↓ 2 callers
Function
submitEditedText
(text, e)
socratiq/src_shadow/js/components/markdown/streamdown_markdown.js:1300
↓ 2 callers
Function
submitQuizResults
(quizForm, selectedAnswers)
socratiq/src_shadow/js/components/quiz/quiz-results-api.js:11
↓ 2 callers
Method
summary
Compute summary counts for the Pass 15 plan §3 schema.
book/tools/audit/ledger.py:148
↓ 2 callers
Function
sustained_benchmark
( *, peak_value: float, tdp_w: float, duration_s: float, ambient_c: float, cooling: st
labs/mlsysbook_labs/benchmarking.py:163
↓ 2 callers
Method
sweep
Evaluate a compression design space and mark Pareto candidates.
mlsysim/mlsysim/engine/solvers/compression.py:263
↓ 2 callers
Method
switchActiveChapter
(chapterNum)
socratiq/src_shadow/js/components/spaced_repetition/handlers/storage-handler.js:851
↓ 2 callers
Method
switchTag
(tag)
socratiq/src_shadow/js/components/spaced_repetition/spaced-repetition-modal-handler.js:3194
↓ 2 callers
Function
system_curve
Sweep the lab knob for a selected option.
labs/mlsysbook_labs/system_design.py:379
↓ 2 callers
Function
system_decision
Return decision memo fields for a selected option.
labs/mlsysbook_labs/system_design.py:411
↓ 2 callers
Function
system_design_ledger_summary
Collect prior design decisions for capstone-style synthesis panels.
labs/mlsysbook_labs/system_design.py:443
↓ 2 callers
Function
system_design_profile
Build a generic track-aware design profile from typed variant defaults.
labs/mlsysbook_labs/system_design.py:206
↓ 2 callers
Function
tables_are_equal
Check if two tables are textually identical for formatting purposes.
book/tools/scripts/utilities/prettify_pipe_tables.py:241
↓ 2 callers
Function
term_head_case_issues
Return lowercase significant words in a leading footnote term head. Offsets are relative to `term`. Inline code spans and math spans are skip
book/tools/scripts/mit_press/check_footnote_caps.py:165
↓ 2 callers
Function
term_variants
Return normalized forms that often represent the same lookup term.
book/tools/scripts/content/glossary_gap_review.py:74
↓ 2 callers
Method
testConnection
* Test connection to custom API
socratiq/src_shadow/js/libs/agents/test-custom-api.js:93
↓ 2 callers
Function
testTOCDatabaseConnection
()
socratiq/src_shadow/js/libs/utils/tocExtractor.js:397
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire module functionality. This final test runs before module summary to ensure:
tinytorch/src/01_tensor/01_tensor.py:1756
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire module functionality. This final test runs before module summary to ensure:
tinytorch/src/02_activations/02_activations.py:861
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire tokenization module. This final test runs before module summary to ensure:
tinytorch/src/10_tokenization/10_tokenization.py:1803
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire acceleration module functionality. This final test ensures: - All accel
tinytorch/src/17_acceleration/17_acceleration.py:1271
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire losses module functionality. This final test runs before module summary to
tinytorch/src/04_losses/04_losses.py:1344
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire module functionality. This final test runs before module summary to ensure:
tinytorch/src/06_autograd/06_autograd.py:3208
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire module functionality. This final test runs before module summary to ensure:
tinytorch/src/20_capstone/20_capstone.py:1706
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire module functionality. This final test runs before module summary to ensure:
tinytorch/src/08_training/08_training.py:1792
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire KV Caching module functionality. This final test runs before module summary
tinytorch/src/18_memoization/18_memoization.py:1806
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire profiling module functionality. This final test runs before module summary
tinytorch/src/14_profiling/14_profiling.py:2280
↓ 2 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire spatial module functionality. This final test runs before module summary to
tinytorch/src/09_convolutions/09_convolutions.py:3001
↓ 2 callers
Method
test_module
Run comprehensive tests for a single module in three phases: Phase 1 - Inline Tests: Quick sanity checks from the module itself
tinytorch/tito/commands/module/test.py:285
↓ 2 callers
Function
test_unit_adam_optimizer
🧪 Test Adam optimizer implementation.
tinytorch/src/07_optimizers/07_optimizers.py:1096
↓ 2 callers
Function
test_unit_adam_update_moments
🧪 Test Adam _update_moments computes correct EMA and bias correction.
tinytorch/src/07_optimizers/07_optimizers.py:971
↓ 2 callers
Function
test_unit_adamw_optimizer
🧪 Test AdamW optimizer implementation.
tinytorch/src/07_optimizers/07_optimizers.py:1482
↓ 2 callers
Function
test_unit_adamw_update_moments
🧪 Test AdamW _update_moments produces correct bias-corrected moments.
tinytorch/src/07_optimizers/07_optimizers.py:1358
↓ 2 callers
Function
test_unit_advanced_profiling
🧪 Test advanced profiling functions.
tinytorch/src/14_profiling/14_profiling.py:1918
↓ 2 callers
Function
test_unit_analyze_bottleneck
🧪 Test _analyze_bottleneck helper.
tinytorch/src/14_profiling/14_profiling.py:1806
↓ 2 callers
Function
test_unit_analyze_model_sizes
Test model size analysis.
tinytorch/src/15_quantization/15_quantization.py:1694
↓ 2 callers
Function
test_unit_apply_mask
🧪 Test causal mask application.
tinytorch/src/12_attention/12_attention.py:459
↓ 2 callers
Function
test_unit_arithmetic_operations
🧪 Test arithmetic operations with broadcasting.
tinytorch/src/01_tensor/01_tensor.py:996
↓ 2 callers
Function
test_unit_attention_scores
🧪 Test attention score computation.
tinytorch/src/12_attention/12_attention.py:338
↓ 2 callers
Function
test_unit_augmentation
🧪 Test data augmentation transforms.
tinytorch/src/05_dataloader/05_dataloader.py:1273
↓ 2 callers
Function
test_unit_avgpool2d_loops
Test AvgPool2d._avgpool_loops with known values.
tinytorch/src/09_convolutions/09_convolutions.py:1978
↓ 2 callers
Function
test_unit_avgpool2d_output_shape
Test AvgPool2d._compute_pool_output_shape.
tinytorch/src/09_convolutions/09_convolutions.py:1927
↓ 2 callers
Function
test_unit_base_tokenizer
🧪 Test base tokenizer interface.
tinytorch/src/10_tokenization/10_tokenization.py:381
↓ 2 callers
Function
test_unit_batchnorm2d
🧪 Test BatchNorm2d implementation.
tinytorch/src/09_convolutions/09_convolutions.py:2369
↓ 2 callers
Function
test_unit_batchnorm2d_get_stats
🧪 Test BatchNorm2d._get_stats implementation.
tinytorch/src/09_convolutions/09_convolutions.py:2323
↓ 2 callers
Function
test_unit_batchnorm2d_validate_input
🧪 Test BatchNorm2d._validate_input implementation.
tinytorch/src/09_convolutions/09_convolutions.py:2284
↓ 2 callers
Function
test_unit_benchmark
🧪 Test Benchmark class functionality.
tinytorch/src/19_benchmarking/19_benchmarking.py:1148
↓ 2 callers
Function
test_unit_benchmark_accuracy
🧪 Test Benchmark accuracy measurement.
tinytorch/src/19_benchmarking/19_benchmarking.py:948
↓ 2 callers
Function
test_unit_benchmark_init
🧪 Test Benchmark initialization.
tinytorch/src/19_benchmarking/19_benchmarking.py:726
↓ 2 callers
Function
test_unit_benchmark_latency
🧪 Test Benchmark latency measurement.
tinytorch/src/19_benchmarking/19_benchmarking.py:841
↓ 2 callers
Function
test_unit_benchmark_memory
🧪 Test Benchmark memory measurement.
tinytorch/src/19_benchmarking/19_benchmarking.py:1051
↓ 2 callers
Function
test_unit_benchmark_report
🧪 Test BenchmarkReport class functionality.
tinytorch/src/20_capstone/20_capstone.py:1309
↓ 2 callers
Function
test_unit_benchmark_result
🧪 Test BenchmarkResult statistical calculations.
tinytorch/src/19_benchmarking/19_benchmarking.py:422
↓ 2 callers
Function
test_unit_benchmark_suite
🧪 Test BenchmarkSuite comprehensive functionality.
tinytorch/src/19_benchmarking/19_benchmarking.py:2058
↓ 2 callers
Function
test_unit_benchsuite_energy
🧪 Test BenchmarkSuite energy estimation.
tinytorch/src/19_benchmarking/19_benchmarking.py:1526
↓ 2 callers
Function
test_unit_benchsuite_format_recs
🧪 Test BenchmarkSuite._format_recommendations implementation.
tinytorch/src/19_benchmarking/19_benchmarking.py:2018
↓ 2 callers
Function
test_unit_benchsuite_format_results
🧪 Test BenchmarkSuite._format_results_summary implementation.
tinytorch/src/19_benchmarking/19_benchmarking.py:1976
↓ 2 callers
Function
test_unit_benchsuite_init
🧪 Test BenchmarkSuite initialization.
tinytorch/src/19_benchmarking/19_benchmarking.py:1312
↓ 2 callers
Function
test_unit_benchsuite_plot
🧪 Test BenchmarkSuite plotting.
tinytorch/src/19_benchmarking/19_benchmarking.py:1715
↓ 2 callers
Function
test_unit_binary_cross_entropy_loss
🧪 Test BinaryCrossEntropyLoss implementation and properties.
tinytorch/src/04_losses/04_losses.py:885
↓ 2 callers
Function
test_unit_bpe_tokenizer
🧪 Test BPE tokenizer implementation.
tinytorch/src/10_tokenization/10_tokenization.py:1240
↓ 2 callers
Function
test_unit_cached_attention_forward
🧪 Test _cached_attention_forward dispatches to correct path.
tinytorch/src/18_memoization/18_memoization.py:1217
↓ 2 callers
Function
test_unit_cached_generate
🧪 Test _cached_generate produces correct number of valid tokens.
tinytorch/src/18_memoization/18_memoization.py:1392
↓ 2 callers
Function
test_unit_calculate_improvements
🧪 Test _calculate_improvements helper.
tinytorch/src/19_benchmarking/19_benchmarking.py:3339
↓ 2 callers
Function
test_unit_calculate_memory_efficiency
🧪 Test _calculate_memory_efficiency helper.
tinytorch/src/14_profiling/14_profiling.py:1516
↓ 2 callers
Function
test_unit_calculate_parameter_memory
🧪 Test _calculate_parameter_memory helper.
tinytorch/src/14_profiling/14_profiling.py:1473
↓ 2 callers
Function
test_unit_char_tokenizer
🧪 Test character tokenizer implementation.
tinytorch/src/10_tokenization/10_tokenization.py:577
↓ 2 callers
Function
test_unit_clip_grad_norm
🧪 Test clip_grad_norm implementation.
tinytorch/src/08_training/08_training.py:418
↓ 2 callers
Function
test_unit_collect_base_metrics
🧪 Test _collect_base_metrics helper.
tinytorch/src/19_benchmarking/19_benchmarking.py:3257
↓ 2 callers
Function
test_unit_collect_layer_inputs
Test collecting intermediate activations for calibration.
tinytorch/src/15_quantization/15_quantization.py:1180
↓ 2 callers
Function
test_unit_complete_embedding_system
🧪 Test complete embedding system.
tinytorch/src/11_embeddings/11_embeddings.py:1509
↓ 2 callers
Function
test_unit_compress_model
🧪 Test comprehensive model compression.
tinytorch/src/16_compression/16_compression.py:1353
↓ 2 callers
Function
test_unit_compute_derived_metrics
🧪 Test _compute_derived_metrics helper.
tinytorch/src/14_profiling/14_profiling.py:1763
↓ 2 callers
Function
test_unit_conv2d
Test Conv2d forward pass with multiple configurations.
tinytorch/src/09_convolutions/09_convolutions.py:1043
↓ 2 callers
Function
test_unit_conv2d_convolve_loops
Test Conv2d._convolve_loops with known input/weight values.
tinytorch/src/09_convolutions/09_convolutions.py:977
↓ 2 callers
Function
test_unit_conv2d_output_shape
Test Conv2d._compute_output_shape for various configurations.
tinytorch/src/09_convolutions/09_convolutions.py:849
↓ 2 callers
Function
test_unit_conv2d_padding
Test Conv2d._apply_padding for zero-padding behavior.
tinytorch/src/09_convolutions/09_convolutions.py:909
↓ 2 callers
Function
test_unit_cosine_schedule
🧪 Test CosineSchedule implementation.
tinytorch/src/08_training/08_training.py:274
↓ 2 callers
Function
test_unit_count_byte_pairs
🧪 Test byte pair counting with frequency weighting.
tinytorch/src/10_tokenization/10_tokenization.py:784
↓ 2 callers
Function
test_unit_count_conv_flops
🧪 Test _count_conv_flops helper.
tinytorch/src/14_profiling/14_profiling.py:1291
← previous
next →
3,201–3,300 of 13,553, ranked by callers