{-# LANGUAGE DataKinds #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE OverloadedStrings #-}
module Torch.Internal.Managed.Native.Native5 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.Native.Native5 as Unmanaged
batch_norm_elemt_out_ttttttd
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
batch_norm_elemt_out_ttttttd :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
batch_norm_elemt_out_ttttttd = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 x5 cx5 x6 cx6 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
Castable x4 cx4, Castable x5 cx5, Castable x6 cx6,
Castable y cy) =>
(ca -> cx1 -> cx2 -> cx3 -> cx4 -> cx5 -> cx6 -> IO cy)
-> a -> x1 -> x2 -> x3 -> x4 -> x5 -> x6 -> IO y
_cast7 Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> CDouble
-> IO (Ptr Tensor)
Unmanaged.batch_norm_elemt_out_ttttttd
batch_norm_gather_stats_tttttddl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> Int64
-> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
batch_norm_gather_stats_tttttddl :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> Int64
-> IO (ForeignPtr (StdTuple '(Tensor, Tensor)))
batch_norm_gather_stats_tttttddl = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 x5 cx5 x6 cx6 x7 cx7 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
Castable x4 cx4, Castable x5 cx5, Castable x6 cx6, Castable x7 cx7,
Castable y cy) =>
(ca -> cx1 -> cx2 -> cx3 -> cx4 -> cx5 -> cx6 -> cx7 -> IO cy)
-> a -> x1 -> x2 -> x3 -> x4 -> x5 -> x6 -> x7 -> IO y
_cast8 Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> CDouble
-> CDouble
-> Int64
-> IO (Ptr (StdTuple '(Tensor, Tensor)))
Unmanaged.batch_norm_gather_stats_tttttddl
batch_norm_gather_stats_with_counts_tttttddt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> ForeignPtr Tensor
-> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
batch_norm_gather_stats_with_counts_tttttddt :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> ForeignPtr Tensor
-> IO (ForeignPtr (StdTuple '(Tensor, Tensor)))
batch_norm_gather_stats_with_counts_tttttddt = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 x5 cx5 x6 cx6 x7 cx7 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
Castable x4 cx4, Castable x5 cx5, Castable x6 cx6, Castable x7 cx7,
Castable y cy) =>
(ca -> cx1 -> cx2 -> cx3 -> cx4 -> cx5 -> cx6 -> cx7 -> IO cy)
-> a -> x1 -> x2 -> x3 -> x4 -> x5 -> x6 -> x7 -> IO y
_cast8 Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> CDouble
-> CDouble
-> Ptr Tensor
-> IO (Ptr (StdTuple '(Tensor, Tensor)))
Unmanaged.batch_norm_gather_stats_with_counts_tttttddt
native_batch_norm_backward_tttttttbda
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CBool
-> CDouble
-> ForeignPtr (StdArray '(CBool,3))
-> IO (ForeignPtr (StdTuple '(Tensor,Tensor,Tensor)))
native_batch_norm_backward_tttttttbda :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CBool
-> CDouble
-> ForeignPtr (StdArray '(CBool, 3))
-> IO (ForeignPtr (StdTuple '(Tensor, Tensor, Tensor)))
native_batch_norm_backward_tttttttbda = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 x5 cx5 x6 cx6 x7 cx7 x8 cx8
x9 cx9 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
Castable x4 cx4, Castable x5 cx5, Castable x6 cx6, Castable x7 cx7,
Castable x8 cx8, Castable x9 cx9, Castable y cy) =>
(ca
-> cx1
-> cx2
-> cx3
-> cx4
-> cx5
-> cx6
-> cx7
-> cx8
-> cx9
-> IO cy)
-> a -> x1 -> x2 -> x3 -> x4 -> x5 -> x6 -> x7 -> x8 -> x9 -> IO y
_cast10 Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> CBool
-> CDouble
-> Ptr (StdArray '(CBool, 3))
-> IO (Ptr (StdTuple '(Tensor, Tensor, Tensor)))
Unmanaged.native_batch_norm_backward_tttttttbda
batch_norm_backward_reduce_tttttbbb
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CBool
-> CBool
-> CBool
-> IO (ForeignPtr (StdTuple '(Tensor,Tensor,Tensor,Tensor)))
batch_norm_backward_reduce_tttttbbb :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CBool
-> CBool
-> CBool
-> IO (ForeignPtr (StdTuple '(Tensor, Tensor, Tensor, Tensor)))
batch_norm_backward_reduce_tttttbbb = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 x5 cx5 x6 cx6 x7 cx7 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
Castable x4 cx4, Castable x5 cx5, Castable x6 cx6, Castable x7 cx7,
Castable y cy) =>
(ca -> cx1 -> cx2 -> cx3 -> cx4 -> cx5 -> cx6 -> cx7 -> IO cy)
-> a -> x1 -> x2 -> x3 -> x4 -> x5 -> x6 -> x7 -> IO y
_cast8 Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> CBool
-> CBool
-> CBool
-> IO (Ptr (StdTuple '(Tensor, Tensor, Tensor, Tensor)))
Unmanaged.batch_norm_backward_reduce_tttttbbb
batch_norm_backward_elemt_tttttttt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
batch_norm_backward_elemt_tttttttt :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
batch_norm_backward_elemt_tttttttt = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 x5 cx5 x6 cx6 x7 cx7 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
Castable x4 cx4, Castable x5 cx5, Castable x6 cx6, Castable x7 cx7,
Castable y cy) =>
(ca -> cx1 -> cx2 -> cx3 -> cx4 -> cx5 -> cx6 -> cx7 -> IO cy)
-> a -> x1 -> x2 -> x3 -> x4 -> x5 -> x6 -> x7 -> IO y
_cast8 Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> Ptr Tensor
-> IO (Ptr Tensor)
Unmanaged.batch_norm_backward_elemt_tttttttt
batch_norm_update_stats_tttd
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
batch_norm_update_stats_tttd :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr (StdTuple '(Tensor, Tensor)))
batch_norm_update_stats_tttd = 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
-> Ptr Tensor
-> CDouble
-> IO (Ptr (StdTuple '(Tensor, Tensor)))
Unmanaged.batch_norm_update_stats_tttd
is_vulkan_available
:: IO (CBool)
is_vulkan_available :: IO CBool
is_vulkan_available = forall a ca. Castable a ca => IO ca -> IO a
_cast0 IO CBool
Unmanaged.is_vulkan_available
_nnpack_available
:: IO (CBool)
_nnpack_available :: IO CBool
_nnpack_available = forall a ca. Castable a ca => IO ca -> IO a
_cast0 IO CBool
Unmanaged._nnpack_available
_nnpack_spatial_convolution_tttll
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
_nnpack_spatial_convolution_tttll :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
_nnpack_spatial_convolution_tttll = 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
-> Ptr Tensor
-> Ptr IntArray
-> Ptr IntArray
-> IO (Ptr Tensor)
Unmanaged._nnpack_spatial_convolution_tttll
_nnpack_spatial_convolution_tttl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
_nnpack_spatial_convolution_tttl :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
_nnpack_spatial_convolution_tttl = 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 -> Ptr Tensor -> Ptr IntArray -> IO (Ptr Tensor)
Unmanaged._nnpack_spatial_convolution_tttl
ones_lNo
:: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
ones_lNo :: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
ones_lNo = 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 IntArray
-> Ptr DimnameList -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.ones_lNo
ones_lN
:: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> IO (ForeignPtr Tensor)
ones_lN :: ForeignPtr IntArray
-> ForeignPtr DimnameList -> IO (ForeignPtr Tensor)
ones_lN = 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 IntArray -> Ptr DimnameList -> IO (Ptr Tensor)
Unmanaged.ones_lN
ones_lo
:: ForeignPtr IntArray
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
ones_lo :: ForeignPtr IntArray
-> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
ones_lo = 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 IntArray -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.ones_lo
ones_l
:: ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
ones_l :: ForeignPtr IntArray -> IO (ForeignPtr Tensor)
ones_l = forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
_cast1 Ptr IntArray -> IO (Ptr Tensor)
Unmanaged.ones_l
ones_out_tl
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
ones_out_tl :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
ones_out_tl = 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.ones_out_tl
ones_like_toM
:: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
ones_like_toM :: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
ones_like_toM = 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 TensorOptions -> MemoryFormat -> IO (Ptr Tensor)
Unmanaged.ones_like_toM
ones_like_to
:: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
ones_like_to :: ForeignPtr Tensor
-> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
ones_like_to = 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 TensorOptions -> IO (Ptr Tensor)
Unmanaged.ones_like_to
ones_like_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
ones_like_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
ones_like_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.ones_like_t
pairwise_distance_ttddb
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> CBool
-> IO (ForeignPtr Tensor)
pairwise_distance_ttddb :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> CBool
-> IO (ForeignPtr Tensor)
pairwise_distance_ttddb = 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.pairwise_distance_ttddb
pairwise_distance_ttdd
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> IO (ForeignPtr Tensor)
pairwise_distance_ttdd :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> CDouble
-> IO (ForeignPtr Tensor)
pairwise_distance_ttdd = 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 -> CDouble -> CDouble -> IO (Ptr Tensor)
Unmanaged.pairwise_distance_ttdd
pairwise_distance_ttd
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
pairwise_distance_ttd :: ForeignPtr Tensor
-> ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
pairwise_distance_ttd = 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 -> CDouble -> IO (Ptr Tensor)
Unmanaged.pairwise_distance_ttd
pairwise_distance_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
pairwise_distance_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
pairwise_distance_tt = 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.pairwise_distance_tt
cdist_ttdl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> Int64
-> IO (ForeignPtr Tensor)
cdist_ttdl :: ForeignPtr Tensor
-> ForeignPtr Tensor -> CDouble -> Int64 -> IO (ForeignPtr Tensor)
cdist_ttdl = 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 -> CDouble -> Int64 -> IO (Ptr Tensor)
Unmanaged.cdist_ttdl
cdist_ttd
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
cdist_ttd :: ForeignPtr Tensor
-> ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
cdist_ttd = 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 -> CDouble -> IO (Ptr Tensor)
Unmanaged.cdist_ttd
cdist_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
cdist_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
cdist_tt = 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.cdist_tt
_euclidean_dist_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
_euclidean_dist_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
_euclidean_dist_tt = 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._euclidean_dist_tt
_cdist_forward_ttdl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> Int64
-> IO (ForeignPtr Tensor)
_cdist_forward_ttdl :: ForeignPtr Tensor
-> ForeignPtr Tensor -> CDouble -> Int64 -> IO (ForeignPtr Tensor)
_cdist_forward_ttdl = 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 -> CDouble -> Int64 -> IO (Ptr Tensor)
Unmanaged._cdist_forward_ttdl
_cdist_backward_tttdt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
_cdist_backward_tttdt :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
_cdist_backward_tttdt = 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
-> Ptr Tensor
-> CDouble
-> Ptr Tensor
-> IO (Ptr Tensor)
Unmanaged._cdist_backward_tttdt
pdist_td
:: ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
pdist_td :: ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
pdist_td = 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.pdist_td
pdist_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
pdist_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
pdist_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.pdist_t
_pdist_forward_td
:: ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
_pdist_forward_td :: ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
_pdist_forward_td = 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._pdist_forward_td
_pdist_forward_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
_pdist_forward_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
_pdist_forward_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._pdist_forward_t
_pdist_backward_ttdt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
_pdist_backward_ttdt :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
_pdist_backward_ttdt = 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 -> CDouble -> Ptr Tensor -> IO (Ptr Tensor)
Unmanaged._pdist_backward_ttdt
cosine_similarity_ttld
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> Int64
-> CDouble
-> IO (ForeignPtr Tensor)
cosine_similarity_ttld :: ForeignPtr Tensor
-> ForeignPtr Tensor -> Int64 -> CDouble -> IO (ForeignPtr Tensor)
cosine_similarity_ttld = 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 -> CDouble -> IO (Ptr Tensor)
Unmanaged.cosine_similarity_ttld
cosine_similarity_ttl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
cosine_similarity_ttl :: ForeignPtr Tensor
-> ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
cosine_similarity_ttl = 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 -> Int64 -> IO (Ptr Tensor)
Unmanaged.cosine_similarity_ttl
cosine_similarity_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
cosine_similarity_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
cosine_similarity_tt = 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.cosine_similarity_tt
permute_tl
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
permute_tl :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
permute_tl = 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.permute_tl
movedim_tll
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
movedim_tll :: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
movedim_tll = 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.movedim_tll
moveaxis_tll
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
moveaxis_tll :: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
moveaxis_tll = 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.moveaxis_tll
adjoint_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
adjoint_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
adjoint_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.adjoint_t
pixel_shuffle_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
pixel_shuffle_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
pixel_shuffle_tl = 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.pixel_shuffle_tl
pixel_unshuffle_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
pixel_unshuffle_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
pixel_unshuffle_tl = 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.pixel_unshuffle_tl
channel_shuffle_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
channel_shuffle_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
channel_shuffle_tl = 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.channel_shuffle_tl
native_channel_shuffle_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
native_channel_shuffle_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
native_channel_shuffle_tl = 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.native_channel_shuffle_tl
_pin_memory_tD
:: ForeignPtr Tensor
-> DeviceType
-> IO (ForeignPtr Tensor)
_pin_memory_tD :: ForeignPtr Tensor -> DeviceType -> IO (ForeignPtr Tensor)
_pin_memory_tD = 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._pin_memory_tD
_pin_memory_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
_pin_memory_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
_pin_memory_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._pin_memory_t
pinverse_td
:: ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
pinverse_td :: ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
pinverse_td = 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.pinverse_td
pinverse_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
pinverse_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
pinverse_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.pinverse_t
poisson_nll_loss_ttbbdl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CBool
-> CBool
-> CDouble
-> Int64
-> IO (ForeignPtr Tensor)
poisson_nll_loss_ttbbdl :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CBool
-> CBool
-> CDouble
-> Int64
-> IO (ForeignPtr Tensor)
poisson_nll_loss_ttbbdl = forall a ca x1 cx1 x2 cx2 x3 cx3 x4 cx4 x5 cx5 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
Castable x4 cx4, Castable x5 cx5, Castable y cy) =>
(ca -> cx1 -> cx2 -> cx3 -> cx4 -> cx5 -> IO cy)
-> a -> x1 -> x2 -> x3 -> x4 -> x5 -> IO y
_cast6 Ptr Tensor
-> Ptr Tensor
-> CBool
-> CBool
-> CDouble
-> Int64
-> IO (Ptr Tensor)
Unmanaged.poisson_nll_loss_ttbbdl
rad2deg_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rad2deg_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rad2deg_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.rad2deg_t
rad2deg__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rad2deg__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rad2deg__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.rad2deg__t
rad2deg_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rad2deg_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rad2deg_out_tt = 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.rad2deg_out_tt
deg2rad_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
deg2rad_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
deg2rad_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.deg2rad_t
deg2rad__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
deg2rad__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
deg2rad__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.deg2rad__t
deg2rad_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
deg2rad_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
deg2rad_out_tt = 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.deg2rad_out_tt
scalar_tensor_so
:: ForeignPtr Scalar
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
scalar_tensor_so :: ForeignPtr Scalar
-> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
scalar_tensor_so = 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 Scalar -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.scalar_tensor_so
scalar_tensor_s
:: ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
scalar_tensor_s :: ForeignPtr Scalar -> IO (ForeignPtr Tensor)
scalar_tensor_s = forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
_cast1 Ptr Scalar -> IO (Ptr Tensor)
Unmanaged.scalar_tensor_s
rand_lNo
:: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_lNo :: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_lNo = 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 IntArray
-> Ptr DimnameList -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.rand_lNo
rand_lN
:: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> IO (ForeignPtr Tensor)
rand_lN :: ForeignPtr IntArray
-> ForeignPtr DimnameList -> IO (ForeignPtr Tensor)
rand_lN = 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 IntArray -> Ptr DimnameList -> IO (Ptr Tensor)
Unmanaged.rand_lN
rand_lGNo
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_lGNo :: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_lGNo = 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 IntArray
-> Ptr Generator
-> Ptr DimnameList
-> Ptr TensorOptions
-> IO (Ptr Tensor)
Unmanaged.rand_lGNo
rand_lGN
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> IO (ForeignPtr Tensor)
rand_lGN :: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> IO (ForeignPtr Tensor)
rand_lGN = 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 IntArray -> Ptr Generator -> Ptr DimnameList -> IO (Ptr Tensor)
Unmanaged.rand_lGN
rand_lo
:: ForeignPtr IntArray
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_lo :: ForeignPtr IntArray
-> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
rand_lo = 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 IntArray -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.rand_lo
rand_l
:: ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
rand_l :: ForeignPtr IntArray -> IO (ForeignPtr Tensor)
rand_l = forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
_cast1 Ptr IntArray -> IO (Ptr Tensor)
Unmanaged.rand_l
rand_lGo
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_lGo :: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_lGo = 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 IntArray
-> Ptr Generator -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.rand_lGo
rand_lG
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
rand_lG :: ForeignPtr IntArray
-> ForeignPtr Generator -> IO (ForeignPtr Tensor)
rand_lG = 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 IntArray -> Ptr Generator -> IO (Ptr Tensor)
Unmanaged.rand_lG
rand_out_tl
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
rand_out_tl :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
rand_out_tl = 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.rand_out_tl
rand_out_tlG
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
rand_out_tlG :: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
rand_out_tlG = 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 Generator -> IO (Ptr Tensor)
Unmanaged.rand_out_tlG
rand_like_toM
:: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
rand_like_toM :: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
rand_like_toM = 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 TensorOptions -> MemoryFormat -> IO (Ptr Tensor)
Unmanaged.rand_like_toM
rand_like_to
:: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
rand_like_to :: ForeignPtr Tensor
-> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
rand_like_to = 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 TensorOptions -> IO (Ptr Tensor)
Unmanaged.rand_like_to
rand_like_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rand_like_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rand_like_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.rand_like_t
randint_llo
:: Int64
-> ForeignPtr IntArray
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_llo :: Int64
-> ForeignPtr IntArray
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_llo = 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 Int64 -> Ptr IntArray -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randint_llo
randint_ll
:: Int64
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
randint_ll :: Int64 -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
randint_ll = 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 Int64 -> Ptr IntArray -> IO (Ptr Tensor)
Unmanaged.randint_ll
randint_llGo
:: Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_llGo :: Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_llGo = 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 Int64
-> Ptr IntArray
-> Ptr Generator
-> Ptr TensorOptions
-> IO (Ptr Tensor)
Unmanaged.randint_llGo
randint_llG
:: Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_llG :: Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_llG = 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 Int64 -> Ptr IntArray -> Ptr Generator -> IO (Ptr Tensor)
Unmanaged.randint_llG
randint_lllo
:: Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_lllo :: Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_lllo = 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 Int64
-> Int64 -> Ptr IntArray -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randint_lllo
randint_lll
:: Int64
-> Int64
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
randint_lll :: Int64 -> Int64 -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
randint_lll = 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 Int64 -> Int64 -> Ptr IntArray -> IO (Ptr Tensor)
Unmanaged.randint_lll
randint_lllGo
:: Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_lllGo :: Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_lllGo = 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 Int64
-> Int64
-> Ptr IntArray
-> Ptr Generator
-> Ptr TensorOptions
-> IO (Ptr Tensor)
Unmanaged.randint_lllGo
randint_lllG
:: Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_lllG :: Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_lllG = 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 Int64 -> Int64 -> Ptr IntArray -> Ptr Generator -> IO (Ptr Tensor)
Unmanaged.randint_lllG
randint_out_tll
:: ForeignPtr Tensor
-> Int64
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
randint_out_tll :: ForeignPtr Tensor
-> Int64 -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
randint_out_tll = 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 -> Ptr IntArray -> IO (Ptr Tensor)
Unmanaged.randint_out_tll
randint_out_tllG
:: ForeignPtr Tensor
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_out_tllG :: ForeignPtr Tensor
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_out_tllG = 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 Generator -> IO (Ptr Tensor)
Unmanaged.randint_out_tllG
randint_out_tlll
:: ForeignPtr Tensor
-> Int64
-> Int64
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
randint_out_tlll :: ForeignPtr Tensor
-> Int64 -> Int64 -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
randint_out_tlll = 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 IntArray -> IO (Ptr Tensor)
Unmanaged.randint_out_tlll
randint_out_tlllG
:: ForeignPtr Tensor
-> Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_out_tlllG :: ForeignPtr Tensor
-> Int64
-> Int64
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randint_out_tlllG = 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 IntArray
-> Ptr Generator
-> IO (Ptr Tensor)
Unmanaged.randint_out_tlllG
randint_like_tloM
:: ForeignPtr Tensor
-> Int64
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
randint_like_tloM :: ForeignPtr Tensor
-> Int64
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
randint_like_tloM = 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 TensorOptions -> MemoryFormat -> IO (Ptr Tensor)
Unmanaged.randint_like_tloM
randint_like_tlo
:: ForeignPtr Tensor
-> Int64
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_like_tlo :: ForeignPtr Tensor
-> Int64 -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
randint_like_tlo = 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 -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randint_like_tlo
randint_like_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
randint_like_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
randint_like_tl = 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.randint_like_tl
randint_like_tlloM
:: ForeignPtr Tensor
-> Int64
-> Int64
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
randint_like_tlloM :: ForeignPtr Tensor
-> Int64
-> Int64
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
randint_like_tlloM = 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 TensorOptions
-> MemoryFormat
-> IO (Ptr Tensor)
Unmanaged.randint_like_tlloM
randint_like_tllo
:: ForeignPtr Tensor
-> Int64
-> Int64
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_like_tllo :: ForeignPtr Tensor
-> Int64
-> Int64
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randint_like_tllo = 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 TensorOptions -> IO (Ptr Tensor)
Unmanaged.randint_like_tllo
randint_like_tll
:: ForeignPtr Tensor
-> Int64
-> Int64
-> IO (ForeignPtr Tensor)
randint_like_tll :: ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor)
randint_like_tll = 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.randint_like_tll
randn_lo
:: ForeignPtr IntArray
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_lo :: ForeignPtr IntArray
-> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
randn_lo = 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 IntArray -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randn_lo
randn_l
:: ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
randn_l :: ForeignPtr IntArray -> IO (ForeignPtr Tensor)
randn_l = forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
_cast1 Ptr IntArray -> IO (Ptr Tensor)
Unmanaged.randn_l
randn_lGo
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_lGo :: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_lGo = 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 IntArray
-> Ptr Generator -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randn_lGo
randn_lG
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randn_lG :: ForeignPtr IntArray
-> ForeignPtr Generator -> IO (ForeignPtr Tensor)
randn_lG = 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 IntArray -> Ptr Generator -> IO (Ptr Tensor)
Unmanaged.randn_lG
randn_lNo
:: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_lNo :: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_lNo = 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 IntArray
-> Ptr DimnameList -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randn_lNo
randn_lN
:: ForeignPtr IntArray
-> ForeignPtr DimnameList
-> IO (ForeignPtr Tensor)
randn_lN :: ForeignPtr IntArray
-> ForeignPtr DimnameList -> IO (ForeignPtr Tensor)
randn_lN = 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 IntArray -> Ptr DimnameList -> IO (Ptr Tensor)
Unmanaged.randn_lN
randn_lGNo
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_lGNo :: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_lGNo = 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 IntArray
-> Ptr Generator
-> Ptr DimnameList
-> Ptr TensorOptions
-> IO (Ptr Tensor)
Unmanaged.randn_lGNo
randn_lGN
:: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> IO (ForeignPtr Tensor)
randn_lGN :: ForeignPtr IntArray
-> ForeignPtr Generator
-> ForeignPtr DimnameList
-> IO (ForeignPtr Tensor)
randn_lGN = 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 IntArray -> Ptr Generator -> Ptr DimnameList -> IO (Ptr Tensor)
Unmanaged.randn_lGN
randn_out_tl
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
randn_out_tl :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
randn_out_tl = 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.randn_out_tl
randn_out_tlG
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randn_out_tlG :: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randn_out_tlG = 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 Generator -> IO (Ptr Tensor)
Unmanaged.randn_out_tlG
randn_like_toM
:: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
randn_like_toM :: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> MemoryFormat
-> IO (ForeignPtr Tensor)
randn_like_toM = 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 TensorOptions -> MemoryFormat -> IO (Ptr Tensor)
Unmanaged.randn_like_toM
randn_like_to
:: ForeignPtr Tensor
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randn_like_to :: ForeignPtr Tensor
-> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
randn_like_to = 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 TensorOptions -> IO (Ptr Tensor)
Unmanaged.randn_like_to
randn_like_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
randn_like_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
randn_like_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.randn_like_t
randperm_lo
:: Int64
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randperm_lo :: Int64 -> ForeignPtr TensorOptions -> IO (ForeignPtr Tensor)
randperm_lo = 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 Int64 -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randperm_lo
randperm_l
:: Int64
-> IO (ForeignPtr Tensor)
randperm_l :: Int64 -> IO (ForeignPtr Tensor)
randperm_l = forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
_cast1 Int64 -> IO (Ptr Tensor)
Unmanaged.randperm_l
randperm_lGo
:: Int64
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randperm_lGo :: Int64
-> ForeignPtr Generator
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
randperm_lGo = 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 Int64 -> Ptr Generator -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.randperm_lGo
randperm_lG
:: Int64
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randperm_lG :: Int64 -> ForeignPtr Generator -> IO (ForeignPtr Tensor)
randperm_lG = 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 Int64 -> Ptr Generator -> IO (Ptr Tensor)
Unmanaged.randperm_lG
randperm_out_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
randperm_out_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
randperm_out_tl = 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.randperm_out_tl
randperm_out_tlG
:: ForeignPtr Tensor
-> Int64
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
randperm_out_tlG :: ForeignPtr Tensor
-> Int64 -> ForeignPtr Generator -> IO (ForeignPtr Tensor)
randperm_out_tlG = 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 -> Ptr Generator -> IO (Ptr Tensor)
Unmanaged.randperm_out_tlG
range_ssso
:: ForeignPtr Scalar
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
range_ssso :: ForeignPtr Scalar
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> ForeignPtr TensorOptions
-> IO (ForeignPtr Tensor)
range_ssso = 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 Scalar
-> Ptr Scalar -> Ptr Scalar -> Ptr TensorOptions -> IO (Ptr Tensor)
Unmanaged.range_ssso
range_sss
:: ForeignPtr Scalar
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
range_sss :: ForeignPtr Scalar
-> ForeignPtr Scalar -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
range_sss = 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 Scalar -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor)
Unmanaged.range_sss
range_out_tsss
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
range_out_tsss :: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
range_out_tsss = 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 Scalar -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor)
Unmanaged.range_out_tsss
range_out_tss
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
range_out_tss :: ForeignPtr Tensor
-> ForeignPtr Scalar -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
range_out_tss = 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 Scalar -> IO (Ptr Tensor)
Unmanaged.range_out_tss
ravel_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
ravel_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
ravel_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.ravel_t
reciprocal_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
reciprocal_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
reciprocal_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.reciprocal_t
reciprocal__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
reciprocal__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
reciprocal__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.reciprocal__t
reciprocal_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
reciprocal_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
reciprocal_out_tt = 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.reciprocal_out_tt
neg_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
neg_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
neg_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.neg_t
neg__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
neg__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
neg__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.neg__t
neg_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
neg_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
neg_out_tt = 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.neg_out_tt
negative_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
negative_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
negative_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.negative_t
negative__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
negative__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
negative__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.negative__t
negative_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
negative_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
negative_out_tt = 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.negative_out_tt
repeat_interleave_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
repeat_interleave_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
repeat_interleave_tl = 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.repeat_interleave_tl
repeat_interleave_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
repeat_interleave_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
repeat_interleave_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.repeat_interleave_t
repeat_interleave_ttll
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> Int64
-> Int64
-> IO (ForeignPtr Tensor)
repeat_interleave_ttll :: ForeignPtr Tensor
-> ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor)
repeat_interleave_ttll = 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.repeat_interleave_ttll
repeat_interleave_ttl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
repeat_interleave_ttl :: ForeignPtr Tensor
-> ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
repeat_interleave_ttl = 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 -> Int64 -> IO (Ptr Tensor)
Unmanaged.repeat_interleave_ttl
repeat_interleave_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
repeat_interleave_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
repeat_interleave_tt = 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.repeat_interleave_tt
repeat_interleave_tlll
:: ForeignPtr Tensor
-> Int64
-> Int64
-> Int64
-> IO (ForeignPtr Tensor)
repeat_interleave_tlll :: ForeignPtr Tensor
-> Int64 -> Int64 -> Int64 -> IO (ForeignPtr Tensor)
repeat_interleave_tlll = 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.repeat_interleave_tlll
repeat_interleave_tll
:: ForeignPtr Tensor
-> Int64
-> Int64
-> IO (ForeignPtr Tensor)
repeat_interleave_tll :: ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor)
repeat_interleave_tll = 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.repeat_interleave_tll
reshape_tl
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
reshape_tl :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
reshape_tl = 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.reshape_tl
_reshape_alias_tll
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
_reshape_alias_tll :: ForeignPtr Tensor
-> ForeignPtr IntArray
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
_reshape_alias_tll = 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._reshape_alias_tll
_mkldnn_reshape_tl
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> IO (ForeignPtr Tensor)
_mkldnn_reshape_tl :: ForeignPtr Tensor -> ForeignPtr IntArray -> IO (ForeignPtr Tensor)
_mkldnn_reshape_tl = 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._mkldnn_reshape_tl
round_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
round_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
round_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.round_t
round__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
round__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
round__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.round__t
round_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
round_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
round_out_tt = 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.round_out_tt
round_tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
round_tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
round_tl = 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.round_tl
round__tl
:: ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
round__tl :: ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
round__tl = 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.round__tl
round_out_ttl
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> Int64
-> IO (ForeignPtr Tensor)
round_out_ttl :: ForeignPtr Tensor
-> ForeignPtr Tensor -> Int64 -> IO (ForeignPtr Tensor)
round_out_ttl = 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 -> Int64 -> IO (Ptr Tensor)
Unmanaged.round_out_ttl
rrelu_tssbG
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
rrelu_tssbG :: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
rrelu_tssbG = 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 Scalar
-> Ptr Scalar
-> CBool
-> Ptr Generator
-> IO (Ptr Tensor)
Unmanaged.rrelu_tssbG
rrelu_tssb
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> IO (ForeignPtr Tensor)
rrelu_tssb :: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> IO (ForeignPtr Tensor)
rrelu_tssb = 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 Scalar -> Ptr Scalar -> CBool -> IO (Ptr Tensor)
Unmanaged.rrelu_tssb
rrelu_tss
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
rrelu_tss :: ForeignPtr Tensor
-> ForeignPtr Scalar -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
rrelu_tss = 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 Scalar -> IO (Ptr Tensor)
Unmanaged.rrelu_tss
rrelu_ts
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
rrelu_ts :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
rrelu_ts = 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.rrelu_ts
rrelu_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rrelu_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rrelu_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.rrelu_t
rrelu__tssbG
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
rrelu__tssbG :: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> ForeignPtr Generator
-> IO (ForeignPtr Tensor)
rrelu__tssbG = 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 Scalar
-> Ptr Scalar
-> CBool
-> Ptr Generator
-> IO (Ptr Tensor)
Unmanaged.rrelu__tssbG
rrelu__tssb
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> IO (ForeignPtr Tensor)
rrelu__tssb :: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> CBool
-> IO (ForeignPtr Tensor)
rrelu__tssb = 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 Scalar -> Ptr Scalar -> CBool -> IO (Ptr Tensor)
Unmanaged.rrelu__tssb
rrelu__tss
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
rrelu__tss :: ForeignPtr Tensor
-> ForeignPtr Scalar -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
rrelu__tss = 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 Scalar -> IO (Ptr Tensor)
Unmanaged.rrelu__tss
rrelu__ts
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
rrelu__ts :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
rrelu__ts = 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.rrelu__ts
rrelu__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rrelu__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rrelu__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.rrelu__t
relu_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
relu_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
relu_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.relu_t
relu__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
relu__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
relu__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.relu__t
relu6_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
relu6_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
relu6_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.relu6_t
relu6__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
relu6__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
relu6__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.relu6__t
prelu_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
prelu_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
prelu_tt = 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.prelu_tt
prelu_backward_ttt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
prelu_backward_ttt :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr (StdTuple '(Tensor, Tensor)))
prelu_backward_ttt = 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.prelu_backward_ttt
gelu_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
gelu_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
gelu_out_tt = 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.gelu_out_tt
gelu_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
gelu_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
gelu_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.gelu_t
gelu_backward_out_ttt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
gelu_backward_out_ttt :: ForeignPtr Tensor
-> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
gelu_backward_out_ttt = 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 Tensor)
Unmanaged.gelu_backward_out_ttt
gelu_backward_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
gelu_backward_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
gelu_backward_tt = 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.gelu_backward_tt
infinitely_differentiable_gelu_backward_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
infinitely_differentiable_gelu_backward_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
infinitely_differentiable_gelu_backward_tt = 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.infinitely_differentiable_gelu_backward_tt
hardshrink_out_tts
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
hardshrink_out_tts :: ForeignPtr Tensor
-> ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
hardshrink_out_tts = 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.hardshrink_out_tts
hardshrink_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
hardshrink_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
hardshrink_out_tt = 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.hardshrink_out_tt
hardshrink_ts
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
hardshrink_ts :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
hardshrink_ts = 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.hardshrink_ts
hardshrink_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
hardshrink_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
hardshrink_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.hardshrink_t
hardshrink_backward_out_ttts
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
hardshrink_backward_out_ttts :: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
hardshrink_backward_out_ttts = 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 -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor)
Unmanaged.hardshrink_backward_out_ttts
hardshrink_backward_tts
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
hardshrink_backward_tts :: ForeignPtr Tensor
-> ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
hardshrink_backward_tts = 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.hardshrink_backward_tts
rsqrt_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rsqrt_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rsqrt_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.rsqrt_t
rsqrt__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rsqrt__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rsqrt__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.rsqrt__t
rsqrt_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
rsqrt_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
rsqrt_out_tt = 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.rsqrt_out_tt
select_tnl
:: ForeignPtr Tensor
-> ForeignPtr Dimname
-> Int64
-> IO (ForeignPtr Tensor)
select_tnl :: ForeignPtr Tensor
-> ForeignPtr Dimname -> Int64 -> IO (ForeignPtr Tensor)
select_tnl = 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.select_tnl
select_tll
:: ForeignPtr Tensor
-> Int64
-> Int64
-> IO (ForeignPtr Tensor)
select_tll :: ForeignPtr Tensor -> Int64 -> Int64 -> IO (ForeignPtr Tensor)
select_tll = 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.select_tll
select_backward_tlll
:: ForeignPtr Tensor
-> ForeignPtr IntArray
-> Int64
-> Int64
-> IO (ForeignPtr Tensor)
select_backward_tlll :: ForeignPtr Tensor
-> ForeignPtr IntArray -> Int64 -> Int64 -> IO (ForeignPtr Tensor)
select_backward_tlll = 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 -> Int64 -> Int64 -> IO (Ptr Tensor)
Unmanaged.select_backward_tlll
selu_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
selu_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
selu_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.selu_t
selu__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
selu__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
selu__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.selu__t
celu_ts
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
celu_ts :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
celu_ts = 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.celu_ts
celu_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
celu_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
celu_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.celu_t
celu__ts
:: ForeignPtr Tensor
-> ForeignPtr Scalar
-> IO (ForeignPtr Tensor)
celu__ts :: ForeignPtr Tensor -> ForeignPtr Scalar -> IO (ForeignPtr Tensor)
celu__ts = 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.celu__ts
celu__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
celu__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
celu__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.celu__t
silu_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
silu_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
silu_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.silu_t
silu__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
silu__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
silu__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.silu__t
silu_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
silu_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
silu_out_tt = 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.silu_out_tt
silu_backward_out_ttt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
silu_backward_out_ttt :: ForeignPtr Tensor
-> ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
silu_backward_out_ttt = 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 Tensor)
Unmanaged.silu_backward_out_ttt
silu_backward_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
silu_backward_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
silu_backward_tt = 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.silu_backward_tt
mish_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
mish_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
mish_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.mish_t
mish__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
mish__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
mish__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.mish__t
mish_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
mish_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
mish_out_tt = 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.mish_out_tt
mish_backward_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
mish_backward_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
mish_backward_tt = 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.mish_backward_tt
sigmoid_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sigmoid_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sigmoid_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.sigmoid_t
sigmoid__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sigmoid__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sigmoid__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.sigmoid__t
sigmoid_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sigmoid_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sigmoid_out_tt = 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.sigmoid_out_tt
logit_td
:: ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
logit_td :: ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
logit_td = 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.logit_td
logit_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
logit_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
logit_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.logit_t
logit__td
:: ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
logit__td :: ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
logit__td = 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.logit__td
logit__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
logit__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
logit__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.logit__t
logit_out_ttd
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> CDouble
-> IO (ForeignPtr Tensor)
logit_out_ttd :: ForeignPtr Tensor
-> ForeignPtr Tensor -> CDouble -> IO (ForeignPtr Tensor)
logit_out_ttd = 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 -> CDouble -> IO (Ptr Tensor)
Unmanaged.logit_out_ttd
logit_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
logit_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
logit_out_tt = 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.logit_out_tt
sin_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sin_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sin_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.sin_t
sin__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sin__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sin__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.sin__t
sin_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sin_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sin_out_tt = 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.sin_out_tt
sinc_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sinc_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sinc_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.sinc_t
sinc__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sinc__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sinc__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.sinc__t
sinc_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sinc_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sinc_out_tt = 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.sinc_out_tt
sinh_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sinh_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sinh_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.sinh_t
sinh__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sinh__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sinh__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.sinh__t
sinh_out_tt
:: ForeignPtr Tensor
-> ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
sinh_out_tt :: ForeignPtr Tensor -> ForeignPtr Tensor -> IO (ForeignPtr Tensor)
sinh_out_tt = 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.sinh_out_tt
detach_t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
detach_t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
detach_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.detach_t
detach__t
:: ForeignPtr Tensor
-> IO (ForeignPtr Tensor)
detach__t :: ForeignPtr Tensor -> IO (ForeignPtr Tensor)
detach__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.detach__t
size_tl
:: ForeignPtr Tensor
-> Int64
-> IO (Int64)
size_tl :: ForeignPtr Tensor -> Int64 -> IO Int64
size_tl = 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 Int64
Unmanaged.size_tl
size_tn
:: ForeignPtr Tensor
-> ForeignPtr Dimname
-> IO (Int64)
size_tn :: ForeignPtr Tensor -> ForeignPtr Dimname -> IO Int64
size_tn = 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 Int64
Unmanaged.size_tn