hasktorch-0.2.1.1: Haskell bindings to libtorch, supporting both typed and untyped tensors.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Torch.Autograd

Synopsis

Documentation

newtype IndependentTensor Source #

Note: to create an IndependentTensor use makeIndependent; | otherwise, Torch will complain the parameter does not require a gradient.

Constructors

IndependentTensor 

Fields

Instances

Instances details
Generic IndependentTensor Source # 
Instance details

Defined in Torch.Autograd

Associated Types

type Rep IndependentTensor :: Type -> Type #

Show IndependentTensor Source # 
Instance details

Defined in Torch.Autograd

Parameterized Parameter Source # 
Instance details

Defined in Torch.NN

type Rep IndependentTensor Source # 
Instance details

Defined in Torch.Autograd

type Rep IndependentTensor = D1 ('MetaData "IndependentTensor" "Torch.Autograd" "hasktorch-0.2.1.1-inplace" 'True) (C1 ('MetaCons "IndependentTensor" 'PrefixI 'True) (S1 ('MetaSel ('Just "toDependent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tensor)))