hasktorch-types-thc-0.0.1.0: C-types for Cutorch

Safe HaskellSafe
LanguageHaskell2010

Torch.Types.THC

Documentation

newtype State Source #

Constructors

State 
Instances
Eq State Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: State -> State -> Bool #

(/=) :: State -> State -> Bool #

type CAllocator = () Source #

type Allocator = () Source #

newtype Generator Source #

Constructors

Generator 
Instances
Eq Generator Source # 
Instance details

Defined in Torch.Types.THC

Show Generator Source # 
Instance details

Defined in Torch.Types.THC

type CDim = CInt Source #

newtype ByteTensor (ds :: [Nat]) Source #

Constructors

ByteTensor 
Instances
Eq (ByteTensor ds) Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: ByteTensor ds -> ByteTensor ds -> Bool #

(/=) :: ByteTensor ds -> ByteTensor ds -> Bool #

newtype CharTensor (ds :: [Nat]) Source #

Constructors

CharTensor 
Instances
Eq (CharTensor ds) Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: CharTensor ds -> CharTensor ds -> Bool #

(/=) :: CharTensor ds -> CharTensor ds -> Bool #

newtype LongTensor (ds :: [Nat]) Source #

Constructors

LongTensor 
Instances
Eq (LongTensor ds) Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: LongTensor ds -> LongTensor ds -> Bool #

(/=) :: LongTensor ds -> LongTensor ds -> Bool #

newtype ShortTensor (ds :: [Nat]) Source #

Constructors

ShortTensor 
Instances
Eq (ShortTensor ds) Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: ShortTensor ds -> ShortTensor ds -> Bool #

(/=) :: ShortTensor ds -> ShortTensor ds -> Bool #

newtype IntDynamic Source #

Instances
Eq IntDynamic Source # 
Instance details

Defined in Torch.Types.THC

newtype IntTensor (ds :: [Nat]) Source #

Constructors

IntTensor 
Instances
Eq (IntTensor ds) Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: IntTensor ds -> IntTensor ds -> Bool #

(/=) :: IntTensor ds -> IntTensor ds -> Bool #

newtype IntStorage Source #

Instances
Eq IntStorage Source # 
Instance details

Defined in Torch.Types.THC

newtype FloatTensor (ds :: [Nat]) Source #

Constructors

FloatTensor 
Instances
Eq (FloatTensor ds) Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: FloatTensor ds -> FloatTensor ds -> Bool #

(/=) :: FloatTensor ds -> FloatTensor ds -> Bool #

newtype DoubleTensor (ds :: [Nat]) Source #

Instances
Eq (DoubleTensor ds) Source # 
Instance details

Defined in Torch.Types.THC

Methods

(==) :: DoubleTensor ds -> DoubleTensor ds -> Bool #

(/=) :: DoubleTensor ds -> DoubleTensor ds -> Bool #

type C'THCFile = () Source #

type C'THCHalf = Ptr () Source #