MCPcopy Create free account

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

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

↓ 1 callersFunctionwrite_lock
()
phases/14-agent-engineering/35-initialization-scripts/code/main.py:171
↓ 1 callersFunctionwrite_manifest
(target_root: Path, artifacts: list[Artifact], layout: str)
scripts/install_skills.py:200
↓ 1 callersMethodwrite_notification
(self, method: str, params: Any | None = None)
phases/19-capstone-projects/22-jsonrpc-stdio-transport/code/main.py:128
↓ 1 callersFunctionwrite_ply
(path, points, colors=None)
phases/04-computer-vision/26-monocular-depth/code/main.py:54
↓ 1 callersFunctionwrite_prompt_output
()
phases/01-math-foundations/20-fourier-transform/code/fourier.py:502
↓ 1 callersFunctionwrite_report
(reports: list[dict[str, object]])
phases/19-capstone-projects/84-refusal-evaluation/code/main.py:148
↓ 1 callersFunctionwrite_report
(payload: dict[str, object])
phases/19-capstone-projects/86-constitutional-rules-engine/code/main.py:247
↓ 1 callersFunctionwrite_report
(actions: list[dict[str, object]])
phases/19-capstone-projects/85-content-classifier-integration/code/main.py:113
↓ 1 callersFunctionwrite_report
(report: dict[str, object])
phases/19-capstone-projects/83-prompt-injection-detector/code/main.py:224
↓ 1 callersFunctionwrite_report
(po: TaskOutcome, wb: TaskOutcome)
phases/14-agent-engineering/41-workbench-for-real-repos/code/main.py:78
↓ 1 callersFunctionwrite_report
(summary: str)
phases/15-autonomous-systems/12-durable-execution/code/main.py:84
↓ 1 callersFunctionwrite_sample
()
phases/14-agent-engineering/41-workbench-for-real-repos/code/main.py:102
↓ 1 callersFunctionwrite_schedule_csv
Write one row per step to a CSV with columns (step, lr).
phases/19-capstone-projects/44-cosine-lr-warmup/code/main.py:217
↓ 1 callersFunctionwrite_seed_rules
()
phases/14-agent-engineering/33-instructions-as-executable-constraints/code/main.py:71
↓ 1 callersFunctionwrite_skill_output
()
phases/01-math-foundations/19-complex-numbers/code/complex_numbers.py:402
↓ 1 callersFunctionwrite_step_log_csv
Write the canonical training-step CSV. Columns: step, lr, grad_l2_pre_clip, grad_l2_post_clip, loss, skipped, skip_reason, scaler_scale.
phases/19-capstone-projects/45-gradient-clipping-amp/code/main.py:322
↓ 1 callersFunctionwrite_step_log_csv
Write the training log to a CSV with the canonical schema.
phases/19-capstone-projects/44-cosine-lr-warmup/code/main.py:229
↓ 1 callersFunctionwrite_task_jsonl
(examples: Iterable[Example], path: Path)
phases/19-capstone-projects/49-lm-eval-harness/code/main.py:276
↓ 1 callersFunctionwrite_traces
(payload: dict[str, object])
phases/19-capstone-projects/87-end-to-end-safety-gate/code/main.py:45
↓ 1 callersFunctionwrite_wav
(path, samples, sr)
phases/06-speech-and-audio/01-audio-fundamentals/code/main.py:24
↓ 1 callersFunctionwriterTasksReply
(taskId: string, message: Message)
phases/13-tools-and-protocols/19-a2a-protocol/code/main.ts:135
↓ 1 callersFunctionwriterTasksSend
(skillId: string, message: Message)
phases/13-tools-and-protocols/19-a2a-protocol/code/main.ts:110
↓ 1 callersFunctionwriter_tasks_reply
(task_id: str, message: Message)
phases/13-tools-and-protocols/19-a2a-protocol/code/main.py:93
↓ 1 callersFunctionwriter_tasks_send
(skill_id: str, message: Message)
phases/13-tools-and-protocols/19-a2a-protocol/code/main.py:74
↓ 1 callersFunctionxor_network
(x1, x2)
phases/03-deep-learning-core/01-the-perceptron/code/perceptron.py:81
↓ 1 callersFunctionyolo_loss
(pred, target, has_obj, lambda_coord=5.0, lambda_obj=1.0, lambda_noobj=0.5, lambda_cls=1.0)
phases/04-computer-vision/06-object-detection-yolo/code/main.py:121
↓ 1 callersFunctionz_statistic
(success_a: int, n_a: int, success_b: int, n_b: int)
phases/17-infrastructure-and-production/21-ab-testing-llm-features/code/main.py:13
↓ 1 callersMethodzero_grad
(self)
phases/19-capstone-projects/81-end-to-end-distributed-train/code/main.py:195
↓ 1 callersFunctionzero_shot_classify
(model, image_feats, class_text_feats, class_names)
phases/04-computer-vision/18-open-vocab-clip/code/main.py:35
↓ 1 callersFunctionzero_shot_classify
Argmax cosine similarity over class prompts.
phases/12-multimodal-ai/02-clip-contrastive-pretraining/code/main.py:81
↓ 1 callersFunctionzero_shot_cot_solve
(question, client, model)
phases/11-llm-engineering/02-few-shot-cot/code/advanced_prompting.py:179
↓ 1 callersFunctionzero_shot_solve
(question, client, model)
phases/11-llm-engineering/02-few-shot-cot/code/advanced_prompting.py:173
↓ 1 callersFunctionzeros
(rows, cols)
phases/08-generative-ai/08-controlnet-lora-conditioning/code/main.py:13
MethodT
(self)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:116
Method__add__
(self, other)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:194
Method__add__
(self, other)
phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py:6
Method__add__
(self, other)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:12
Method__add__
(self, other)
phases/01-math-foundations/02-vectors-matrices-operations/code/matrices.py:55
Method__call__
(self, x)
phases/03-deep-learning-core/03-backpropagation/code/main.py:89
Method__call__
(self, x)
phases/03-deep-learning-core/03-backpropagation/code/main.py:101
Method__call__
(self, x)
phases/03-deep-learning-core/03-backpropagation/code/main.py:118
Method__call__
(self, predicted, target)
phases/03-deep-learning-core/10-mini-framework/code/main.py:246
Method__call__
(self, predicted, target)
phases/03-deep-learning-core/10-mini-framework/code/main.py:259
Method__call__
(self, prompt: str)
phases/19-capstone-projects/84-refusal-evaluation/code/mock_llm.py:58
Method__call__
(self, section: Section, paper: Paper)
phases/19-capstone-projects/54-paper-writer/code/main.py:176
Method__call__
(self, paper: MiniPaper, round_: int)
phases/19-capstone-projects/55-critic-loop/code/main.py:85
Method__call__
(self, paper: MiniPaper, suggestions: list[Suggestion])
phases/19-capstone-projects/55-critic-loop/code/main.py:89
Method__call__
(self, prompt: str)
phases/14-agent-engineering/12-anthropic-workflow-patterns/code/main.py:21
Method__call__
(self, x)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:196
Method__call__
(self, x)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:208
Method__call__
(self, x)
phases/01-math-foundations/05-chain-rule-and-autodiff/code/autodiff.py:220
Method__enter__
(self)
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:128
Method__enter__
(self)
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:297
Method__enter__
(self)
phases/19-capstone-projects/46-gradient-accumulation/code/main.py:134
Method__enter__
(self)
phases/00-setup-and-tooling/12-debugging-and-profiling/code/debug_tools.py:33
Method__eq__
(self, other)
phases/01-math-foundations/19-complex-numbers/code/complex_numbers.py:64
Method__exit__
(self, exc_type, exc, tb)
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:140
Method__exit__
(self, exc_type, exc, tb)
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:300
Method__exit__
(self, exc_type, exc, tb)
phases/19-capstone-projects/46-gradient-accumulation/code/main.py:137
Method__exit__
(self, *args)
phases/00-setup-and-tooling/12-debugging-and-profiling/code/debug_tools.py:37
Method__getitem__
(self, i)
phases/04-computer-vision/07-semantic-segmentation-unet/code/main.py:137
Method__getitem__
(self, i)
phases/04-computer-vision/05-transfer-learning/code/main.py:42
Method__getitem__
(self, i)
phases/04-computer-vision/04-image-classification/code/main.py:41
Method__getitem__
(self, index: int)
phases/19-capstone-projects/31-tokenized-dataset-sliding-window/code/main.py:186
Method__getitem__
(self, idx: int)
phases/19-capstone-projects/39-instruction-tuning-sft/code/main.py:391
Method__getitem__
(self, idx: int)
phases/19-capstone-projects/38-classifier-finetuning/code/main.py:302
Method__getitem__
(self, idx: int)
phases/19-capstone-projects/38-classifier-finetuning/code/main.py:322
Method__getitem__
(self, idx: int)
phases/19-capstone-projects/41-eval-pipeline/code/main.py:372
Method__getitem__
(self, indices)
phases/01-math-foundations/12-tensor-operations/code/tensors.py:86
Method__init__
(self)
phases/18-ethics-safety-alignment/07-sleeper-agents-persistent-deception/code/main.py:80
Method__init__
(self, model)
phases/03-deep-learning-core/13-debugging-neural-networks/code/debug_neural_nets.py:8
Method__init__
(self, data, children=(), op='')
phases/03-deep-learning-core/03-backpropagation/code/main.py:6
Method__init__
(self, n_inputs)
phases/03-deep-learning-core/03-backpropagation/code/main.py:84
Method__init__
(self, n_inputs, n_outputs)
phases/03-deep-learning-core/03-backpropagation/code/main.py:98
Method__init__
(self, sizes)
phases/03-deep-learning-core/03-backpropagation/code/main.py:113
Method__init__
(self, p=0.5)
phases/03-deep-learning-core/07-regularization/code/main.py:6
Method__init__
(self, num_features, momentum=0.1, eps=1e-5)
phases/03-deep-learning-core/07-regularization/code/main.py:47
Method__init__
(self, num_features, eps=1e-5)
phases/03-deep-learning-core/07-regularization/code/main.py:94
Method__init__
(self, num_features, eps=1e-6)
phases/03-deep-learning-core/07-regularization/code/main.py:114
Method__init__
(self, hidden_size=16, lr=0.05, dropout_p=0.0, weight_decay=0.0)
phases/03-deep-learning-core/07-regularization/code/main.py:144
Method__init__
(self, n_inputs, n_neurons, weights=None, biases=None)
phases/03-deep-learning-core/02-multi-layer-networks/code/main.py:11
Method__init__
(self, layers)
phases/03-deep-learning-core/02-multi-layer-networks/code/main.py:37
Method__init__
(self, loss_type="bce", hidden_size=8, lr=0.1)
phases/03-deep-learning-core/05-loss-functions/code/main.py:115
Method__init__
(self, activation_fn, activation_deriv, hidden_size=8, lr=0.1)
phases/03-deep-learning-core/04-activation-functions/code/main.py:138
Method__init__
(self, n_inputs, learning_rate=0.1)
phases/03-deep-learning-core/01-the-perceptron/code/perceptron.py:2
Method__init__
(self, learning_rate=0.5)
phases/03-deep-learning-core/01-the-perceptron/code/perceptron.py:108
Method__init__
(self)
phases/03-deep-learning-core/11-intro-to-pytorch/code/pytorch_intro.py:63
Method__init__
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:6
Method__init__
(self, fan_in, fan_out)
phases/03-deep-learning-core/10-mini-framework/code/main.py:26
Method__init__
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:66
Method__init__
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:79
Method__init__
(self)
phases/03-deep-learning-core/10-mini-framework/code/main.py:95
Method__init__
(self, p=0.5)
phases/03-deep-learning-core/10-mini-framework/code/main.py:108
Method__init__
(self, size, momentum=0.1, eps=1e-5)
phases/03-deep-learning-core/10-mini-framework/code/main.py:126
Method__init__
(self, *modules)
phases/03-deep-learning-core/10-mini-framework/code/main.py:211
Method__init__
(self, parameters, lr=0.001, beta1=0.9, beta2=0.999, eps=1e-8)
phases/03-deep-learning-core/10-mini-framework/code/main.py:302
Method__init__
(self, data, batch_size=32, shuffle=True)
phases/03-deep-learning-core/10-mini-framework/code/main.py:342
Method__init__
(self, lr=0.01)
phases/03-deep-learning-core/06-optimizers/code/main.py:6
Method__init__
(self, lr=0.01, beta=0.9)
phases/03-deep-learning-core/06-optimizers/code/main.py:15
Method__init__
(self, lr=0.001, beta1=0.9, beta2=0.999, epsilon=1e-8)
phases/03-deep-learning-core/06-optimizers/code/main.py:29
← previousnext →5,801–5,900 of 8,347, ranked by callers