{"id":32151785,"url":"https://github.com/palle-k/dl4s-tensorboard","last_synced_at":"2026-02-19T07:01:40.505Z","repository":{"id":46181958,"uuid":"268682716","full_name":"palle-k/DL4S-Tensorboard","owner":"palle-k","description":"Pure Swift TensorBoard plugin for DL4S","archived":false,"fork":false,"pushed_at":"2021-11-09T01:20:37.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-15T01:28:22.592Z","etag":null,"topics":["deep-learning","deep-learning-visualization","swift","tensorboard"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/palle-k.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":"2020-06-02T02:32:21.000Z","updated_at":"2021-11-09T01:20:40.000Z","dependencies_parsed_at":"2022-09-08T10:13:50.493Z","dependency_job_id":null,"html_url":"https://github.com/palle-k/DL4S-Tensorboard","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/palle-k/DL4S-Tensorboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palle-k%2FDL4S-Tensorboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palle-k%2FDL4S-Tensorboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palle-k%2FDL4S-Tensorboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palle-k%2FDL4S-Tensorboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palle-k","download_url":"https://codeload.github.com/palle-k/DL4S-Tensorboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palle-k%2FDL4S-Tensorboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29605799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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"}},"keywords":["deep-learning","deep-learning-visualization","swift","tensorboard"],"created_at":"2025-10-21T10:52:44.368Z","updated_at":"2026-02-19T07:01:40.500Z","avatar_url":"https://github.com/palle-k.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DL4S-Tensorboard\n\nA pure Swift summary writer for [DL4S](https://github.com/palle-k/DL4S) that writes Tensorboard log files.\n\n\n### Installation\n\nAdd DL4S-Tensorboard as a package dependency in `Package.swift`.\n\n    .package(url: \"https://github.com/palle-k/DL4S.git\", .branch(\"master\")),\n    .package(url: \"https://github.com/palle-k/DL4S-Tensorboard.git\", .branch(\"master\"))\n\nThen add `DL4STensorboard` as a target dependency:\n\n    .target(name: \"YourAwesomeTarget\", dependencies: [\"DL4S\", \"DL4STensorboard\"]),\n\n### Usage\n\nDL4S-Tensorboard supports Scalars, Images, Text, Embeddings and Histograms.\n\n#### Writing scalars\n\n```swift\nimport DL4STensorboard\nimport Foundation\n\nlet logdir = URL(fileURLWithPath: \"./logs\")\n\nlet writer = try TensorboardWriter(logDirectory: logdir, runName: \"Classifier\")\n\ntry writer.write(scalar: 101, withTag: \"model/accuracy\", atStep: 1337)\n```\n\n#### Advanced Usage\n\n```swift\n// writing an image\ntry writer.write(image: imageTensor, withTag: \"generator/output\", atStep: 42)\n\n// writing text\ntry writer.write(text: \"Lorem ipsum dolor sit amet\", withTag: \"lm/sample\", atStep: 314)\n\n// writing embeddings\nlet embeddingLayer = DL4S.Embedding\u003cFloat, CPU\u003e(inputFeatures: 42, outputSize: 128)\ntry writer.write(embedding: embeddingLayer.embeddingMatrix, withLabels: vocab, atStep: 1337)\n\n// writing a histogram\nlet histogram = Histogram(values: valueDistribution, buckets: 10)\ntry writer.write(histogram: histogram, withTag: \"data/histogram\", atStep: 4242)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalle-k%2Fdl4s-tensorboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalle-k%2Fdl4s-tensorboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalle-k%2Fdl4s-tensorboard/lists"}