| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Torch.Vision
Documentation
grayScale10 :: String Source #
grayScale70 :: [Char] Source #
data PixelFormat Source #
Instances
| Show PixelFormat Source # | |
| Defined in Torch.Vision | |
| Eq PixelFormat Source # | |
| Defined in Torch.Vision Methods (==) :: PixelFormat -> PixelFormat -> Bool Source # (/=) :: PixelFormat -> PixelFormat -> Bool Source # | |
readImageAsRGB8WithScaling :: FilePath -> Int -> Int -> Bool -> IO (Either String (Image PixelRGB8, Tensor)) Source #
drawString :: String -> Int -> Int -> (Int, Int, Int) -> (Int, Int, Int) -> Image PixelRGB8 -> IO () Source #
drawChar :: Int -> Int -> Int -> (Int, Int, Int) -> (Int, Int, Int) -> Image PixelRGB8 -> IO () Source #
fromDynImage :: DynamicImage -> Tensor Source #
randomIndexes :: Int -> [Int] Source #