HEmile / storchastic

Stochastic Automatic Differentiation library for PyTorch.
GNU General Public License v3.0
180 stars 5 forks source link

Remove tensor attributes from storch.Tensor #80

Open HEmile opened 4 years ago

HEmile commented 4 years ago

Right now, we have a Callable instanceof check in the__getattr__ magic method that wraps torch.Tensor methods. We could remove this instanceof check to automatically also implement attributes of torch.Tensor on storch.Tensor