{"id":20925319,"url":"https://github.com/apehex/mlable","last_synced_at":"2026-05-01T20:31:19.128Z","repository":{"id":214958281,"uuid":"736311217","full_name":"apehex/mlable","owner":"apehex","description":"Keras / TF libs: layers, metrics, ops, etc","archived":false,"fork":false,"pushed_at":"2026-03-27T18:22:52.000Z","size":5046,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-28T02:15:38.657Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apehex.png","metadata":{"files":{"readme":".github/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":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"docs/agents.md","dco":null,"cla":null}},"created_at":"2023-12-27T15:02:00.000Z","updated_at":"2026-03-27T18:22:56.000Z","dependencies_parsed_at":"2025-12-25T21:07:23.427Z","dependency_job_id":null,"html_url":"https://github.com/apehex/mlable","commit_stats":null,"previous_names":["apehex/mlable"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apehex/mlable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apehex%2Fmlable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apehex%2Fmlable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apehex%2Fmlable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apehex%2Fmlable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apehex","download_url":"https://codeload.github.com/apehex/mlable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apehex%2Fmlable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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-18T20:31:06.714Z","updated_at":"2026-05-01T20:31:19.076Z","avatar_url":"https://github.com/apehex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MLable\n\nTensorFlow utilities for layers, metrics, shaping, sampling, and model building blocks.\n\n## Installation\n\n```bash\npip install -U mlable\n```\n\n## Quickstart\n\n```python\nimport tensorflow as tf\nimport mlable.layers.shaping\nimport mlable.metrics\n\nx = tf.ones(shape=(2, 4, 8))\ny = mlable.layers.shaping.Divide(axis=-1, factor=4, insert=True)(x)\n\nmetric = mlable.metrics.CategoricalGroupAccuracy(group=4)\nscore = metric(y_true=tf.one_hot([[1, 2, 3, 4]], depth=8), y_pred=tf.one_hot([[1, 2, 0, 4]], depth=8))\n```\n\n## Documentation\n\nDetailed usage documentation is available under `docs/sources/`:\n\n- [`docs/sources/layers/shaping.md`](../docs/sources/layers/shaping.md)\n- [`docs/sources/layers/embedding.md`](../docs/sources/layers/embedding.md)\n- [`docs/sources/layers/transformer.md`](../docs/sources/layers/transformer.md)\n- [`docs/sources/metrics/group_accuracy.md`](../docs/sources/metrics/group_accuracy.md)\n- [`docs/sources/index.md`](../docs/sources/index.md)\n\n## Credits\n\n[Andrej Karpathy][video-karpathy] reconnected my ML synapses with [micrograd][code-micrograd].\n\n## License\n\nLicensed under the [aGPLv3](LICENSE.md).\n\n[code-micrograd]: https://github.com/karpathy/micrograd\n[video-karpathy]: https://www.youtube.com/@AndrejKarpathy/videos\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapehex%2Fmlable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapehex%2Fmlable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapehex%2Fmlable/lists"}