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

Torch.Internal.Managed.Type.StdString

Documentation

Orphan instances

Castable String (ForeignPtr StdString) Source # 
Instance details

Methods

cast :: String -> (ForeignPtr StdString -> IO r) -> IO r Source #

uncast :: ForeignPtr StdString -> (String -> IO r) -> IO r Source #