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
↓ 1 callers
Function
sustainable_ai_carbon_frontier
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:961
↓ 1 callers
Function
sustainable_ai_cooling_failure_blast
()
book/tools/scripts/margin_figures/generate_margin_figures.py:523
↓ 1 callers
Function
sustainable_ai_grid_interconnection_ladder
()
book/tools/scripts/margin_figures/generate_margin_figures.py:513
↓ 1 callers
Function
sustainable_ai_pue_overhead
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:947
↓ 1 callers
Function
sustainable_ai_radio_energy
(candidate=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:971
↓ 1 callers
Method
swapCards
(fromIndex, toIndex)
socratiq/src_shadow/js/components/spaced_repetition/handlers/drag-handler.js:100
↓ 1 callers
Method
switchActiveChapter
(chapterNum)
socratiq/src_shadow/js/components/spaced_repetition/handlers/spaced-repetition-indexdb.js:569
↓ 1 callers
Method
switchToListView
()
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:1415
↓ 1 callers
Method
switchToTreeView
()
socratiq/src_shadow/js/components/visualizations/KnowledgeGraph.js:1451
↓ 1 callers
Method
switch_format
Switch active configuration format. Args: format_type: Format to switch to ('html', 'pdf', 'epub') Returns:
book/cli/commands/maintenance.py:38
↓ 1 callers
Method
syncCommentsOnConnection
* Sync comments with peers on connection
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:6419
↓ 1 callers
Method
syncCommentsOnConnection
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.umd.cjs:1
↓ 1 callers
Function
sync_artifacts_to_html_audit
(vol: str, artifact_dir: Path)
book/tools/audit/run_render_guarantee.py:45
↓ 1 callers
Function
sync_one
Sync one bibliography file and propagate citekey renames.
book/tools/bib_sync_preserve.py:615
↓ 1 callers
Function
synthesise
Single call that reads category outputs and emits AUDIT_REPORT.md.
interviews/vault-cli/scripts/audit_chains_with_gemini.py:470
↓ 1 callers
Function
synthetic_ratings
(n: int = 10000, n_movies: int = 1682, seed: int = 42)
mlperf-edu/scripts/smoke_data_quality.py:26
↓ 1 callers
Function
system_design_context
Resolve catalog metadata, track variant, and registry refs for a Volume II lab.
labs/mlsysbook_labs/system_design.py:248
↓ 1 callers
Method
t
()
book/quarto/tools/scripts/socratiQ/collaborative-widget-bridge.js:10251
↓ 1 callers
Function
table_needs_fixing
Check if table has misaligned columns. Returns (needs_fixing, content_too_wide). content_too_wide means content is wider than header - n
tinytorch/tools/dev/fix_ascii_boxes.py:332
↓ 1 callers
Method
tanh
(x)
tinytorch/tests/integration/test_forward_passes.py:51
↓ 1 callers
Function
target
Return the logical PNG path consumed by margin_devices.save().
book/tools/scripts/margin_figures/generate_margin_figures.py:86
↓ 1 callers
Function
target_excerpt
(lines: list[str], line_no: int, max_lines: int = 18, max_chars: int = 1600)
scripts/cross-references/build_semantic_validation_packets.py:55
↓ 1 callers
Function
target_path
(record: dict, output_dir: Path)
interviews/vault/scripts/migrate_to_v1_0.py:267
↓ 1 callers
Function
taxonomy_quadrant
(chapter, name, *, selected=(0, 1), xlabel="", ylabel="", labels=None)
book/tools/scripts/margin_figures/generate_margin_figures.py:272
↓ 1 callers
Function
tensor_cache_analysis
Determine which cache level a tensor fits in, based on measured cache sizes. Returns a factual statement about tensor size vs cache capacity.
mlperf-edu/src/mlperf/fingerprint.py:249
↓ 1 callers
Function
test1_landing_loads
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:34
↓ 1 callers
Function
test2_vault_areas_visible
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:44
↓ 1 callers
Function
test3_topic_drill_shows_real_previews
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:54
↓ 1 callers
Function
test4_practice_loads_chain_member
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:90
↓ 1 callers
Function
test5_chain_badge_or_indicator
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:106
↓ 1 callers
Function
test6_hierarchy_doesnt_break_runtime
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:118
↓ 1 callers
Function
test7_tier_aware_chain_routing
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:153
↓ 1 callers
Function
test8_explore_tier_filter
(page)
interviews/staffml/tests/chain-and-vault-smoke.mjs:131
↓ 1 callers
Method
testCustomAPIEnabledCheck
* Test custom API enabled check
socratiq/src_shadow/js/libs/agents/test-toggle-reset.js:77
↓ 1 callers
Function
testEdgeCases
* Test edge cases
socratiq/src_shadow/js/components/markdown/test_reference_renderer.js:74
↓ 1 callers
Method
testGemini
* Test Gemini integration
socratiq/src_shadow/js/libs/agents/test-custom-api.js:13
↓ 1 callers
Method
testOllama
* Test Ollama integration
socratiq/src_shadow/js/libs/agents/test-custom-api.js:53
↓ 1 callers
Function
testReferenceParsing
* Test the reference parsing functionality
socratiq/src_shadow/js/components/markdown/test_reference_renderer.js:8
↓ 1 callers
Function
testReferenceProcessing
* Test the reference processing with HTML content
socratiq/src_shadow/js/components/markdown/test_reference_renderer.js:48
↓ 1 callers
Method
testResetFunctionality
* Test reset functionality
socratiq/src_shadow/js/libs/agents/test-toggle-reset.js:40
↓ 1 callers
Method
testSettingsIntegration
* Test settings integration
socratiq/src_shadow/js/libs/agents/test-custom-api.js:116
↓ 1 callers
Method
testToggleSwitch
* Test toggle switch functionality
socratiq/src_shadow/js/libs/agents/test-toggle-reset.js:11
↓ 1 callers
Method
testUIStateManagement
* Test UI state management
socratiq/src_shadow/js/libs/agents/test-toggle-reset.js:118
↓ 1 callers
Function
test_acceleration_integration
Test acceleration system integration.
tinytorch/tests/17_acceleration/test_acceleration_integration.py:11
↓ 1 callers
Method
test_all_modules
Test all modules sequentially.
tinytorch/tito/commands/module/test.py:376
↓ 1 callers
Function
test_already_formatted_table
Test table that's already properly formatted.
book/tools/scripts/testing/test_format_tables.py:269
↓ 1 callers
Function
test_arithmetic_gradient_flow
Test that arithmetic operations preserve requires_grad and set _grad_fn.
tinytorch/tests/06_autograd/test_autograd_gradient_flow.py:27
↓ 1 callers
Function
test_attention_kv_cache_shapes
Test that KV caching maintains proper shapes.
tinytorch/tests/regression/test_transformer_reshaping.py:184
↓ 1 callers
Function
test_attention_mask_gradient_flow
Test that attention with masking preserves gradient flow.
tinytorch/tests/13_transformers/test_transformer_gradient_flow.py:209
↓ 1 callers
Method
test_avgpool2d_actually_averages
Verify AvgPool2d actually computes averages.
tinytorch/tests/integration/test_cnn_integration.py:131
↓ 1 callers
Function
test_bce_loss_gradients
Test BinaryCrossEntropyLoss with autograd - SHOULD WORK
tinytorch/tests/integration/test_loss_gradients.py:64
↓ 1 callers
Function
test_benchmarking_integration
Test benchmarking system integration.
tinytorch/tests/19_benchmarking/test_benchmarking_integration.py:11
↓ 1 callers
Function
test_bold_text
Test bolding text.
book/tools/scripts/testing/test_format_tables.py:51
↓ 1 callers
Function
test_build_border
Test building border lines.
book/tools/scripts/testing/test_format_tables.py:122
↓ 1 callers
Function
test_build_separator
Test building separator lines.
book/tools/scripts/testing/test_format_tables.py:134
↓ 1 callers
Method
test_cache_boundary_conditions
Test cache handles boundary conditions correctly.
tinytorch/tests/18_memoization/test_kv_cache_integration.py:262
↓ 1 callers
Method
test_cache_memory_tracking
Test cache memory usage calculation.
tinytorch/tests/18_memoization/test_kv_cache_integration.py:198
↓ 1 callers
Method
test_cache_reset_and_reuse
Test cache can be reset and reused for multiple generations.
tinytorch/tests/18_memoization/test_kv_cache_integration.py:148
↓ 1 callers
Method
test_cache_with_batch_inference
Test cache supports batch inference (multiple sequences).
tinytorch/tests/18_memoization/test_kv_cache_integration.py:228
↓ 1 callers
Method
test_cache_with_linear_projections
Test that cache works with Linear layer projections (Q, K, V).
tinytorch/tests/18_memoization/test_kv_cache_integration.py:33
↓ 1 callers
Method
test_cache_with_multi_layer_transformer
Test cache with multiple transformer layers.
tinytorch/tests/18_memoization/test_kv_cache_integration.py:108
↓ 1 callers
Function
test_capstone_integration
Test capstone project integration.
tinytorch/tests/20_capstone/test_capstone_integration.py:11
↓ 1 callers
Function
test_cifar_cnn
Test YOUR CNN on CIFAR-10 test set using DataLoader.
tinytorch/milestones/04_1998_cnn/02_lecun_cifar10.py:493
↓ 1 callers
Function
test_complete_neural_networks
Integration test: Complete neural networks using all implemented components.
tinytorch/tests/integration/test_layers_integration.py:45
↓ 1 callers
Function
test_compression_integration
Test compression system integration.
tinytorch/tests/16_compression/test_compression_integration.py:11
↓ 1 callers
Method
test_conv2d_actually_convolves
Verify Conv2d performs actual convolution computation.
tinytorch/tests/integration/test_cnn_integration.py:24
↓ 1 callers
Method
test_conv2d_parameter_count
Verify Conv2d has the correct number of parameters.
tinytorch/tests/integration/test_cnn_integration.py:79
↓ 1 callers
Method
test_conv2d_shape_transformations
Test that Conv2d produces correct output shapes for various configurations.
tinytorch/tests/integration/test_cnn_integration.py:59
↓ 1 callers
Method
test_conv2d_with_zeros
Test Conv2d handles zero inputs correctly.
tinytorch/tests/integration/test_cnn_integration.py:277
↓ 1 callers
Function
test_conv_output_size_calculation
Test that convolution output size is calculated correctly.
tinytorch/tests/regression/test_conv_linear_dimensions.py:129
↓ 1 callers
Function
test_conv_to_linear_dimension_match
Regression test ensuring Conv2d output dimensions match Linear input. This exact architecture failed in examples/alexnet_2012/train_cnn.py
tinytorch/tests/regression/test_conv_linear_dimensions.py:55
↓ 1 callers
Function
test_cross_module_compatibility
Test that layers work correctly with tensor operations.
tinytorch/tests/integration/test_layers_integration.py:128
↓ 1 callers
Function
test_crossentropy_loss_gradients
Test CrossEntropyLoss with autograd - CURRENTLY BROKEN
tinytorch/tests/integration/test_loss_gradients.py:118
↓ 1 callers
Function
test_dataloader_memory_efficiency
Test that DataLoader doesn't load entire dataset into memory at once.
tinytorch/tests/integration/test_dataloader_integration.py:116
↓ 1 callers
Function
test_dataloader_shuffle_consistency
Test that shuffle produces different orders across epochs.
tinytorch/tests/integration/test_dataloader_integration.py:94
↓ 1 callers
Function
test_dense_module_integration
Test that dense module integrates correctly with package.
tinytorch/tests/03_layers/test_dense_integration.py:15
↓ 1 callers
Function
test_display_width
Test display width calculation.
book/tools/scripts/testing/test_format_tables.py:32
↓ 1 callers
Function
test_division_backward
Test that division computes correct gradients.
tinytorch/tests/06_autograd/test_autograd_gradient_flow.py:80
↓ 1 callers
Function
test_embedding_dimension_compatibility
Test that embeddings match transformer input requirements.
tinytorch/tests/regression/test_transformer_reshaping.py:214
↓ 1 callers
Function
test_extract_alignment
Test extracting alignment from separator.
book/tools/scripts/testing/test_format_tables.py:100
↓ 1 callers
Function
test_file
(qmd_file)
scripts/exec_single.py:4
↓ 1 callers
Function
test_format_cell
Test formatting cell content.
book/tools/scripts/testing/test_format_tables.py:147
↓ 1 callers
Function
test_full_gpt_architecture_shapes
Test shape flow through complete GPT architecture.
tinytorch/tests/regression/test_transformer_reshaping.py:124
↓ 1 callers
Function
test_full_gpt_gradient_flow
Test that all GPT model parameters receive gradients end-to-end.
tinytorch/tests/13_transformers/test_transformer_gradient_flow.py:119
↓ 1 callers
Function
test_gelu_gradient_flow
Test that GELU activation preserves gradient flow.
tinytorch/tests/06_autograd/test_autograd_gradient_flow.py:104
↓ 1 callers
Function
test_is_bolded
Test checking if text is bolded.
book/tools/scripts/testing/test_format_tables.py:71
↓ 1 callers
Function
test_kv_cache_integration_with_attention
Test KV cache integration with MultiHeadAttention.
tinytorch/tests/18_memoization/test_kv_cache_integration.py:309
↓ 1 callers
Function
test_layernorm_gradient_flow
Test that LayerNorm parameters receive gradients.
tinytorch/tests/13_transformers/test_transformer_gradient_flow.py:61
↓ 1 callers
Method
test_maxpool2d_actually_pools
Verify MaxPool2d actually takes maximum values, not just shape manipulation.
tinytorch/tests/integration/test_cnn_integration.py:103
↓ 1 callers
Function
test_mlp_gradient_flow
Test that MLP parameters receive gradients.
tinytorch/tests/13_transformers/test_transformer_gradient_flow.py:89
↓ 1 callers
Function
test_modern_api_integration
Test complete modern API integration across all components.
tinytorch/tests/integration/test_api_simplification_integration.py:29
↓ 1 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire benchmarking module functionality. This final test runs before module summa
tinytorch/src/19_benchmarking/19_benchmarking.py:3820
↓ 1 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire compression module functionality. This final test runs before module summar
tinytorch/src/16_compression/16_compression.py:1734
↓ 1 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/13_transformers/13_transformers.py:1837
↓ 1 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/03_layers/03_layers.py:1243
↓ 1 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/11_embeddings/11_embeddings.py:1780
↓ 1 callers
Function
test_module
🧪 Module Test: Complete Integration Comprehensive test of entire attention module functionality. This final test runs before module summary
tinytorch/src/12_attention/12_attention.py:1350
↓ 1 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/07_optimizers/07_optimizers.py:1726
↓ 1 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/05_dataloader/05_dataloader.py:2012
↓ 1 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/15_quantization/15_quantization.py:2124
← previous
next →
7,901–8,000 of 13,553, ranked by callers