Copyright | (c) Sam Stites 2017 |
---|---|
License | BSD3 |
Maintainer | sam@stites.io |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Functions to copy (and cast) tensors into different types. This is a pure module.
Synopsis
- copy :: Dynamic -> Dynamic
- copyByte :: Dynamic -> ByteDynamic
- copyChar :: Dynamic -> CharDynamic
- copyShort :: Dynamic -> ShortDynamic
- copyInt :: Dynamic -> IntDynamic
- copyLong :: Dynamic -> LongDynamic
- copyFloat :: Dynamic -> FloatDynamic
- copyDouble :: Dynamic -> DoubleDynamic
Documentation
copyByte :: Dynamic -> ByteDynamic Source #
copy a tensor to a byte tensor. *Use at your own discresion*
copyChar :: Dynamic -> CharDynamic Source #
copy a tensor to a char tensor. *Use at your own discresion*
copyShort :: Dynamic -> ShortDynamic Source #
copy a tensor to a short tensor. *Use at your own discresion*
copyInt :: Dynamic -> IntDynamic Source #
copy a tensor to a int tensor. *Use at your own discresion*
copyLong :: Dynamic -> LongDynamic Source #
copy a tensor to a long tensor. *Use at your own discresion*
copyFloat :: Dynamic -> FloatDynamic Source #
copy a tensor to a float tensor. *Use at your own discresion*
copyDouble :: Dynamic -> DoubleDynamic Source #
copy a tensor to a double tensor. *Use at your own discresion*