{-# LANGUAGE DataKinds #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-} module Torch.Internal.Managed.Type.Symbol where import Foreign.C.String import Foreign.C.Types import Foreign import Torch.Internal.Type import Torch.Internal.Class import Torch.Internal.Cast import Torch.Internal.Objects import qualified Torch.Internal.Unmanaged.Type.Symbol as Unmanaged newSymbol :: IO (ForeignPtr Symbol) newSymbol :: IO (ForeignPtr Symbol) newSymbol = forall a ca. Castable a ca => IO ca -> IO a _cast0 IO (Ptr Symbol) Unmanaged.newSymbol symbol_is_attr :: ForeignPtr Symbol -> IO (CBool) symbol_is_attr :: ForeignPtr Symbol -> IO CBool symbol_is_attr = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO CBool Unmanaged.symbol_is_attr symbol_is_aten :: ForeignPtr Symbol -> IO (CBool) symbol_is_aten :: ForeignPtr Symbol -> IO CBool symbol_is_aten = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO CBool Unmanaged.symbol_is_aten symbol_is_prim :: ForeignPtr Symbol -> IO (CBool) symbol_is_prim :: ForeignPtr Symbol -> IO CBool symbol_is_prim = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO CBool Unmanaged.symbol_is_prim symbol_is_onnx :: ForeignPtr Symbol -> IO (CBool) symbol_is_onnx :: ForeignPtr Symbol -> IO CBool symbol_is_onnx = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO CBool Unmanaged.symbol_is_onnx symbol_is_user :: ForeignPtr Symbol -> IO (CBool) symbol_is_user :: ForeignPtr Symbol -> IO CBool symbol_is_user = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO CBool Unmanaged.symbol_is_user symbol_is_caffe2 :: ForeignPtr Symbol -> IO (CBool) symbol_is_caffe2 :: ForeignPtr Symbol -> IO CBool symbol_is_caffe2 = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO CBool Unmanaged.symbol_is_caffe2 symbol_is_dimname :: ForeignPtr Symbol -> IO (CBool) symbol_is_dimname :: ForeignPtr Symbol -> IO CBool symbol_is_dimname = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO CBool Unmanaged.symbol_is_dimname symbol_toUnqualString :: ForeignPtr Symbol -> IO (ForeignPtr StdString) symbol_toUnqualString :: ForeignPtr Symbol -> IO (ForeignPtr StdString) symbol_toUnqualString = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO (Ptr StdString) Unmanaged.symbol_toUnqualString symbol_toQualString :: ForeignPtr Symbol -> IO (ForeignPtr StdString) symbol_toQualString :: ForeignPtr Symbol -> IO (ForeignPtr StdString) symbol_toQualString = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO (Ptr StdString) Unmanaged.symbol_toQualString symbol_toDisplayString :: ForeignPtr Symbol -> IO (ForeignPtr StdString) symbol_toDisplayString :: ForeignPtr Symbol -> IO (ForeignPtr StdString) symbol_toDisplayString = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Symbol -> IO (Ptr StdString) Unmanaged.symbol_toDisplayString attr_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) attr_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) attr_s = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr StdString -> IO (Ptr Symbol) Unmanaged.attr_s aten_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) aten_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) aten_s = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr StdString -> IO (Ptr Symbol) Unmanaged.aten_s onnx_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) onnx_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) onnx_s = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr StdString -> IO (Ptr Symbol) Unmanaged.onnx_s prim_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) prim_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) prim_s = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr StdString -> IO (Ptr Symbol) Unmanaged.prim_s user_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) user_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) user_s = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr StdString -> IO (Ptr Symbol) Unmanaged.user_s caffe2_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) caffe2_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) caffe2_s = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr StdString -> IO (Ptr Symbol) Unmanaged.caffe2_s dimname_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) dimname_s :: ForeignPtr StdString -> IO (ForeignPtr Symbol) dimname_s = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr StdString -> IO (Ptr Symbol) Unmanaged.dimname_s