{"id":239672,"name":"tensor-safe","ecosystem":"hackage","description":"TensorSafe provides a very simple API to create deep neural networks structures which are validated using Dependent Types. Given a list of Layers and an initial Shape, TensorSafe is able to check and corroborate the structure of the network. Also, it's possible to extract the definition and compile it to a target language like Python and JavaScript.","homepage":"https://github.com/leopiney/tensor-safe#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/leopiney/tensor-safe","keywords_array":["ai","bsd3","dependent-types","language","library","program","Propose Tags"],"namespace":null,"versions_count":2,"first_release_published_at":"2019-04-18T20:46:50.000Z","latest_release_published_at":"2019-05-03T00:15:08.000Z","latest_release_number":"0.1.0.1","last_synced_at":"2026-05-17T11:02:37.513Z","created_at":"2022-04-06T02:34:47.438Z","updated_at":"2026-05-17T11:05:39.542Z","registry_url":"https://hackage.haskell.org/package/tensor-safe","install_command":"cabal install tensor-safe","documentation_url":null,"metadata":{},"repo_metadata":{"id":34649866,"uuid":"152143578","full_name":"leopiney/tensor-safe","owner":"leopiney","description":"A Haskell framework to define valid deep learning models and export them to other frameworks like TensorFlow JS or Keras.","archived":false,"fork":false,"pushed_at":"2023-01-03T19:57:11.000Z","size":425,"stargazers_count":102,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-16T03:20:12.279Z","etag":null,"topics":["ai","deep-learning","dependent-types","functional-programming","haskell","haskell-library","machine-learning"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leopiney.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}},"created_at":"2018-10-08T20:38:34.000Z","updated_at":"2025-02-11T20:33:48.000Z","dependencies_parsed_at":"2023-01-15T08:30:58.442Z","dependency_job_id":null,"html_url":"https://github.com/leopiney/tensor-safe","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/leopiney/tensor-safe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leopiney","download_url":"https://codeload.github.com/leopiney/tensor-safe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33136090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"},"owner_record":{"login":"leopiney","name":"Leonardo Piñeyro","uuid":"15099524","kind":"user","description":"","email":"","website":null,"location":"Montevideo, Uruguay","twitter":"leopiney","company":"@pentoai","icon_url":"https://avatars.githubusercontent.com/u/15099524?u=46ff47b4bb2b8c0550151d835ead5829a4d59952\u0026v=4","repositories_count":23,"last_synced_at":"2024-03-16T07:40:23.388Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/leopiney","funding_links":[],"total_stars":300,"followers":null,"following":null,"created_at":"2022-11-08T21:31:45.594Z","updated_at":"2024-03-16T07:40:24.246Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leopiney","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leopiney/repositories"},"tags":[{"name":"v0.1.0.0","sha":"d5c8dcd88565d5d57b370d220eda31fb5d63d461","kind":"commit","published_at":"2019-04-18T20:09:42.000Z","download_url":"https://codeload.github.com/leopiney/tensor-safe/tar.gz/v0.1.0.0","html_url":"https://github.com/leopiney/tensor-safe/releases/tag/v0.1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/leopiney/tensor-safe@v0.1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe/tags/v0.1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe/tags/v0.1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-05-17T11:05:39.542Z","dependent_packages_count":0,"downloads":1013,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":82.40713573147116,"dependent_repos_count":55.143477495452146,"dependent_packages_count":12.217592864268529,"stargazers_count":7.194413473387712,"forks_count":27.18150343289713,"average":36.828824599495334},"purl":"pkg:hackage/tensor-safe","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/hackage/tensor-safe","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/hackage/tensor-safe","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hackage/tensor-safe/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-20T10:45:07.643Z","issues_count":8,"pull_requests_count":12,"avg_time_to_close_issue":1254965.4285714286,"avg_time_to_close_pull_request":3233894.5,"issues_closed_count":7,"pull_requests_closed_count":8,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":0.75,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":8,"bot_issues_count":0,"bot_pull_requests_count":7,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopiney%2Ftensor-safe/issues","maintainers":[{"login":"leopiney","count":13,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/leopiney"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tensor-safe/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tensor-safe/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tensor-safe/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tensor-safe/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tensor-safe/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/tensor-safe/codemeta","maintainers":[{"uuid":"leopiney","login":"leopiney","name":null,"email":null,"url":null,"packages_count":1,"html_url":"https://hackage.haskell.org/user/leopiney","role":null,"created_at":"2022-11-14T20:03:56.324Z","updated_at":"2022-11-14T20:03:56.324Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/leopiney/packages"}]}