| Copyright | (c) Sam Stites 2017 |
|---|---|
| License | BSD3 |
| Maintainer | sam@stites.io |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Torch.Indef.Storage.Copy
Description
Conversions between two Storage types. Behaviour is not yet specified as to what happens when you copy between incompatible types.
Synopsis
- copy :: Storage -> Storage
- copyByte :: Storage -> ByteStorage
- copyChar :: Storage -> CharStorage
- copyShort :: Storage -> ShortStorage
- copyInt :: Storage -> IntStorage
- copyLong :: Storage -> LongStorage
- copyFloat :: Storage -> FloatStorage
- copyDouble :: Storage -> DoubleStorage
Documentation
copyDouble :: Storage -> DoubleStorage Source #
Copy a Storage object to a CPU-backed DoubleStorage.