MCPcopy Create free account

hub / github.com/rohitg00/ai-engineering-from-scratch / functions

Functions8,347 in github.com/rohitg00/ai-engineering-from-scratch

↓ 1,326 callersFunctionel
(name, attrs = {}, kids = [])
site/figures.js:21
↓ 987 callersMethodappend
(self, m: Message)
phases/13-tools-and-protocols/19-a2a-protocol/code/main.py:67
↓ 555 callersMethodappend
(self, k, v)
phases/07-transformers-deep-dive/12-kv-cache-flash-attention/code/main.py:64
↓ 504 callersFunctionsvgEl
(tag, attrs, kids)
site/lesson-figures.js:55
↓ 362 callersMethodlog
(self)
phases/19-capstone-projects/44-cosine-lr-warmup/code/main.py:155
↓ 326 callersMethoditems
(self)
phases/14-agent-engineering/23-otel-genai-conventions/code/main.py:42
↓ 249 callersMethodget
(self, key: str)
phases/14-agent-engineering/01-the-agent-loop/code/main.py:70
↓ 241 callersMethodmean
(self)
phases/19-capstone-projects/55-critic-loop/code/main.py:69
↓ 235 callersMethodexp
(self)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:74
↓ 227 callersMethodsum
(self, axis=None)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:203
↓ 225 callersMethodpush
(self, node: Node)
phases/19-capstone-projects/05-autonomous-research-agent/code/main.py:118
↓ 222 callersFunctionel
(tag, attrs, kids)
site/lesson-figures.js:45
↓ 220 callersMethodwrite
Validate, fill prose, render, and write three files. Returns the manifest dict.
phases/19-capstone-projects/54-paper-writer/code/main.py:226
↓ 198 callersFunctionslider
(state, key, label, min, max, step, fmt)
site/lesson-figures.js:64
↓ 190 callersMethodrandom
(rows, cols, low=-1.0, high=1.0)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:158
↓ 177 callersMethodmax
(self)
phases/12-multimodal-ai/08-llava-onevision-single-multi-video/code/main.py:24
↓ 157 callersMethodzeros
(rows, cols)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:154
↓ 154 callersMethodlog
(self)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:83
↓ 152 callersMethodappend
(self, session_id: str, turn: Turn)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:53
↓ 141 callersMethodget
(self, labels: dict[str, str] | None = None)
phases/19-capstone-projects/28-observability-otel-traces/code/main.py:209
↓ 132 callersMethodreshape
(self, new_shape)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:98
↓ 127 callersFunctiontest
(d)
site/lesson-figures.js:231
↓ 121 callersMethodreplace
(self, old: str, new: str)
phases/14-agent-engineering/08-memory-blocks-sleep-time-compute/code/main.py:30
↓ 115 callersMethodmin
(self)
phases/12-multimodal-ai/08-llava-onevision-single-multi-video/code/main.py:27
↓ 114 callersMethodparameters
(self)
phases/19-capstone-projects/77-data-parallel-ddp/code/main.py:86
↓ 98 callersMethodok
(self)
phases/19-capstone-projects/37-loading-pretrained-weights/code/main.py:173
↓ 96 callersMethodrepeat
(toks: string[], times: number)
phases/19-capstone-projects/02-rag-over-codebase/code/ts/src/index_store.ts:83
↓ 91 callersMethodmatch
(self, prompt: str)
phases/19-capstone-projects/82-jailbreak-taxonomy/code/main.py:138
↓ 89 callersMethodlog
(self, msg: str)
phases/19-capstone-projects/03-realtime-voice-assistant/code/main.py:96
↓ 82 callersMethodtranspose
(self, dim0, dim1)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:144
↓ 75 callersMethodextend
(self, n: int)
phases/10-llms-from-scratch/15-speculative-decoding-eagle3/code/main.py:54
↓ 72 callersMethodget
(self, model, messages, temperature=0.0)
phases/11-llm-engineering/11-caching-cost/code/caching_cost.py:58
↓ 71 callersMethodinsert
(self, doc_id: str, signature: list[int])
phases/19-capstone-projects/42-large-corpus-downloader/code/main.py:199
↓ 69 callersMethodbackward
(self, grad)
phases/03-deep-learning-core/10-mini-framework/code/main.py:74
↓ 69 callersMethodencode
(self, text)
phases/10-llms-from-scratch/01-tokenizers/code/bpe.py:45
↓ 63 callersMethodappend
(self, msg: Message)
phases/16-multi-agent-and-swarms/04-primitive-model/code/main.py:28
↓ 62 callersMethodresolve
(name: string)
phases/16-multi-agent-and-swarms/03-communication-protocols/code/main.ts:89
↓ 60 callersMethodeval
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:21
↓ 56 callersFunctionopen
()
site/cmdpalette.js:288
↓ 54 callersMethodunsqueeze
(self, dim)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:137
↓ 53 callersMethodget
(self, name: str)
phases/19-capstone-projects/07-end-to-end-fine-tuning-pipeline/code/main.py:45
↓ 50 callersMethodget
(self, i, j)
phases/07-transformers-deep-dive/05-full-transformer/code/main.py:23
↓ 49 callersFunctiontxt
(s)
site/figures.js:27
↓ 47 callersMethodget
(self, name: str)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:27
↓ 47 callersMethodpop
(self)
phases/19-capstone-projects/05-autonomous-research-agent/code/main.py:124
↓ 46 callersMethodget
(self, tid: str)
phases/16-multi-agent-and-swarms/12-a2a-protocol/code/main.py:75
↓ 45 callersMethodadd
(vector: Vec, text: string, metadata: Record<string, string> = {})
phases/11-llm-engineering/04-embeddings/code/main.ts:153
↓ 43 callersMethodwrite
(path: string, contents: string, writer: Role)
phases/19-capstone-projects/10-multi-agent-software-team/code/ts/src/workspace.ts:8
↓ 42 callersMethodget
(id: string)
phases/19-capstone-projects/17-personal-ai-tutor/code/ts/src/mastery.ts:8
↓ 42 callersMethodset
(self, key: str, value: str)
phases/14-agent-engineering/01-the-agent-loop/code/main.py:73
↓ 40 callersMethodlog
(self, worker_id: int, event: str, sub_question: str = "")
phases/16-multi-agent-and-swarms/05-supervisor-orchestrator-pattern/code/main.py:36
↓ 40 callersMethodparameters
(self)
phases/03-deep-learning-core/03-backpropagation/code/main.py:105
↓ 39 callersMethodupdate
(self, sample: float)
phases/19-capstone-projects/44-cosine-lr-warmup/code/main.py:306
↓ 37 callersMethodappend
(self, text: str)
phases/14-agent-engineering/08-memory-blocks-sleep-time-compute/code/main.py:23
↓ 37 callersMethodappend
(self, ev: dict)
phases/15-autonomous-systems/12-durable-execution/code/main.py:36
↓ 37 callersMethodcopy
(self)
phases/18-ethics-safety-alignment/01-instruction-following-alignment-signal/code/main.py:53
↓ 37 callersFunctionfn
(state: State)
phases/14-agent-engineering/13-langgraph-stateful-graphs/code/main.py:62
↓ 37 callersFunctionpx
(x)
site/figures-dl.js:21
↓ 37 callersFunctionpy
(y)
site/figures-dl.js:22
↓ 37 callersMethodread
(path: string)
phases/19-capstone-projects/10-multi-agent-software-team/code/ts/src/workspace.ts:20
↓ 33 callersMethodrequest
(self, method: str, params: dict[str, Any] | None = None)
phases/11-llm-engineering/14-model-context-protocol/code/main.py:143
↓ 32 callersMethodcount
()
phases/19-capstone-projects/16-github-issue-to-pr-agent/code/ts/src/agent.ts:14
↓ 31 callersMethodstart
(self, fn: Callable[[Any], tuple[str, Any]])
phases/14-agent-engineering/15-crewai-role-based-crews/code/main.py:131
↓ 30 callersMethodcopy
(self)
phases/07-transformers-deep-dive/05-full-transformer/code/main.py:32
↓ 30 callersMethodindex
(documents: string[], sourceNames?: string[])
phases/11-llm-engineering/06-rag/code/main.ts:142
↓ 30 callersMethodon
(self, event: str, fn: HookFn)
phases/19-capstone-projects/01-terminal-native-coding-agent/code/main.py:91
↓ 30 callersMethodsize
(self)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:65
↓ 29 callersMethodclose
(self)
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:288
↓ 29 callersMethodencode
(self, text: str)
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:92
↓ 29 callersFunctionfmt
(v, decimals=4)
phases/01-math-foundations/03-matrix-transformations/code/transformations.py:98
↓ 29 callersMethodsearch
(self, query, top_k=10)
phases/11-llm-engineering/07-advanced-rag/code/main.py:109
↓ 28 callersMethodget
(self, h: str)
phases/10-llms-from-scratch/13-building-complete-llm-pipeline/code/main.py:81
↓ 26 callersMethodhas
(key: K)
phases/17-infrastructure-and-production/14-prompt-semantic-caching/code/main.ts:73
↓ 26 callersMethodtanh
(self)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:65
↓ 26 callersMethodzero_grad
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:333
↓ 25 callersMethodparse
(input: unknown, path?: string)
phases/11-llm-engineering/03-structured-outputs/code/main.ts:16
↓ 25 callersFunctionrng
()
phases/19-capstone-projects/17-personal-ai-tutor/code/ts/src/index.ts:27
↓ 25 callersMethodstate_dict
(self)
phases/19-capstone-projects/81-end-to-end-distributed-train/code/main.py:201
↓ 24 callersMethodadd
(self, rule: str, lesson: Path, file: Path | None, message: str)
scripts/audit_lessons.py:59
↓ 24 callersMethodlog
(entry: AuditEntry)
phases/19-capstone-projects/16-github-issue-to-pr-agent/code/ts/src/agent.ts:6
↓ 24 callersFunctionnow
()
phases/11-llm-engineering/12-guardrails/code/main.ts:86
↓ 23 callersMethoddispatch
( self, name: str, args: dict, *, timeout_ms_override: int | None = No
phases/19-capstone-projects/23-function-call-dispatcher/code/main.py:151
↓ 23 callersMethodflatten
(self, start_dim=0, end_dim=-1)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:170
↓ 23 callersFunctionmean
(data)
phases/01-math-foundations/15-statistics-for-ml/code/statistics.py:7
↓ 23 callersMethodrun
( self, argv: Sequence[str], *, shell: bool = False, cwd: str | None =
phases/19-capstone-projects/26-sandbox-runner-denylist/code/main.py:258
↓ 23 callersMethodsearch
(self, query: str, k: int = 10)
phases/19-capstone-projects/02-rag-over-codebase/code/main.py:126
↓ 23 callersMethodsoftmax
(self, scores)
phases/02-ml-fundamentals/03-logistic-regression/code/logistic_regression.py:173
↓ 22 callersFunctionclamp
(x, lo, hi)
site/lesson-figures.js:83
↓ 22 callersMethodend
(self)
phases/12-multimodal-ai/16-mio-any-to-any-streaming/code/main.py:19
↓ 22 callersMethodget
(self, name: str)
phases/14-agent-engineering/10-skill-libraries-voyager/code/main.py:61
↓ 22 callersFunctionlog
(line: string)
phases/19-capstone-projects/03-realtime-voice-assistant/code/ts/src/orchestrator.ts:53
↓ 22 callersMethodpush
(item: T)
phases/19-capstone-projects/11-llm-observability-dashboard/code/ts/src/spans.ts:49
↓ 22 callersFunctionpy
(y)
site/figures-ml.js:25
↓ 22 callersMethodtrain
(self, text, num_merges)
phases/10-llms-from-scratch/01-tokenizers/code/bpe.py:27
↓ 21 callersMethodencode
Return (ids, attention_mask). Pads to max_len.
phases/19-capstone-projects/38-classifier-finetuning/code/main.py:41
↓ 21 callersMethodstep
(self, params, grads)
phases/03-deep-learning-core/06-optimizers/code/main.py:38
↓ 20 callersMethoddim
()
phases/11-llm-engineering/04-embeddings/code/main.ts:92
↓ 20 callersMethoddot
(self, other)
phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py:15
↓ 20 callersMethodpermute
(self, dims)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:149
↓ 20 callersMethodregister
( self, name: str, schema: dict, handler: Callable[..., Any], descript
phases/19-capstone-projects/21-tool-registry-schema-validation/code/main.py:70
next →1–100 of 8,347, ranked by callers