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
from tdpTopArray import toparrayFurther follow the documentation of the original repository.
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