#!/usr/bin/env python # coding: utf-8 # # Compatibility with Pytorch # In[1]: import torch import numpy as np import stackview # In[2]: image = np.random.random((100,100)) # In[3]: tensor = torch.tensor(image) # In[4]: stackview.insight(tensor) # In[ ]: