{"id":16649514,"url":"https://github.com/rmpr/zama-challenge","last_synced_at":"2026-04-26T14:31:21.106Z","repository":{"id":101768634,"uuid":"371944909","full_name":"RMPR/zama-challenge","owner":"RMPR","description":"zama challenge","archived":false,"fork":false,"pushed_at":"2021-05-31T05:48:22.000Z","size":1947,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T06:42:24.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RMPR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-29T10:35:49.000Z","updated_at":"2021-05-31T05:48:24.000Z","dependencies_parsed_at":"2023-07-17T02:15:10.451Z","dependency_job_id":null,"html_url":"https://github.com/RMPR/zama-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RMPR%2Fzama-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RMPR%2Fzama-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RMPR%2Fzama-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RMPR%2Fzama-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RMPR","download_url":"https://codeload.github.com/RMPR/zama-challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243223226,"owners_count":20256447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T09:10:52.799Z","updated_at":"2025-12-25T14:35:18.519Z","avatar_url":"https://github.com/RMPR.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zama-challenge\nThis is a simple library to perform inference on Neural Networks, it's a set \nof linear algebra primitives that can be used to manipulate layers.\n\n# Usage\n## To Run the test\nClone this repository then:\n```\ncargo test\n```\nTo use the library, you will need to instantiate a Matrix struct, for the \nexamples make sure you run:\n```\nuse matrix::Matrix;\nlet m = matrix::Matrix::new(3, 3, 0.0);\n```\nBeforehand.\n\n## Activations\n\nYou can run an activation function on each element by calling it on the Matrix. \nThe currently implemented are: `tanh`, `relu`,  `sigmoid(sm)`.\n\n## Linear combination \nYou can combine a matrix with a scalar and a vector:\n```\nuse matrix::Scalar;\n\n(matrix::Scalar::new(4.0) * m).data;\nlet n = matrix::Matrix::new(3, 1, 0.0);\n(m * n).data;\n```\nFor now to view the elements you need to access the `data` field in next versions \nwe will make it printable.\n\n## Flattening\nYou can obtain a flat vector from a Matrix:\n```\nm.flatten();\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmpr%2Fzama-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmpr%2Fzama-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmpr%2Fzama-challenge/lists"}