| 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 Methods showsPrec :: Int -> PixelFormat -> ShowS # show :: PixelFormat -> String # showList :: [PixelFormat] -> ShowS # | |
| Eq PixelFormat Source # | |
Defined in Torch.Vision | |
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 #