Witllm/tools/test.py

7 lines
126 B
Python

import show
import torch
radata = torch.randn(8192, 128)
show.DumpTensorToImage(radata, "test.png", autoPad=True,scale=0.2)