hasktorch-indef-0.0.1.0: Core Hasktorch abstractions wrapping FFI bindings

Copyright(c) Sam Stites 2017
LicenseBSD3
Maintainersam@stites.io
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Torch.Indef.Dynamic.Tensor.Copy

Description

Functions to copy (and cast) tensors into different types. This is a pure module.

Synopsis

Documentation

copy :: Dynamic -> Dynamic Source #

Copy a tensor.

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*