update template code

This commit is contained in:
phatakmr
2025-10-13 14:48:00 +02:00
parent c9d159fcc6
commit 8f637a4a0d
46 changed files with 2955 additions and 1 deletions

10
mmp/a1/tensors.py Normal file
View File

@@ -0,0 +1,10 @@
import torch
def avg_color(img: torch.Tensor):
raise NotImplementedError()
def mask(foreground: torch.Tensor, background: torch.Tensor, mask_tensor: torch.Tensor, threshold: float):
raise NotImplementedError()
def add_matrix_vector(matrix: torch.Tensor, vector: torch.Tensor):
raise NotImplementedError()