Tags: kanamu/thinc
Tags
{set,use}_ops: switch PyTorch Tensor type (explosion#553) {set,use}_ops did not change the default PyTorch Tensor type, whereas require_{cpu, gpu} do. As a result, these set/use functions require more work to use correctly with PyTorch This change rectifies this by also changing the default PyTorch Tensor type when {set,use}_ops are used.
PreviousNext