Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

GAN Framework

Generator

Generator must have:

    def forward(self, x, return_q=True):
        """x - images [NCHW]
        return_q - if True, return `r` (recons images [NCHW]),
        and optional `vqres` (quantized info)
        """
        ...
        return r, vqres if return_q else r

VQRes has definition:

VQRes = namedtuple('VQRes', [
    'quantized',
    'indices',
    'entro_mean',
    'mean_entro',
    'entro_loss',
    'commit_loss',
    'cdbook_loss'
])

Discriminator

Metadata

Release files for torch-genai 0.0.1.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for torch-genai 0.0.1.dev1
File Interpreter ABI Platform Actions
torch_genai-0.0.1.dev1-py3-none-any.whl Python 3 none any Details for torch_genai-0.0.1.dev1-py3-none-any.whl

Release files / torch_genai-0.0.1.dev1-py3-none-any.whl

Download URL torch_genai-0.0.1.dev1-py3-none-any.whl
Size 46.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fbd004218b7d82ef1b45b98030eb0e71758e922631d98d4ae64e5d4f06abeaf
BLAKE2b-256 checksum
How to use checksums
2d5d8b589c0a73784d2659d4d1b1162160d385d933e426741e72e4d00532191c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.13

Security for torch-genai 0.0.1.dev1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page