Skip to main content

PyTorch-compatible edge profile dataset API

Project description

HeavyEdge-Dataset

Supported Python Versions PyPI Version License CI CD Docs

Package to load edge profile data as PyTorch dataset.

Usage

HeavyEdge-Dataset provides custom dataset classes which wraps profile data file.

A simple use case to load a list of profiles as two-dimensional coordinates:

from heavyedge import get_sample_path, ProfileData
from heavyedge_dataset import ProfileDataset
with ProfileData(get_sample_path("Prep-Type2.h5")) as file:  # Profile data file object
    data = ProfileDataset(file, 2)[:]

Refer to the package documentation for more information.

Documentation

The manual can be found online:

https://heavyedge-dataset.readthedocs.io

If you want to build the document yourself, get the source code and install with [doc] dependency. Then, go to doc directory and build the document:

$ pip install .[doc]
$ cd doc
$ make html

Document will be generated in build/html directory. Open index.html to see the central page.

Developing

Installation

For development features, you must install the package by pip install -e .[dev].

Testing

Run pytest command to perform unit test.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heavyedge_dataset-0.2.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heavyedge_dataset-0.2.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file heavyedge_dataset-0.2.0.tar.gz.

File metadata

  • Download URL: heavyedge_dataset-0.2.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for heavyedge_dataset-0.2.0.tar.gz
Algorithm Hash digest
SHA256 995cb5f21f16cd4e8b76405cdebf0ce568fc9bfe5968fa8e63e1417ac211cf6b
MD5 a8e8bcca7618d738dc3e53a8c2aa8df2
BLAKE2b-256 39b797cf084bfcac10f0ebc366fcbba2853b0ea7549d0d48c480c420326633fd

See more details on using hashes here.

File details

Details for the file heavyedge_dataset-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for heavyedge_dataset-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7a1617d0f0715ea07e9f71215bd0062a9867b508bac8ce7864d8e325530e4c2
MD5 f593bccd59c2b550982d4c18323ebf61
BLAKE2b-256 6dccf904b354387823d402b26651db190ff31efe6c26295c1945e71351295191

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page