
-- generated by using spec/Declarations.yaml

{-# LANGUAGE DataKinds #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE OverloadedStrings #-}

module Torch.Internal.Managed.Native.Native9 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.Native9 as Unmanaged


nll_loss_tttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> IO (ForeignPtr Tensor)
nll_loss_tttll = _cast5 Unmanaged.nll_loss_tttll

nll_loss_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
nll_loss_tttl = _cast4 Unmanaged.nll_loss_tttl

nll_loss_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss_ttt = _cast3 Unmanaged.nll_loss_ttt

nll_loss_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss_tt = _cast2 Unmanaged.nll_loss_tt

nll_loss_forward_out_tttttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
nll_loss_forward_out_tttttll = _cast7 Unmanaged.nll_loss_forward_out_tttttll

nll_loss_forward_tttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
nll_loss_forward_tttll = _cast5 Unmanaged.nll_loss_forward_tttll

nll_loss_backward_out_tttttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss_backward_out_tttttllt = _cast8 Unmanaged.nll_loss_backward_out_tttttllt

nll_loss_backward_ttttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss_backward_ttttllt = _cast7 Unmanaged.nll_loss_backward_ttttllt

nll_loss2d_out_ttttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> IO (ForeignPtr Tensor)
nll_loss2d_out_ttttll = _cast6 Unmanaged.nll_loss2d_out_ttttll

nll_loss2d_out_ttttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
nll_loss2d_out_ttttl = _cast5 Unmanaged.nll_loss2d_out_ttttl

nll_loss2d_out_tttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss2d_out_tttt = _cast4 Unmanaged.nll_loss2d_out_tttt

nll_loss2d_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss2d_out_ttt = _cast3 Unmanaged.nll_loss2d_out_ttt

nll_loss2d_tttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> IO (ForeignPtr Tensor)
nll_loss2d_tttll = _cast5 Unmanaged.nll_loss2d_tttll

nll_loss2d_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
nll_loss2d_tttl = _cast4 Unmanaged.nll_loss2d_tttl

nll_loss2d_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss2d_ttt = _cast3 Unmanaged.nll_loss2d_ttt

nll_loss2d_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss2d_tt = _cast2 Unmanaged.nll_loss2d_tt

nll_loss2d_forward_out_tttttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
nll_loss2d_forward_out_tttttll = _cast7 Unmanaged.nll_loss2d_forward_out_tttttll

nll_loss2d_forward_tttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
nll_loss2d_forward_tttll = _cast5 Unmanaged.nll_loss2d_forward_tttll

nll_loss2d_backward_out_tttttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss2d_backward_out_tttttllt = _cast8 Unmanaged.nll_loss2d_backward_out_tttttllt

nll_loss2d_backward_ttttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> Int64
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
nll_loss2d_backward_ttttllt = _cast7 Unmanaged.nll_loss2d_backward_ttttllt

smooth_l1_loss_out_tttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_out_tttld = _cast5 Unmanaged.smooth_l1_loss_out_tttld

smooth_l1_loss_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_out_tttl = _cast4 Unmanaged.smooth_l1_loss_out_tttl

smooth_l1_loss_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_out_ttt = _cast3 Unmanaged.smooth_l1_loss_out_ttt

smooth_l1_loss_ttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_ttld = _cast4 Unmanaged.smooth_l1_loss_ttld

smooth_l1_loss_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_ttl = _cast3 Unmanaged.smooth_l1_loss_ttl

smooth_l1_loss_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_tt = _cast2 Unmanaged.smooth_l1_loss_tt

smooth_l1_loss_backward_out_ttttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_backward_out_ttttld = _cast6 Unmanaged.smooth_l1_loss_backward_out_ttttld

smooth_l1_loss_backward_tttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
smooth_l1_loss_backward_tttld = _cast5 Unmanaged.smooth_l1_loss_backward_tttld

huber_loss_out_tttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
huber_loss_out_tttld = _cast5 Unmanaged.huber_loss_out_tttld

huber_loss_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
huber_loss_out_tttl = _cast4 Unmanaged.huber_loss_out_tttl

huber_loss_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
huber_loss_out_ttt = _cast3 Unmanaged.huber_loss_out_ttt

huber_loss_ttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
huber_loss_ttld = _cast4 Unmanaged.huber_loss_ttld

huber_loss_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
huber_loss_ttl = _cast3 Unmanaged.huber_loss_ttl

huber_loss_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
huber_loss_tt = _cast2 Unmanaged.huber_loss_tt

huber_loss_backward_out_ttttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
huber_loss_backward_out_ttttld = _cast6 Unmanaged.huber_loss_backward_out_ttttld

huber_loss_backward_tttld
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
huber_loss_backward_tttld = _cast5 Unmanaged.huber_loss_backward_tttld

soft_margin_loss_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
soft_margin_loss_out_tttl = _cast4 Unmanaged.soft_margin_loss_out_tttl

soft_margin_loss_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
soft_margin_loss_out_ttt = _cast3 Unmanaged.soft_margin_loss_out_ttt

soft_margin_loss_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
soft_margin_loss_ttl = _cast3 Unmanaged.soft_margin_loss_ttl

soft_margin_loss_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
soft_margin_loss_tt = _cast2 Unmanaged.soft_margin_loss_tt

soft_margin_loss_backward_out_ttttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
soft_margin_loss_backward_out_ttttl = _cast5 Unmanaged.soft_margin_loss_backward_out_ttttl

soft_margin_loss_backward_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
soft_margin_loss_backward_tttl = _cast4 Unmanaged.soft_margin_loss_backward_tttl

elu_out_ttsss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu_out_ttsss = _cast5 Unmanaged.elu_out_ttsss

elu_out_ttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu_out_ttss = _cast4 Unmanaged.elu_out_ttss

elu_out_tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu_out_tts = _cast3 Unmanaged.elu_out_tts

elu_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
elu_out_tt = _cast2 Unmanaged.elu_out_tt

elu_tsss
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu_tsss = _cast4 Unmanaged.elu_tsss

elu_tss
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu_tss = _cast3 Unmanaged.elu_tss

elu_ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu_ts = _cast2 Unmanaged.elu_ts

elu_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
elu_t = _cast1 Unmanaged.elu_t

elu_backward_out_ttsssbt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
elu_backward_out_ttsssbt = _cast7 Unmanaged.elu_backward_out_ttsssbt

elu_backward_tsssbt
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
elu_backward_tsssbt = _cast6 Unmanaged.elu_backward_tsssbt

elu__tsss
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu__tsss = _cast4 Unmanaged.elu__tsss

elu__tss
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu__tss = _cast3 Unmanaged.elu__tss

elu__ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
elu__ts = _cast2 Unmanaged.elu__ts

elu__t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
elu__t = _cast1 Unmanaged.elu__t

glu_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
glu_out_ttl = _cast3 Unmanaged.glu_out_ttl

glu_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
glu_out_tt = _cast2 Unmanaged.glu_out_tt

glu_tl
  :: ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
glu_tl = _cast2 Unmanaged.glu_tl

glu_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
glu_t = _cast1 Unmanaged.glu_t

glu_backward_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
glu_backward_out_tttl = _cast4 Unmanaged.glu_backward_out_tttl

glu_backward_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
glu_backward_ttl = _cast3 Unmanaged.glu_backward_ttl

glu_jvp_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
glu_jvp_tttl = _cast4 Unmanaged.glu_jvp_tttl

glu_backward_jvp_tttttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> Int64
  -> IO (ForeignPtr Tensor)
glu_backward_jvp_tttttl = _cast6 Unmanaged.glu_backward_jvp_tttttl

hardsigmoid_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardsigmoid_out_tt = _cast2 Unmanaged.hardsigmoid_out_tt

hardsigmoid_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardsigmoid_t = _cast1 Unmanaged.hardsigmoid_t

hardsigmoid__t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardsigmoid__t = _cast1 Unmanaged.hardsigmoid__t

hardsigmoid_backward_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardsigmoid_backward_out_ttt = _cast3 Unmanaged.hardsigmoid_backward_out_ttt

hardsigmoid_backward_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardsigmoid_backward_tt = _cast2 Unmanaged.hardsigmoid_backward_tt

hardtanh_out_ttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh_out_ttss = _cast4 Unmanaged.hardtanh_out_ttss

hardtanh_out_tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh_out_tts = _cast3 Unmanaged.hardtanh_out_tts

hardtanh_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardtanh_out_tt = _cast2 Unmanaged.hardtanh_out_tt

hardtanh_tss
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh_tss = _cast3 Unmanaged.hardtanh_tss

hardtanh_ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh_ts = _cast2 Unmanaged.hardtanh_ts

hardtanh_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardtanh_t = _cast1 Unmanaged.hardtanh_t

hardtanh_backward_out_tttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh_backward_out_tttss = _cast5 Unmanaged.hardtanh_backward_out_tttss

hardtanh_backward_ttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh_backward_ttss = _cast4 Unmanaged.hardtanh_backward_ttss

hardtanh__tss
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh__tss = _cast3 Unmanaged.hardtanh__tss

hardtanh__ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
hardtanh__ts = _cast2 Unmanaged.hardtanh__ts

hardtanh__t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardtanh__t = _cast1 Unmanaged.hardtanh__t

hardswish_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardswish_out_tt = _cast2 Unmanaged.hardswish_out_tt

hardswish_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardswish_t = _cast1 Unmanaged.hardswish_t

hardswish__t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardswish__t = _cast1 Unmanaged.hardswish__t

hardswish_backward_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
hardswish_backward_tt = _cast2 Unmanaged.hardswish_backward_tt

leaky_relu_out_tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
leaky_relu_out_tts = _cast3 Unmanaged.leaky_relu_out_tts

leaky_relu_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
leaky_relu_out_tt = _cast2 Unmanaged.leaky_relu_out_tt

leaky_relu_ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
leaky_relu_ts = _cast2 Unmanaged.leaky_relu_ts

leaky_relu_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
leaky_relu_t = _cast1 Unmanaged.leaky_relu_t

leaky_relu_backward_out_tttsb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> CBool
  -> IO (ForeignPtr Tensor)
leaky_relu_backward_out_tttsb = _cast5 Unmanaged.leaky_relu_backward_out_tttsb

leaky_relu_backward_ttsb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> CBool
  -> IO (ForeignPtr Tensor)
leaky_relu_backward_ttsb = _cast4 Unmanaged.leaky_relu_backward_ttsb

leaky_relu__ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
leaky_relu__ts = _cast2 Unmanaged.leaky_relu__ts

leaky_relu__t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
leaky_relu__t = _cast1 Unmanaged.leaky_relu__t

log_sigmoid_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
log_sigmoid_out_tt = _cast2 Unmanaged.log_sigmoid_out_tt

log_sigmoid_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
log_sigmoid_t = _cast1 Unmanaged.log_sigmoid_t

log_sigmoid_forward_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
log_sigmoid_forward_out_ttt = _cast3 Unmanaged.log_sigmoid_forward_out_ttt

log_sigmoid_forward_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
log_sigmoid_forward_t = _cast1 Unmanaged.log_sigmoid_forward_t

log_sigmoid_backward_out_tttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
log_sigmoid_backward_out_tttt = _cast4 Unmanaged.log_sigmoid_backward_out_tttt

log_sigmoid_backward_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
log_sigmoid_backward_ttt = _cast3 Unmanaged.log_sigmoid_backward_ttt

rrelu_with_noise_out_tttssbG
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> ForeignPtr Generator
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_out_tttssbG = _cast7 Unmanaged.rrelu_with_noise_out_tttssbG

rrelu_with_noise_out_tttssb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_out_tttssb = _cast6 Unmanaged.rrelu_with_noise_out_tttssb

rrelu_with_noise_out_tttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_out_tttss = _cast5 Unmanaged.rrelu_with_noise_out_tttss

rrelu_with_noise_out_ttts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_out_ttts = _cast4 Unmanaged.rrelu_with_noise_out_ttts

rrelu_with_noise_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_out_ttt = _cast3 Unmanaged.rrelu_with_noise_out_ttt

rrelu_with_noise_ttssbG
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> ForeignPtr Generator
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_ttssbG = _cast6 Unmanaged.rrelu_with_noise_ttssbG

rrelu_with_noise_ttssb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_ttssb = _cast5 Unmanaged.rrelu_with_noise_ttssb

rrelu_with_noise_ttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_ttss = _cast4 Unmanaged.rrelu_with_noise_ttss

rrelu_with_noise_tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_tts = _cast3 Unmanaged.rrelu_with_noise_tts

rrelu_with_noise_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_tt = _cast2 Unmanaged.rrelu_with_noise_tt

rrelu_with_noise_backward_tttssbb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> CBool
  -> IO (ForeignPtr Tensor)
rrelu_with_noise_backward_tttssbb = _cast7 Unmanaged.rrelu_with_noise_backward_tttssbb

rrelu_with_noise__ttssbG
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> ForeignPtr Generator
  -> IO (ForeignPtr Tensor)
rrelu_with_noise__ttssbG = _cast6 Unmanaged.rrelu_with_noise__ttssbG

rrelu_with_noise__ttssb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> CBool
  -> IO (ForeignPtr Tensor)
rrelu_with_noise__ttssb = _cast5 Unmanaged.rrelu_with_noise__ttssb

rrelu_with_noise__ttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
rrelu_with_noise__ttss = _cast4 Unmanaged.rrelu_with_noise__ttss

rrelu_with_noise__tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
rrelu_with_noise__tts = _cast3 Unmanaged.rrelu_with_noise__tts

rrelu_with_noise__tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
rrelu_with_noise__tt = _cast2 Unmanaged.rrelu_with_noise__tt

softplus_out_ttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softplus_out_ttss = _cast4 Unmanaged.softplus_out_ttss

softplus_out_tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softplus_out_tts = _cast3 Unmanaged.softplus_out_tts

softplus_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
softplus_out_tt = _cast2 Unmanaged.softplus_out_tt

softplus_tss
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softplus_tss = _cast3 Unmanaged.softplus_tss

softplus_ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softplus_ts = _cast2 Unmanaged.softplus_ts

softplus_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
softplus_t = _cast1 Unmanaged.softplus_t

softplus_backward_out_tttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softplus_backward_out_tttss = _cast5 Unmanaged.softplus_backward_out_tttss

softplus_backward_ttss
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softplus_backward_ttss = _cast4 Unmanaged.softplus_backward_ttss

softshrink_out_tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softshrink_out_tts = _cast3 Unmanaged.softshrink_out_tts

softshrink_out_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
softshrink_out_tt = _cast2 Unmanaged.softshrink_out_tt

softshrink_ts
  :: ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softshrink_ts = _cast2 Unmanaged.softshrink_ts

softshrink_t
  :: ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
softshrink_t = _cast1 Unmanaged.softshrink_t

softshrink_backward_out_ttts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softshrink_backward_out_ttts = _cast4 Unmanaged.softshrink_backward_out_ttts

softshrink_backward_tts
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Scalar
  -> IO (ForeignPtr Tensor)
softshrink_backward_tts = _cast3 Unmanaged.softshrink_backward_tts

adaptive_avg_pool2d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
adaptive_avg_pool2d_out_ttl = _cast3 Unmanaged.adaptive_avg_pool2d_out_ttl

adaptive_avg_pool2d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
adaptive_avg_pool2d_tl = _cast2 Unmanaged.adaptive_avg_pool2d_tl

mkldnn_adaptive_avg_pool2d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
mkldnn_adaptive_avg_pool2d_tl = _cast2 Unmanaged.mkldnn_adaptive_avg_pool2d_tl

mkldnn_adaptive_avg_pool2d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
mkldnn_adaptive_avg_pool2d_out_ttl = _cast3 Unmanaged.mkldnn_adaptive_avg_pool2d_out_ttl

mkldnn_adaptive_avg_pool2d_backward_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
mkldnn_adaptive_avg_pool2d_backward_tt = _cast2 Unmanaged.mkldnn_adaptive_avg_pool2d_backward_tt

_adaptive_avg_pool2d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
_adaptive_avg_pool2d_tl = _cast2 Unmanaged._adaptive_avg_pool2d_tl

_adaptive_avg_pool2d_backward_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
_adaptive_avg_pool2d_backward_tt = _cast2 Unmanaged._adaptive_avg_pool2d_backward_tt

adaptive_avg_pool3d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
adaptive_avg_pool3d_out_ttl = _cast3 Unmanaged.adaptive_avg_pool3d_out_ttl

adaptive_avg_pool3d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
adaptive_avg_pool3d_tl = _cast2 Unmanaged.adaptive_avg_pool3d_tl

_adaptive_avg_pool3d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
_adaptive_avg_pool3d_tl = _cast2 Unmanaged._adaptive_avg_pool3d_tl

adaptive_avg_pool3d_backward_out_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
adaptive_avg_pool3d_backward_out_ttt = _cast3 Unmanaged.adaptive_avg_pool3d_backward_out_ttt

_adaptive_avg_pool3d_backward_tt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
_adaptive_avg_pool3d_backward_tt = _cast2 Unmanaged._adaptive_avg_pool3d_backward_tt

adaptive_max_pool2d_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
adaptive_max_pool2d_out_tttl = _cast4 Unmanaged.adaptive_max_pool2d_out_tttl

adaptive_max_pool2d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
adaptive_max_pool2d_tl = _cast2 Unmanaged.adaptive_max_pool2d_tl

adaptive_max_pool2d_backward_out_tttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
adaptive_max_pool2d_backward_out_tttt = _cast4 Unmanaged.adaptive_max_pool2d_backward_out_tttt

adaptive_max_pool2d_backward_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
adaptive_max_pool2d_backward_ttt = _cast3 Unmanaged.adaptive_max_pool2d_backward_ttt

adaptive_max_pool3d_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
adaptive_max_pool3d_out_tttl = _cast4 Unmanaged.adaptive_max_pool3d_out_tttl

adaptive_max_pool3d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
adaptive_max_pool3d_tl = _cast2 Unmanaged.adaptive_max_pool3d_tl

adaptive_max_pool3d_backward_out_tttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
adaptive_max_pool3d_backward_out_tttt = _cast4 Unmanaged.adaptive_max_pool3d_backward_out_tttt

adaptive_max_pool3d_backward_ttt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
adaptive_max_pool3d_backward_ttt = _cast3 Unmanaged.adaptive_max_pool3d_backward_ttt

avg_pool2d_out_ttlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool2d_out_ttlllbbl = _cast8 Unmanaged.avg_pool2d_out_ttlllbbl

avg_pool2d_out_ttlllbb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool2d_out_ttlllbb = _cast7 Unmanaged.avg_pool2d_out_ttlllbb

avg_pool2d_out_ttlllb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool2d_out_ttlllb = _cast6 Unmanaged.avg_pool2d_out_ttlllb

avg_pool2d_out_ttlll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool2d_out_ttlll = _cast5 Unmanaged.avg_pool2d_out_ttlll

avg_pool2d_out_ttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool2d_out_ttll = _cast4 Unmanaged.avg_pool2d_out_ttll

avg_pool2d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool2d_out_ttl = _cast3 Unmanaged.avg_pool2d_out_ttl

avg_pool2d_tlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool2d_tlllbbl = _cast7 Unmanaged.avg_pool2d_tlllbbl

avg_pool2d_tlllbb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool2d_tlllbb = _cast6 Unmanaged.avg_pool2d_tlllbb

avg_pool2d_tlllb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool2d_tlllb = _cast5 Unmanaged.avg_pool2d_tlllb

avg_pool2d_tlll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool2d_tlll = _cast4 Unmanaged.avg_pool2d_tlll

avg_pool2d_tll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool2d_tll = _cast3 Unmanaged.avg_pool2d_tll

avg_pool2d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool2d_tl = _cast2 Unmanaged.avg_pool2d_tl

avg_pool2d_backward_out_tttlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool2d_backward_out_tttlllbbl = _cast9 Unmanaged.avg_pool2d_backward_out_tttlllbbl

avg_pool2d_backward_ttlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool2d_backward_ttlllbbl = _cast8 Unmanaged.avg_pool2d_backward_ttlllbbl

avg_pool3d_out_ttlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool3d_out_ttlllbbl = _cast8 Unmanaged.avg_pool3d_out_ttlllbbl

avg_pool3d_out_ttlllbb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool3d_out_ttlllbb = _cast7 Unmanaged.avg_pool3d_out_ttlllbb

avg_pool3d_out_ttlllb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool3d_out_ttlllb = _cast6 Unmanaged.avg_pool3d_out_ttlllb

avg_pool3d_out_ttlll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool3d_out_ttlll = _cast5 Unmanaged.avg_pool3d_out_ttlll

avg_pool3d_out_ttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool3d_out_ttll = _cast4 Unmanaged.avg_pool3d_out_ttll

avg_pool3d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool3d_out_ttl = _cast3 Unmanaged.avg_pool3d_out_ttl

avg_pool3d_tlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool3d_tlllbbl = _cast7 Unmanaged.avg_pool3d_tlllbbl

avg_pool3d_tlllbb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool3d_tlllbb = _cast6 Unmanaged.avg_pool3d_tlllbb

avg_pool3d_tlllb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
avg_pool3d_tlllb = _cast5 Unmanaged.avg_pool3d_tlllb

avg_pool3d_tlll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool3d_tlll = _cast4 Unmanaged.avg_pool3d_tlll

avg_pool3d_tll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool3d_tll = _cast3 Unmanaged.avg_pool3d_tll

avg_pool3d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
avg_pool3d_tl = _cast2 Unmanaged.avg_pool3d_tl

avg_pool3d_backward_out_tttlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool3d_backward_out_tttlllbbl = _cast9 Unmanaged.avg_pool3d_backward_out_tttlllbbl

avg_pool3d_backward_ttlllbbl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CBool
  -> Int64
  -> IO (ForeignPtr Tensor)
avg_pool3d_backward_ttlllbbl = _cast8 Unmanaged.avg_pool3d_backward_ttlllbbl

fractional_max_pool2d_out_tttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
fractional_max_pool2d_out_tttllt = _cast6 Unmanaged.fractional_max_pool2d_out_tttllt

fractional_max_pool2d_tllt
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
fractional_max_pool2d_tllt = _cast4 Unmanaged.fractional_max_pool2d_tllt

fractional_max_pool2d_backward_out_tttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
fractional_max_pool2d_backward_out_tttllt = _cast6 Unmanaged.fractional_max_pool2d_backward_out_tttllt

fractional_max_pool2d_backward_ttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
fractional_max_pool2d_backward_ttllt = _cast5 Unmanaged.fractional_max_pool2d_backward_ttllt

fractional_max_pool3d_out_tttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
fractional_max_pool3d_out_tttllt = _cast6 Unmanaged.fractional_max_pool3d_out_tttllt

fractional_max_pool3d_tllt
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
fractional_max_pool3d_tllt = _cast4 Unmanaged.fractional_max_pool3d_tllt

fractional_max_pool3d_backward_out_tttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
fractional_max_pool3d_backward_out_tttllt = _cast6 Unmanaged.fractional_max_pool3d_backward_out_tttllt

fractional_max_pool3d_backward_ttllt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
fractional_max_pool3d_backward_ttllt = _cast5 Unmanaged.fractional_max_pool3d_backward_ttllt

max_pool2d_with_indices_out_tttllllb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_out_tttllllb = _cast8 Unmanaged.max_pool2d_with_indices_out_tttllllb

max_pool2d_with_indices_out_tttllll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_out_tttllll = _cast7 Unmanaged.max_pool2d_with_indices_out_tttllll

max_pool2d_with_indices_out_tttlll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_out_tttlll = _cast6 Unmanaged.max_pool2d_with_indices_out_tttlll

max_pool2d_with_indices_out_tttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_out_tttll = _cast5 Unmanaged.max_pool2d_with_indices_out_tttll

max_pool2d_with_indices_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_out_tttl = _cast4 Unmanaged.max_pool2d_with_indices_out_tttl

max_pool2d_with_indices_tllllb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_tllllb = _cast6 Unmanaged.max_pool2d_with_indices_tllllb

max_pool2d_with_indices_tllll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_tllll = _cast5 Unmanaged.max_pool2d_with_indices_tllll

max_pool2d_with_indices_tlll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_tlll = _cast4 Unmanaged.max_pool2d_with_indices_tlll

max_pool2d_with_indices_tll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_tll = _cast3 Unmanaged.max_pool2d_with_indices_tll

max_pool2d_with_indices_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool2d_with_indices_tl = _cast2 Unmanaged.max_pool2d_with_indices_tl

max_pool2d_with_indices_backward_out_tttllllbt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
max_pool2d_with_indices_backward_out_tttllllbt = _cast9 Unmanaged.max_pool2d_with_indices_backward_out_tttllllbt

max_pool2d_with_indices_backward_ttllllbt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
max_pool2d_with_indices_backward_ttllllbt = _cast8 Unmanaged.max_pool2d_with_indices_backward_ttllllbt

max_pool3d_with_indices_out_tttllllb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_out_tttllllb = _cast8 Unmanaged.max_pool3d_with_indices_out_tttllllb

max_pool3d_with_indices_out_tttllll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_out_tttllll = _cast7 Unmanaged.max_pool3d_with_indices_out_tttllll

max_pool3d_with_indices_out_tttlll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_out_tttlll = _cast6 Unmanaged.max_pool3d_with_indices_out_tttlll

max_pool3d_with_indices_out_tttll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_out_tttll = _cast5 Unmanaged.max_pool3d_with_indices_out_tttll

max_pool3d_with_indices_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_out_tttl = _cast4 Unmanaged.max_pool3d_with_indices_out_tttl

max_pool3d_with_indices_tllllb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_tllllb = _cast6 Unmanaged.max_pool3d_with_indices_tllllb

max_pool3d_with_indices_tllll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_tllll = _cast5 Unmanaged.max_pool3d_with_indices_tllll

max_pool3d_with_indices_tlll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_tlll = _cast4 Unmanaged.max_pool3d_with_indices_tlll

max_pool3d_with_indices_tll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_tll = _cast3 Unmanaged.max_pool3d_with_indices_tll

max_pool3d_with_indices_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr (StdTuple '(Tensor,Tensor)))
max_pool3d_with_indices_tl = _cast2 Unmanaged.max_pool3d_with_indices_tl

max_pool3d_with_indices_backward_out_tttllllbt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
max_pool3d_with_indices_backward_out_tttllllbt = _cast9 Unmanaged.max_pool3d_with_indices_backward_out_tttllllbt

max_pool3d_with_indices_backward_ttllllbt
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr Tensor
  -> IO (ForeignPtr Tensor)
max_pool3d_with_indices_backward_ttllllbt = _cast8 Unmanaged.max_pool3d_with_indices_backward_ttllllbt

max_unpool2d_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
max_unpool2d_out_tttl = _cast4 Unmanaged.max_unpool2d_out_tttl

max_unpool2d_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
max_unpool2d_ttl = _cast3 Unmanaged.max_unpool2d_ttl

max_unpool3d_out_tttlll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
max_unpool3d_out_tttlll = _cast6 Unmanaged.max_unpool3d_out_tttlll

max_unpool3d_ttlll
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
max_unpool3d_ttlll = _cast5 Unmanaged.max_unpool3d_ttlll

reflection_pad1d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad1d_out_ttl = _cast3 Unmanaged.reflection_pad1d_out_ttl

reflection_pad1d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad1d_tl = _cast2 Unmanaged.reflection_pad1d_tl

reflection_pad1d_backward_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad1d_backward_out_tttl = _cast4 Unmanaged.reflection_pad1d_backward_out_tttl

reflection_pad1d_backward_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad1d_backward_ttl = _cast3 Unmanaged.reflection_pad1d_backward_ttl

reflection_pad2d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad2d_out_ttl = _cast3 Unmanaged.reflection_pad2d_out_ttl

reflection_pad2d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad2d_tl = _cast2 Unmanaged.reflection_pad2d_tl

reflection_pad2d_backward_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad2d_backward_out_tttl = _cast4 Unmanaged.reflection_pad2d_backward_out_tttl

reflection_pad2d_backward_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad2d_backward_ttl = _cast3 Unmanaged.reflection_pad2d_backward_ttl

reflection_pad3d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad3d_out_ttl = _cast3 Unmanaged.reflection_pad3d_out_ttl

reflection_pad3d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad3d_tl = _cast2 Unmanaged.reflection_pad3d_tl

reflection_pad3d_backward_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad3d_backward_out_tttl = _cast4 Unmanaged.reflection_pad3d_backward_out_tttl

reflection_pad3d_backward_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
reflection_pad3d_backward_ttl = _cast3 Unmanaged.reflection_pad3d_backward_ttl

replication_pad1d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad1d_out_ttl = _cast3 Unmanaged.replication_pad1d_out_ttl

replication_pad1d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad1d_tl = _cast2 Unmanaged.replication_pad1d_tl

replication_pad1d_backward_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad1d_backward_out_tttl = _cast4 Unmanaged.replication_pad1d_backward_out_tttl

replication_pad1d_backward_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad1d_backward_ttl = _cast3 Unmanaged.replication_pad1d_backward_ttl

replication_pad2d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad2d_out_ttl = _cast3 Unmanaged.replication_pad2d_out_ttl

replication_pad2d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad2d_tl = _cast2 Unmanaged.replication_pad2d_tl

replication_pad2d_backward_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad2d_backward_out_tttl = _cast4 Unmanaged.replication_pad2d_backward_out_tttl

replication_pad2d_backward_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad2d_backward_ttl = _cast3 Unmanaged.replication_pad2d_backward_ttl

replication_pad3d_out_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad3d_out_ttl = _cast3 Unmanaged.replication_pad3d_out_ttl

replication_pad3d_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad3d_tl = _cast2 Unmanaged.replication_pad3d_tl

replication_pad3d_backward_out_tttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad3d_backward_out_tttl = _cast4 Unmanaged.replication_pad3d_backward_out_tttl

replication_pad3d_backward_ttl
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
replication_pad3d_backward_ttl = _cast3 Unmanaged.replication_pad3d_backward_ttl

_pad_circular_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
_pad_circular_tl = _cast2 Unmanaged._pad_circular_tl

_pad_enum_tlld
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> Int64
  -> CDouble
  -> IO (ForeignPtr Tensor)
_pad_enum_tlld = _cast4 Unmanaged._pad_enum_tlld

_pad_enum_tll
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> Int64
  -> IO (ForeignPtr Tensor)
_pad_enum_tll = _cast3 Unmanaged._pad_enum_tll

pad_tlsd
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr StdString
  -> CDouble
  -> IO (ForeignPtr Tensor)
pad_tlsd = _cast4 Unmanaged.pad_tlsd

pad_tls
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr StdString
  -> IO (ForeignPtr Tensor)
pad_tls = _cast3 Unmanaged.pad_tls

pad_tl
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> IO (ForeignPtr Tensor)
pad_tl = _cast2 Unmanaged.pad_tl

upsample_linear1d_tlba
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
upsample_linear1d_tlba = _cast4 Unmanaged.upsample_linear1d_tlba

upsample_bilinear2d_tlba
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_tlba = _cast4 Unmanaged.upsample_bilinear2d_tlba

_upsample_bilinear2d_aa_tlba
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_tlba = _cast4 Unmanaged._upsample_bilinear2d_aa_tlba

upsample_trilinear3d_tlba
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
upsample_trilinear3d_tlba = _cast4 Unmanaged.upsample_trilinear3d_tlba

upsample_bicubic2d_tlba
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
upsample_bicubic2d_tlba = _cast4 Unmanaged.upsample_bicubic2d_tlba

_upsample_bicubic2d_aa_tlba
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
_upsample_bicubic2d_aa_tlba = _cast4 Unmanaged._upsample_bicubic2d_aa_tlba

upsample_nearest1d_tla
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
upsample_nearest1d_tla = _cast3 Unmanaged.upsample_nearest1d_tla

_upsample_nearest_exact1d_tla
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
_upsample_nearest_exact1d_tla = _cast3 Unmanaged._upsample_nearest_exact1d_tla

upsample_nearest2d_tla
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
upsample_nearest2d_tla = _cast3 Unmanaged.upsample_nearest2d_tla

_upsample_nearest_exact2d_tla
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
_upsample_nearest_exact2d_tla = _cast3 Unmanaged._upsample_nearest_exact2d_tla

upsample_nearest3d_tla
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
upsample_nearest3d_tla = _cast3 Unmanaged.upsample_nearest3d_tla

_upsample_nearest_exact3d_tla
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr (StdVector CDouble)
  -> IO (ForeignPtr Tensor)
_upsample_nearest_exact3d_tla = _cast3 Unmanaged._upsample_nearest_exact3d_tla

upsample_linear1d_out_ttlbd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_linear1d_out_ttlbd = _cast5 Unmanaged.upsample_linear1d_out_ttlbd

upsample_linear1d_out_ttlb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_linear1d_out_ttlb = _cast4 Unmanaged.upsample_linear1d_out_ttlb

upsample_linear1d_tlb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_linear1d_tlb = _cast3 Unmanaged.upsample_linear1d_tlb

upsample_linear1d_backward_out_ttllbd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_linear1d_backward_out_ttllbd = _cast6 Unmanaged.upsample_linear1d_backward_out_ttllbd

upsample_linear1d_backward_out_ttllb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_linear1d_backward_out_ttllb = _cast5 Unmanaged.upsample_linear1d_backward_out_ttllb

upsample_linear1d_backward_tllb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_linear1d_backward_tllb = _cast4 Unmanaged.upsample_linear1d_backward_tllb

upsample_bilinear2d_out_ttlbdd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_out_ttlbdd = _cast6 Unmanaged.upsample_bilinear2d_out_ttlbdd

-- upsample_bilinear2d_out_ttlbd
--   :: ForeignPtr Tensor
--   -> ForeignPtr Tensor
--   -> ForeignPtr IntArray
--   -> CBool
--   -> CDouble
--   -> IO (ForeignPtr Tensor)
-- upsample_bilinear2d_out_ttlbd = _cast5 Unmanaged.upsample_bilinear2d_out_ttlbd

upsample_bilinear2d_out_ttlb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_out_ttlb = _cast4 Unmanaged.upsample_bilinear2d_out_ttlb

upsample_bilinear2d_tlbdd
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_tlbdd = _cast5 Unmanaged.upsample_bilinear2d_tlbdd

upsample_bilinear2d_tlb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_tlb = _cast3 Unmanaged.upsample_bilinear2d_tlb

upsample_bilinear2d_backward_out_ttllbdd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_backward_out_ttllbdd = _cast7 Unmanaged.upsample_bilinear2d_backward_out_ttllbdd

upsample_bilinear2d_backward_out_ttllbd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_backward_out_ttllbd = _cast6 Unmanaged.upsample_bilinear2d_backward_out_ttllbd

upsample_bilinear2d_backward_out_ttllb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_backward_out_ttllb = _cast5 Unmanaged.upsample_bilinear2d_backward_out_ttllb

upsample_bilinear2d_backward_tllbdd
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_backward_tllbdd = _cast6 Unmanaged.upsample_bilinear2d_backward_tllbdd

upsample_bilinear2d_backward_tllb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_bilinear2d_backward_tllb = _cast4 Unmanaged.upsample_bilinear2d_backward_tllb

_upsample_bilinear2d_aa_out_ttlbdd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_out_ttlbdd = _cast6 Unmanaged._upsample_bilinear2d_aa_out_ttlbdd

_upsample_bilinear2d_aa_out_ttlbd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_out_ttlbd = _cast5 Unmanaged._upsample_bilinear2d_aa_out_ttlbd

_upsample_bilinear2d_aa_out_ttlb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_out_ttlb = _cast4 Unmanaged._upsample_bilinear2d_aa_out_ttlb

_upsample_bilinear2d_aa_tlbdd
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_tlbdd = _cast5 Unmanaged._upsample_bilinear2d_aa_tlbdd

-- _upsample_bilinear2d_aa_tlbd
--   :: ForeignPtr Tensor
--   -> ForeignPtr IntArray
--   -> CBool
--   -> CDouble
--   -> IO (ForeignPtr Tensor)
-- _upsample_bilinear2d_aa_tlbd = _cast4 Unmanaged._upsample_bilinear2d_aa_tlbd

_upsample_bilinear2d_aa_tlb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_tlb = _cast3 Unmanaged._upsample_bilinear2d_aa_tlb

_upsample_bilinear2d_aa_backward_out_ttllbdd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_backward_out_ttllbdd = _cast7 Unmanaged._upsample_bilinear2d_aa_backward_out_ttllbdd

_upsample_bilinear2d_aa_backward_out_ttllbd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_backward_out_ttllbd = _cast6 Unmanaged._upsample_bilinear2d_aa_backward_out_ttllbd

_upsample_bilinear2d_aa_backward_out_ttllb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_backward_out_ttllb = _cast5 Unmanaged._upsample_bilinear2d_aa_backward_out_ttllb

_upsample_bilinear2d_aa_backward_tllbdd
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_backward_tllbdd = _cast6 Unmanaged._upsample_bilinear2d_aa_backward_tllbdd

_upsample_bilinear2d_aa_backward_tllbd
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_backward_tllbd = _cast5 Unmanaged._upsample_bilinear2d_aa_backward_tllbd

_upsample_bilinear2d_aa_backward_tllb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
_upsample_bilinear2d_aa_backward_tllb = _cast4 Unmanaged._upsample_bilinear2d_aa_backward_tllb

upsample_bicubic2d_out_ttlbdd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bicubic2d_out_ttlbdd = _cast6 Unmanaged.upsample_bicubic2d_out_ttlbdd

upsample_bicubic2d_out_ttlbd
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bicubic2d_out_ttlbd = _cast5 Unmanaged.upsample_bicubic2d_out_ttlbd

upsample_bicubic2d_out_ttlb
  :: ForeignPtr Tensor
  -> ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_bicubic2d_out_ttlb = _cast4 Unmanaged.upsample_bicubic2d_out_ttlb

upsample_bicubic2d_tlbdd
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> CDouble
  -> CDouble
  -> IO (ForeignPtr Tensor)
upsample_bicubic2d_tlbdd = _cast5 Unmanaged.upsample_bicubic2d_tlbdd

upsample_bicubic2d_tlb
  :: ForeignPtr Tensor
  -> ForeignPtr IntArray
  -> CBool
  -> IO (ForeignPtr Tensor)
upsample_bicubic2d_tlb = _cast3 Unmanaged.upsample_bicubic2d_tlb

