{-# LANGUAGE DataKinds #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-} module Torch.Internal.Managed.Type.Tensor.Tensor1 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.Tensor.Tensor1 as Unmanaged tensor_cummax_n :: ForeignPtr Tensor -> ForeignPtr Dimname -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_cummax_n :: ForeignPtr Tensor -> ForeignPtr Dimname -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_cummax_n = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Dimname -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_cummax_n tensor_cummin_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_cummin_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_cummin_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_cummin_l tensor_cummin_n :: ForeignPtr Tensor -> ForeignPtr Dimname -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_cummin_n :: ForeignPtr Tensor -> ForeignPtr Dimname -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_cummin_n = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Dimname -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_cummin_n tensor_cumprod_ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod_ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod_ls = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumprod_ls tensor_cumprod__ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod__ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod__ls = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumprod__ls tensor_cumprod_ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod_ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod_ns = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumprod_ns tensor_cumprod__ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod__ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumprod__ns = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumprod__ns tensor_cumsum_ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum_ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum_ls = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumsum_ls tensor_cumsum__ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum__ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum__ls = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumsum__ls tensor_cumsum_ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum_ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum_ns = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumsum_ns tensor_cumsum__ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum__ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_cumsum__ns = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_cumsum__ns tensor_diag_embed_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_diag_embed_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_diag_embed_lll = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Int64 -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_diag_embed_lll tensor_diagflat_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_diagflat_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_diagflat_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_diagflat_l tensor_diagonal_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_diagonal_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_diagonal_lll = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Int64 -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_diagonal_lll tensor_diagonal_nnnl :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Dimname -> ForeignPtr Dimname -> Int64 -> IO (ForeignPtr Tensor) tensor_diagonal_nnnl :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Dimname -> ForeignPtr Dimname -> Int64 -> IO (ForeignPtr Tensor) tensor_diagonal_nnnl = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable x4 cx4, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> cx4 -> IO cy) -> a -> x1 -> x2 -> x3 -> x4 -> IO y _cast5 Ptr Tensor -> Ptr Dimname -> Ptr Dimname -> Ptr Dimname -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_diagonal_nnnl tensor_fill_diagonal__sb :: ForeignPtr Tensor -> ForeignPtr Scalar -> CBool -> IO (ForeignPtr Tensor) tensor_fill_diagonal__sb :: ForeignPtr Tensor -> ForeignPtr Scalar -> CBool -> IO (ForeignPtr Tensor) tensor_fill_diagonal__sb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Scalar -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_fill_diagonal__sb tensor_diff_lltt :: ForeignPtr Tensor -> Int64 -> Int64 -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_diff_lltt :: ForeignPtr Tensor -> Int64 -> Int64 -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_diff_lltt = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable x4 cx4, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> cx4 -> IO cy) -> a -> x1 -> x2 -> x3 -> x4 -> IO y _cast5 Ptr Tensor -> Int64 -> Int64 -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_diff_lltt tensor_div_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_div_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_div_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_div_t tensor_div__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_div__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_div__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_div__t tensor_div_ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div_ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div_ts = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Tensor -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_div_ts tensor_div__ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div__ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div__ts = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Tensor -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_div__ts tensor_div_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_div_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_div_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_div_s tensor_div__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_div__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_div__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_div__s tensor_div_ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div_ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div_ss = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Scalar -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_div_ss tensor_div__ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div__ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_div__ss = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Scalar -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_div__ss tensor_divide_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_divide_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_divide_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_divide_t tensor_divide__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_divide__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_divide__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_divide__t tensor_divide_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_divide_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_divide_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_divide_s tensor_divide__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_divide__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_divide__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_divide__s tensor_divide_ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide_ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide_ts = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Tensor -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_divide_ts tensor_divide__ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide__ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide__ts = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Tensor -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_divide__ts tensor_divide_ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide_ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide_ss = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Scalar -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_divide_ss tensor_divide__ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide__ss :: ForeignPtr Tensor -> ForeignPtr Scalar -> ForeignPtr StdString -> IO (ForeignPtr Tensor) tensor_divide__ss = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Scalar -> Ptr StdString -> IO (Ptr Tensor) Unmanaged.tensor_divide__ss tensor_true_divide_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_true_divide_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_true_divide_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_true_divide_t tensor_true_divide__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_true_divide__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_true_divide__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_true_divide__t tensor_true_divide_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_true_divide_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_true_divide_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_true_divide_s tensor_true_divide__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_true_divide__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_true_divide__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_true_divide__s tensor_dot_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_dot_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_dot_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_dot_t tensor_vdot_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_vdot_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_vdot_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_vdot_t tensor_new_empty_lo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_empty_lo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_empty_lo = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> Ptr TensorOptions -> IO (Ptr Tensor) Unmanaged.tensor_new_empty_lo tensor_new_empty_strided_llo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_empty_strided_llo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_empty_strided_llo = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr IntArray -> Ptr IntArray -> Ptr TensorOptions -> IO (Ptr Tensor) Unmanaged.tensor_new_empty_strided_llo tensor_new_full_lso :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr Scalar -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_full_lso :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr Scalar -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_full_lso = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr IntArray -> Ptr Scalar -> Ptr TensorOptions -> IO (Ptr Tensor) Unmanaged.tensor_new_full_lso tensor_new_zeros_lo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_zeros_lo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_zeros_lo = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> Ptr TensorOptions -> IO (Ptr Tensor) Unmanaged.tensor_new_zeros_lo tensor_new_ones_lo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_ones_lo :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor) tensor_new_ones_lo = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> Ptr TensorOptions -> IO (Ptr Tensor) Unmanaged.tensor_new_ones_lo tensor_resize__lM :: ForeignPtr Tensor -> ForeignPtr IntArray -> MemoryFormat -> IO (ForeignPtr Tensor) tensor_resize__lM :: ForeignPtr Tensor -> ForeignPtr IntArray -> ScalarType -> IO (ForeignPtr Tensor) tensor_resize__lM = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_resize__lM tensor_erf :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erf :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erf = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_erf tensor_erf_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erf_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erf_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_erf_ tensor_erfc :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erfc :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erfc = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_erfc tensor_erfc_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erfc_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_erfc_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_erfc_ tensor_exp :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_exp tensor_exp_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_exp_ tensor_exp2 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp2 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp2 = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_exp2 tensor_exp2_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp2_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_exp2_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_exp2_ tensor_expm1 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_expm1 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_expm1 = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_expm1 tensor_expm1_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_expm1_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_expm1_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_expm1_ tensor_expand_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_expand_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_expand_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_expand_lb tensor_expand_as_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_expand_as_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_expand_as_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_expand_as_t tensor_flatten_ll :: ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_flatten_ll :: ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_flatten_ll = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_flatten_ll tensor_flatten_lln :: ForeignPtr Tensor -> Int64 -> Int64 -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_flatten_lln :: ForeignPtr Tensor -> Int64 -> Int64 -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_flatten_lln = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Int64 -> Ptr Dimname -> IO (Ptr Tensor) Unmanaged.tensor_flatten_lln tensor_flatten_nnn :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Dimname -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_flatten_nnn :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Dimname -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_flatten_nnn = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr Dimname -> Ptr Dimname -> Ptr Dimname -> IO (Ptr Tensor) Unmanaged.tensor_flatten_nnn tensor_flatten_Nn :: ForeignPtr Tensor -> ForeignPtr DimnameList -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_flatten_Nn :: ForeignPtr Tensor -> ForeignPtr DimnameList -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_flatten_Nn = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr DimnameList -> Ptr Dimname -> IO (Ptr Tensor) Unmanaged.tensor_flatten_Nn tensor_unflatten_llN :: ForeignPtr Tensor -> Int64 -> ForeignPtr IntArray -> ForeignPtr DimnameList -> IO (ForeignPtr Tensor) tensor_unflatten_llN :: ForeignPtr Tensor -> Int64 -> ForeignPtr IntArray -> ForeignPtr DimnameList -> IO (ForeignPtr Tensor) tensor_unflatten_llN = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Ptr IntArray -> Ptr DimnameList -> IO (Ptr Tensor) Unmanaged.tensor_unflatten_llN tensor_unflatten_nlN :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr IntArray -> ForeignPtr DimnameList -> IO (ForeignPtr Tensor) tensor_unflatten_nlN :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr IntArray -> ForeignPtr DimnameList -> IO (ForeignPtr Tensor) tensor_unflatten_nlN = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr Dimname -> Ptr IntArray -> Ptr DimnameList -> IO (Ptr Tensor) Unmanaged.tensor_unflatten_nlN tensor_fill__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_fill__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_fill__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_fill__s tensor_fill__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_fill__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_fill__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_fill__t tensor_floor :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_floor tensor_floor_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_floor_ tensor_floor_divide_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor_divide_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor_divide_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_floor_divide_t tensor_floor_divide__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor_divide__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_floor_divide__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_floor_divide__t tensor_floor_divide_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_floor_divide_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_floor_divide_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_floor_divide_s tensor_floor_divide__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_floor_divide__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_floor_divide__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_floor_divide__s tensor_frac :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_frac :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_frac = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_frac tensor_frac_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_frac_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_frac_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_frac_ tensor_gcd_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_gcd_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_gcd_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_gcd_t tensor_gcd__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_gcd__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_gcd__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_gcd__t tensor_lcm_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_lcm_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_lcm_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_lcm_t tensor_lcm__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_lcm__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_lcm__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_lcm__t tensor_index_l :: ForeignPtr Tensor -> ForeignPtr (C10List (C10Optional Tensor)) -> IO (ForeignPtr Tensor) tensor_index_l :: ForeignPtr Tensor -> ForeignPtr (C10List (C10Optional Tensor)) -> IO (ForeignPtr Tensor) tensor_index_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr (C10List (C10Optional Tensor)) -> IO (Ptr Tensor) Unmanaged.tensor_index_l tensor_index_copy__ltt :: ForeignPtr Tensor -> Int64 -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy__ltt :: ForeignPtr Tensor -> Int64 -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy__ltt = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_index_copy__ltt tensor_index_copy_ltt :: ForeignPtr Tensor -> Int64 -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy_ltt :: ForeignPtr Tensor -> Int64 -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy_ltt = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_index_copy_ltt tensor_index_copy__ntt :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy__ntt :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy__ntt = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr Dimname -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_index_copy__ntt tensor_index_copy_ntt :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy_ntt :: ForeignPtr Tensor -> ForeignPtr Dimname -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_index_copy_ntt = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr Dimname -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_index_copy_ntt tensor_index_put__ltb :: ForeignPtr Tensor -> ForeignPtr (C10List (C10Optional Tensor)) -> ForeignPtr Tensor -> CBool -> IO (ForeignPtr Tensor) tensor_index_put__ltb :: ForeignPtr Tensor -> ForeignPtr (C10List (C10Optional Tensor)) -> ForeignPtr Tensor -> CBool -> IO (ForeignPtr Tensor) tensor_index_put__ltb = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr (C10List (C10Optional Tensor)) -> Ptr Tensor -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_index_put__ltb tensor_index_put_ltb :: ForeignPtr Tensor -> ForeignPtr (C10List (C10Optional Tensor)) -> ForeignPtr Tensor -> CBool -> IO (ForeignPtr Tensor) tensor_index_put_ltb :: ForeignPtr Tensor -> ForeignPtr (C10List (C10Optional Tensor)) -> ForeignPtr Tensor -> CBool -> IO (ForeignPtr Tensor) tensor_index_put_ltb = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr (C10List (C10Optional Tensor)) -> Ptr Tensor -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_index_put_ltb tensor_inverse :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_inverse :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_inverse = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_inverse tensor_isclose_tddb :: ForeignPtr Tensor -> ForeignPtr Tensor -> CDouble -> CDouble -> CBool -> IO (ForeignPtr Tensor) tensor_isclose_tddb :: ForeignPtr Tensor -> ForeignPtr Tensor -> CDouble -> CDouble -> CBool -> IO (ForeignPtr Tensor) tensor_isclose_tddb = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable x4 cx4, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> cx4 -> IO cy) -> a -> x1 -> x2 -> x3 -> x4 -> IO y _cast5 Ptr Tensor -> Ptr Tensor -> CDouble -> CDouble -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_isclose_tddb tensor_isnan :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_isnan :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_isnan = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_isnan tensor_is_distributed :: ForeignPtr Tensor -> IO (CBool) tensor_is_distributed :: ForeignPtr Tensor -> IO CBool tensor_is_distributed = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_distributed tensor_is_floating_point :: ForeignPtr Tensor -> IO (CBool) tensor_is_floating_point :: ForeignPtr Tensor -> IO CBool tensor_is_floating_point = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_floating_point tensor_is_complex :: ForeignPtr Tensor -> IO (CBool) tensor_is_complex :: ForeignPtr Tensor -> IO CBool tensor_is_complex = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_complex tensor_is_conj :: ForeignPtr Tensor -> IO (CBool) tensor_is_conj :: ForeignPtr Tensor -> IO CBool tensor_is_conj = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_conj tensor__is_zerotensor :: ForeignPtr Tensor -> IO (CBool) tensor__is_zerotensor :: ForeignPtr Tensor -> IO CBool tensor__is_zerotensor = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor__is_zerotensor tensor_is_neg :: ForeignPtr Tensor -> IO (CBool) tensor_is_neg :: ForeignPtr Tensor -> IO CBool tensor_is_neg = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_neg tensor_isreal :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_isreal :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_isreal = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_isreal tensor_is_nonzero :: ForeignPtr Tensor -> IO (CBool) tensor_is_nonzero :: ForeignPtr Tensor -> IO CBool tensor_is_nonzero = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_nonzero tensor_is_same_size_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (CBool) tensor_is_same_size_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO CBool tensor_is_same_size_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO CBool Unmanaged.tensor_is_same_size_t tensor_is_signed :: ForeignPtr Tensor -> IO (CBool) tensor_is_signed :: ForeignPtr Tensor -> IO CBool tensor_is_signed = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_signed tensor_is_inference :: ForeignPtr Tensor -> IO (CBool) tensor_is_inference :: ForeignPtr Tensor -> IO CBool tensor_is_inference = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO CBool Unmanaged.tensor_is_inference tensor_kron_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_kron_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_kron_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_kron_t tensor_kthvalue_llb :: ForeignPtr Tensor -> Int64 -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_kthvalue_llb :: ForeignPtr Tensor -> Int64 -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_kthvalue_llb = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_kthvalue_llb tensor_kthvalue_lnb :: ForeignPtr Tensor -> Int64 -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_kthvalue_lnb :: ForeignPtr Tensor -> Int64 -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_kthvalue_lnb = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_kthvalue_lnb tensor_nan_to_num_ddd :: ForeignPtr Tensor -> CDouble -> CDouble -> CDouble -> IO (ForeignPtr Tensor) tensor_nan_to_num_ddd :: ForeignPtr Tensor -> CDouble -> CDouble -> CDouble -> IO (ForeignPtr Tensor) tensor_nan_to_num_ddd = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> CDouble -> CDouble -> CDouble -> IO (Ptr Tensor) Unmanaged.tensor_nan_to_num_ddd tensor_nan_to_num__ddd :: ForeignPtr Tensor -> CDouble -> CDouble -> CDouble -> IO (ForeignPtr Tensor) tensor_nan_to_num__ddd :: ForeignPtr Tensor -> CDouble -> CDouble -> CDouble -> IO (ForeignPtr Tensor) tensor_nan_to_num__ddd = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> CDouble -> CDouble -> CDouble -> IO (Ptr Tensor) Unmanaged.tensor_nan_to_num__ddd tensor_ldexp_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_ldexp_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_ldexp_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_ldexp_t tensor_ldexp__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_ldexp__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_ldexp__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_ldexp__t tensor_log :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log tensor_log_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log_ tensor_log10 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log10 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log10 = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log10 tensor_log10_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log10_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log10_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log10_ tensor_log1p :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log1p :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log1p = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log1p tensor_log1p_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log1p_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log1p_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log1p_ tensor_log2 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log2 :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log2 = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log2 tensor_log2_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log2_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_log2_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_log2_ tensor_logaddexp_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_logaddexp_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_logaddexp_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_logaddexp_t tensor_logaddexp2_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_logaddexp2_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_logaddexp2_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_logaddexp2_t tensor_xlogy_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_xlogy_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_xlogy_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_xlogy_t tensor_xlogy_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_xlogy_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_xlogy_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_xlogy_s tensor_xlogy__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_xlogy__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_xlogy__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_xlogy__t tensor_xlogy__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_xlogy__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_xlogy__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_xlogy__s tensor_logdet :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_logdet :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_logdet = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_logdet tensor_log_softmax_ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_log_softmax_ls :: ForeignPtr Tensor -> Int64 -> ScalarType -> IO (ForeignPtr Tensor) tensor_log_softmax_ls = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_log_softmax_ls tensor_log_softmax_ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_log_softmax_ns :: ForeignPtr Tensor -> ForeignPtr Dimname -> ScalarType -> IO (ForeignPtr Tensor) tensor_log_softmax_ns = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_log_softmax_ns tensor_logcumsumexp_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_logcumsumexp_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_logcumsumexp_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_logcumsumexp_l tensor_logcumsumexp_n :: ForeignPtr Tensor -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_logcumsumexp_n :: ForeignPtr Tensor -> ForeignPtr Dimname -> IO (ForeignPtr Tensor) tensor_logcumsumexp_n = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Dimname -> IO (Ptr Tensor) Unmanaged.tensor_logcumsumexp_n tensor_logsumexp_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_logsumexp_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_logsumexp_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_logsumexp_lb tensor_logsumexp_Nb :: ForeignPtr Tensor -> ForeignPtr DimnameList -> CBool -> IO (ForeignPtr Tensor) tensor_logsumexp_Nb :: ForeignPtr Tensor -> ForeignPtr DimnameList -> CBool -> IO (ForeignPtr Tensor) tensor_logsumexp_Nb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr DimnameList -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_logsumexp_Nb tensor_matmul_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_matmul_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_matmul_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_matmul_t tensor_matrix_power_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_matrix_power_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_matrix_power_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_matrix_power_l tensor_matrix_exp :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_matrix_exp :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_matrix_exp = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_matrix_exp tensor_aminmax_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_aminmax_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_aminmax_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_aminmax_lb tensor_max_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_max_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_max_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_max_lb tensor_max_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_max_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_max_nb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_max_nb tensor_amax_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_amax_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_amax_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_amax_lb tensor_mean_s :: ForeignPtr Tensor -> ScalarType -> IO (ForeignPtr Tensor) tensor_mean_s :: ForeignPtr Tensor -> ScalarType -> IO (ForeignPtr Tensor) tensor_mean_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_mean_s tensor_mean_lbs :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> ScalarType -> IO (ForeignPtr Tensor) tensor_mean_lbs :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> ScalarType -> IO (ForeignPtr Tensor) tensor_mean_lbs = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr IntArray -> CBool -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_mean_lbs tensor_mean_Nbs :: ForeignPtr Tensor -> ForeignPtr DimnameList -> CBool -> ScalarType -> IO (ForeignPtr Tensor) tensor_mean_Nbs :: ForeignPtr Tensor -> ForeignPtr DimnameList -> CBool -> ScalarType -> IO (ForeignPtr Tensor) tensor_mean_Nbs = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr DimnameList -> CBool -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_mean_Nbs tensor_nanmean_lbs :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> ScalarType -> IO (ForeignPtr Tensor) tensor_nanmean_lbs :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> ScalarType -> IO (ForeignPtr Tensor) tensor_nanmean_lbs = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr IntArray -> CBool -> ScalarType -> IO (Ptr Tensor) Unmanaged.tensor_nanmean_lbs tensor_median :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_median :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_median = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_median tensor_median_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_median_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_median_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_median_lb tensor_median_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_median_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_median_nb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_median_nb tensor_nanmedian :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_nanmedian :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_nanmedian = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_nanmedian tensor_nanmedian_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_nanmedian_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_nanmedian_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_nanmedian_lb tensor_nanmedian_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_nanmedian_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_nanmedian_nb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_nanmedian_nb tensor_min_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_min_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_min_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_min_lb tensor_min_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_min_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_min_nb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_min_nb tensor_amin_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_amin_lb :: ForeignPtr Tensor -> ForeignPtr IntArray -> CBool -> IO (ForeignPtr Tensor) tensor_amin_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> CBool -> IO (Ptr Tensor) Unmanaged.tensor_amin_lb tensor_mm_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mm_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mm_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_mm_t tensor_mode_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_mode_lb :: ForeignPtr Tensor -> Int64 -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_mode_lb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_mode_lb tensor_mode_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_mode_nb :: ForeignPtr Tensor -> ForeignPtr Dimname -> CBool -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_mode_nb = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_mode_nb tensor_mul_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mul_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mul_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_mul_t tensor_mul__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mul__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mul__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_mul__t tensor_mul_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_mul_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_mul_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_mul_s tensor_mul__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_mul__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_mul__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_mul__s tensor_multiply_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_multiply_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_multiply_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_multiply_t tensor_multiply__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_multiply__t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_multiply__t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_multiply__t tensor_multiply_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_multiply_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_multiply_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_multiply_s tensor_multiply__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_multiply__s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_multiply__s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_multiply__s tensor_mv_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mv_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mv_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_mv_t tensor_mvlgamma_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_mvlgamma_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_mvlgamma_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_mvlgamma_l tensor_mvlgamma__l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_mvlgamma__l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_mvlgamma__l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_mvlgamma__l tensor_narrow_copy_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_narrow_copy_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_narrow_copy_lll = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Int64 -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_narrow_copy_lll tensor_narrow_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_narrow_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_narrow_lll = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Int64 -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_narrow_lll tensor_narrow_ltl :: ForeignPtr Tensor -> Int64 -> ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_narrow_ltl :: ForeignPtr Tensor -> Int64 -> ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_narrow_ltl = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_narrow_ltl tensor_permute_l :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor_permute_l :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor_permute_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr IntArray -> IO (Ptr Tensor) Unmanaged.tensor_permute_l tensor_numpy_T :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_numpy_T :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_numpy_T = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_numpy_T tensor_matrix_H :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_matrix_H :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_matrix_H = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_matrix_H tensor_mT :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mT :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mT = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_mT tensor_mH :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mH :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_mH = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_mH tensor_adjoint :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_adjoint :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_adjoint = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_adjoint tensor_is_pinned_D :: ForeignPtr Tensor -> DeviceType -> IO (CBool) tensor_is_pinned_D :: ForeignPtr Tensor -> DeviceType -> IO CBool tensor_is_pinned_D = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> DeviceType -> IO CBool Unmanaged.tensor_is_pinned_D tensor_pin_memory_D :: ForeignPtr Tensor -> DeviceType -> IO (ForeignPtr Tensor) tensor_pin_memory_D :: ForeignPtr Tensor -> DeviceType -> IO (ForeignPtr Tensor) tensor_pin_memory_D = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> DeviceType -> IO (Ptr Tensor) Unmanaged.tensor_pin_memory_D tensor_pinverse_d :: ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor) tensor_pinverse_d :: ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor) tensor_pinverse_d = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> CDouble -> IO (Ptr Tensor) Unmanaged.tensor_pinverse_d tensor_rad2deg :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rad2deg :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rad2deg = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_rad2deg tensor_rad2deg_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rad2deg_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rad2deg_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_rad2deg_ tensor_deg2rad :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_deg2rad :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_deg2rad = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_deg2rad tensor_deg2rad_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_deg2rad_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_deg2rad_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_deg2rad_ tensor_ravel :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_ravel :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_ravel = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_ravel tensor_reciprocal :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_reciprocal :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_reciprocal = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_reciprocal tensor_reciprocal_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_reciprocal_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_reciprocal_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_reciprocal_ tensor_neg :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_neg :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_neg = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_neg tensor_neg_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_neg_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_neg_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_neg_ tensor_negative :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_negative :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_negative = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_negative tensor_negative_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_negative_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_negative_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_negative_ tensor_repeat_l :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor_repeat_l :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor_repeat_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr IntArray -> IO (Ptr Tensor) Unmanaged.tensor_repeat_l tensor_repeat_interleave_tll :: ForeignPtr Tensor -> ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_repeat_interleave_tll :: ForeignPtr Tensor -> ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_repeat_interleave_tll = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_repeat_interleave_tll tensor_repeat_interleave_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_repeat_interleave_lll :: ForeignPtr Tensor -> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor) tensor_repeat_interleave_lll = forall a ca x1 cx1 x2 cx2 x3 cx3 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3, Castable y cy) => (ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y _cast4 Ptr Tensor -> Int64 -> Int64 -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_repeat_interleave_lll tensor_reshape_l :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor_reshape_l :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor_reshape_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr IntArray -> IO (Ptr Tensor) Unmanaged.tensor_reshape_l tensor__reshape_alias_ll :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor__reshape_alias_ll :: ForeignPtr Tensor -> ForeignPtr IntArray -> ForeignPtr IntArray -> IO (ForeignPtr Tensor) tensor__reshape_alias_ll = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr IntArray -> Ptr IntArray -> IO (Ptr Tensor) Unmanaged.tensor__reshape_alias_ll tensor_reshape_as_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_reshape_as_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_reshape_as_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_reshape_as_t tensor_round :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_round :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_round = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_round tensor_round_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_round_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_round_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_round_ tensor_round_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_round_l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_round_l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_round_l tensor_round__l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_round__l :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor) tensor_round__l = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_round__l tensor_relu :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_relu :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_relu = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_relu tensor_relu_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_relu_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_relu_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_relu_ tensor_prelu_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_prelu_t :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_prelu_t = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_prelu_t tensor_prelu_backward_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr (StdTuple '(Tensor,Tensor))) tensor_prelu_backward_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr (StdTuple '(Tensor, Tensor))) tensor_prelu_backward_tt = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> IO (Ptr (StdTuple '(Tensor, Tensor))) Unmanaged.tensor_prelu_backward_tt tensor_hardshrink_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_hardshrink_s :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_hardshrink_s = forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y _cast2 Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_hardshrink_s tensor_hardshrink_backward_ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_hardshrink_backward_ts :: ForeignPtr Tensor -> ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor) tensor_hardshrink_backward_ts = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) Unmanaged.tensor_hardshrink_backward_ts tensor_rsqrt :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rsqrt :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rsqrt = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_rsqrt tensor_rsqrt_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rsqrt_ :: ForeignPtr Tensor -> IO (ForeignPtr Tensor) tensor_rsqrt_ = forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y _cast1 Ptr Tensor -> IO (Ptr Tensor) Unmanaged.tensor_rsqrt_ tensor_select_nl :: ForeignPtr Tensor -> ForeignPtr Dimname -> Int64 -> IO (ForeignPtr Tensor) tensor_select_nl :: ForeignPtr Tensor -> ForeignPtr Dimname -> Int64 -> IO (ForeignPtr Tensor) tensor_select_nl = forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y _cast3 Ptr Tensor -> Ptr Dimname -> Int64 -> IO (Ptr Tensor) Unmanaged.tensor_select_nl