Skip to content

PlusPlusOneGmbH/tdp-TopArray

Repository files navigation

TopArray and TopArray Converter

Implement Keith Lostracos TopArray as a TDP with a generalised COMP.

Requires CUDA-Enabled torchinstallation.

Check the Derivative Docs to find the correct installation and then follow the installation-guide from PyTorch Website and/or UV Documentation

Usage

TopArray

from tdpTopArray import toparray

Further follow the documentation of the original repository.

TopArrayConverter

A wrapper arround the toparray methods for a simple python approach.

Reinit if inputshape should change. (Thinking about updating though. )

mod.tdpTopArray.TopArrayConverter.ToxFile

op("TopArrayConverter").Get() -> # Returns the inputTOP as an toparray.TopArrayInterface
op("TopArrayConverter").Write( source_tensor) -> # Writes the target tensor to the output top. Needs to be the same shape as the inputTOP

About

A packaged version of Keith Lostraco

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages