libtorch-ffi-1.11.0.0: test out alternative options for ffi interface to libtorch 1.x
Safe HaskellSafe-Inferred
LanguageHaskell2010

Torch.Internal.Unmanaged.Type.StdArray

Documentation

Orphan instances

CppTuple2 (Ptr (StdArray '(CBool, 2))) Source # 
Instance details

Associated Types

type A (Ptr (StdArray '(CBool, 2))) Source #

type B (Ptr (StdArray '(CBool, 2))) Source #

Methods

get0 :: Ptr (StdArray '(CBool, 2)) -> IO (A (Ptr (StdArray '(CBool, 2)))) Source #

get1 :: Ptr (StdArray '(CBool, 2)) -> IO (B (Ptr (StdArray '(CBool, 2)))) Source #

makeTuple2 :: (A (Ptr (StdArray '(CBool, 2))), B (Ptr (StdArray '(CBool, 2)))) -> IO (Ptr (StdArray '(CBool, 2))) Source #

CppTuple2 (Ptr (StdArray '(CBool, 3))) Source # 
Instance details

Associated Types

type A (Ptr (StdArray '(CBool, 3))) Source #

type B (Ptr (StdArray '(CBool, 3))) Source #

Methods

get0 :: Ptr (StdArray '(CBool, 3)) -> IO (A (Ptr (StdArray '(CBool, 3)))) Source #

get1 :: Ptr (StdArray '(CBool, 3)) -> IO (B (Ptr (StdArray '(CBool, 3)))) Source #

makeTuple2 :: (A (Ptr (StdArray '(CBool, 3))), B (Ptr (StdArray '(CBool, 3)))) -> IO (Ptr (StdArray '(CBool, 3))) Source #

CppTuple2 (Ptr (StdArray '(CBool, 4))) Source # 
Instance details

Associated Types

type A (Ptr (StdArray '(CBool, 4))) Source #

type B (Ptr (StdArray '(CBool, 4))) Source #

Methods

get0 :: Ptr (StdArray '(CBool, 4)) -> IO (A (Ptr (StdArray '(CBool, 4)))) Source #

get1 :: Ptr (StdArray '(CBool, 4)) -> IO (B (Ptr (StdArray '(CBool, 4)))) Source #

makeTuple2 :: (A (Ptr (StdArray '(CBool, 4))), B (Ptr (StdArray '(CBool, 4)))) -> IO (Ptr (StdArray '(CBool, 4))) Source #

CppTuple3 (Ptr (StdArray '(CBool, 3))) Source # 
Instance details

Associated Types

type C (Ptr (StdArray '(CBool, 3))) Source #

Methods

get2 :: Ptr (StdArray '(CBool, 3)) -> IO (C (Ptr (StdArray '(CBool, 3)))) Source #

makeTuple3 :: (A (Ptr (StdArray '(CBool, 3))), B (Ptr (StdArray '(CBool, 3))), C (Ptr (StdArray '(CBool, 3)))) -> IO (Ptr (StdArray '(CBool, 3))) Source #

CppTuple3 (Ptr (StdArray '(CBool, 4))) Source # 
Instance details

Associated Types

type C (Ptr (StdArray '(CBool, 4))) Source #

Methods

get2 :: Ptr (StdArray '(CBool, 4)) -> IO (C (Ptr (StdArray '(CBool, 4)))) Source #

makeTuple3 :: (A (Ptr (StdArray '(CBool, 4))), B (Ptr (StdArray '(CBool, 4))), C (Ptr (StdArray '(CBool, 4)))) -> IO (Ptr (StdArray '(CBool, 4))) Source #

CppTuple4 (Ptr (StdArray '(CBool, 4))) Source # 
Instance details

Associated Types

type D (Ptr (StdArray '(CBool, 4))) Source #

Methods

get3 :: Ptr (StdArray '(CBool, 4)) -> IO (D (Ptr (StdArray '(CBool, 4)))) Source #

makeTuple4 :: (A (Ptr (StdArray '(CBool, 4))), B (Ptr (StdArray '(CBool, 4))), C (Ptr (StdArray '(CBool, 4))), D (Ptr (StdArray '(CBool, 4)))) -> IO (Ptr (StdArray '(CBool, 4))) Source #