{"id":21435604,"url":"https://github.com/mountain/manet","last_synced_at":"2025-08-31T12:38:31.981Z","repository":{"id":156262333,"uuid":"631827947","full_name":"mountain/manet","owner":"mountain","description":"manet: an activation-free and multiply–accumulate-only network","archived":false,"fork":false,"pushed_at":"2024-01-24T10:29:20.000Z","size":12038,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-02T00:55:58.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mountain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2023-04-24T06:33:35.000Z","updated_at":"2023-04-26T04:21:27.000Z","dependencies_parsed_at":"2025-08-02T00:42:17.265Z","dependency_job_id":"d351b16e-9234-46af-bef4-c8aec535b953","html_url":"https://github.com/mountain/manet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mountain/manet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fmanet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fmanet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fmanet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fmanet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mountain","download_url":"https://codeload.github.com/mountain/manet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fmanet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272982752,"owners_count":25025984,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-22T23:44:53.776Z","updated_at":"2025-08-31T12:38:31.955Z","avatar_url":"https://github.com/mountain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# manet\n\n\"Manet\" is a library for MAC networks.\n\nMAC networks are networks consisted only by [multiply–accumulate operations](https://en.wikipedia.org/wiki/Multiply%E2%80%93accumulate_operation), and they are activation-free and can be used as building blocks for deep neural networks.\n\nMultiply–accumulate operation is a generalization of the perceptron and the linear neuron. But surprisingly,\nit can be the only mechanism to construct deep neural networks. The non-linearity can be eliminated,  we can easily see the point that:\n* exponential functions is pure multiplicative\n* a wide range of non-linear functions can be constructed by using different combinations of multiplications and additions.\n\nIt also owns a beautiful mathematical background from the field of arithmetic expression geometry.\n\n## Demo\n\nWe demonstrate the performance of multiply–accumulate network on MNIST dataset.\n\nWe gradually replace the non-linear activation functions with MAC operations, and the performance is almost the same and sometimes is even better.\nPlease check mnist0.py to mnist3.py for details.\n\n```bash\npython -m demo.mnist.train -m mnist0\npython -m demo.mnist.train -m mnist1\npython -m demo.mnist.train -m mnist2\npython -m demo.mnist.train -m mnist3\n```\n\nNote: mnist3.py is buggy and conv replacement is still ongoing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountain%2Fmanet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmountain%2Fmanet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountain%2Fmanet/lists"}