Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Ramkan7
/
Patch_Hawk
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Patch_Hawk
/
patchhawk
/
data
/
benign
/
math_matrix.py
RAMCr7
Final patch
58f6308
4 months ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
169 Bytes
def
matrix_addition
(
mat1, mat2
):
"""Add two matrices."""
return
[
[mat1[i][j] + mat2[i][j]
for
j
in
range
(
len
(mat1[
0
]))]
for
i
in
range
(
len
(mat1))
]