{-# LANGUAGE DataKinds #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-} module Torch.Internal.Unmanaged.Type.Tensor.Tensor3 where import qualified Language.C.Inline.Cpp as C import qualified Language.C.Inline.Cpp.Unsafe as C import qualified Language.C.Inline.Context as C import qualified Language.C.Types as C import qualified Data.Map as Map import Foreign.C.String import Foreign.C.Types import Foreign import Torch.Internal.Type C.context $ C.cppCtx <> mempty { C.ctxTypesTable = typeTable } C.include "<ATen/Tensor.h>" C.include "<ATen/Functions.h>" C.include "<ATen/TensorOperators.h>" C.include "<vector>" tensor_bitwise_or_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_or_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_or_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_or( *$(at::Tensor* _other))); }|] tensor_bitwise_or__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_or__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_or__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_or_( *$(at::Scalar* _other))); }|] tensor_bitwise_or__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_or__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_or__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_or_( *$(at::Tensor* _other))); }|] tensor___or___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___or___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___or___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__or__( *$(at::Scalar* _other))); }|] tensor___or___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___or___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___or___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__or__( *$(at::Tensor* _other))); }|] tensor___ior___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___ior___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___ior___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__ior__( *$(at::Scalar* _other))); }|] tensor___ior___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___ior___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___ior___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__ior__( *$(at::Tensor* _other))); }|] tensor_bitwise_xor_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_xor_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_xor_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_xor( *$(at::Scalar* _other))); }|] tensor_bitwise_xor_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_xor_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_xor_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_xor( *$(at::Tensor* _other))); }|] tensor_bitwise_xor__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_xor__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_xor__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_xor_( *$(at::Scalar* _other))); }|] tensor_bitwise_xor__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_xor__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_xor__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_xor_( *$(at::Tensor* _other))); }|] tensor___xor___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___xor___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___xor___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__xor__( *$(at::Scalar* _other))); }|] tensor___xor___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___xor___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___xor___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__xor__( *$(at::Tensor* _other))); }|] tensor___ixor___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___ixor___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___ixor___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__ixor__( *$(at::Scalar* _other))); }|] tensor___ixor___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___ixor___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___ixor___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__ixor__( *$(at::Tensor* _other))); }|] tensor___lshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___lshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___lshift___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__lshift__( *$(at::Scalar* _other))); }|] tensor___lshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___lshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___lshift___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__lshift__( *$(at::Tensor* _other))); }|] tensor___ilshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___ilshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___ilshift___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__ilshift__( *$(at::Scalar* _other))); }|] tensor___ilshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___ilshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___ilshift___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__ilshift__( *$(at::Tensor* _other))); }|] tensor_bitwise_left_shift_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_left_shift_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_left_shift_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_left_shift( *$(at::Tensor* _other))); }|] tensor_bitwise_left_shift__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_left_shift__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_left_shift__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_left_shift_( *$(at::Tensor* _other))); }|] tensor_bitwise_left_shift_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_left_shift_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_left_shift_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_left_shift( *$(at::Scalar* _other))); }|] tensor_bitwise_left_shift__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_left_shift__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_left_shift__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_left_shift_( *$(at::Scalar* _other))); }|] tensor___rshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___rshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___rshift___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__rshift__( *$(at::Scalar* _other))); }|] tensor___rshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___rshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___rshift___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__rshift__( *$(at::Tensor* _other))); }|] tensor___irshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___irshift___s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor___irshift___s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__irshift__( *$(at::Scalar* _other))); }|] tensor___irshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___irshift___t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor___irshift___t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).__irshift__( *$(at::Tensor* _other))); }|] tensor_bitwise_right_shift_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_right_shift_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_right_shift_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_right_shift( *$(at::Tensor* _other))); }|] tensor_bitwise_right_shift__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_right_shift__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_bitwise_right_shift__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_right_shift_( *$(at::Tensor* _other))); }|] tensor_bitwise_right_shift_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_right_shift_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_right_shift_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_right_shift( *$(at::Scalar* _other))); }|] tensor_bitwise_right_shift__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_right_shift__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_bitwise_right_shift__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).bitwise_right_shift_( *$(at::Scalar* _other))); }|] tensor_tril__l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_tril__l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_tril__l Ptr Tensor _obj Int64 _diagonal = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).tril_( $(int64_t _diagonal))); }|] tensor_triu__l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_triu__l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_triu__l Ptr Tensor _obj Int64 _diagonal = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).triu_( $(int64_t _diagonal))); }|] tensor_digamma_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_digamma_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_digamma_ Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).digamma_( )); }|] tensor_lerp__ts :: Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lerp__ts :: Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lerp__ts Ptr Tensor _obj Ptr Tensor _end Ptr Scalar _weight = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lerp_( *$(at::Tensor* _end) , *$(at::Scalar* _weight))); }|] tensor_lerp__tt :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lerp__tt :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lerp__tt Ptr Tensor _obj Ptr Tensor _end Ptr Tensor _weight = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lerp_( *$(at::Tensor* _end) , *$(at::Tensor* _weight))); }|] tensor_addbmm__ttss :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor) tensor_addbmm__ttss :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor) tensor_addbmm__ttss Ptr Tensor _obj Ptr Tensor _batch1 Ptr Tensor _batch2 Ptr Scalar _beta Ptr Scalar _alpha = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).addbmm_( *$(at::Tensor* _batch1) , *$(at::Tensor* _batch2) , *$(at::Scalar* _beta) , *$(at::Scalar* _alpha))); }|] tensor_addbmm_ttss :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor) tensor_addbmm_ttss :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor) tensor_addbmm_ttss Ptr Tensor _obj Ptr Tensor _batch1 Ptr Tensor _batch2 Ptr Scalar _beta Ptr Scalar _alpha = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).addbmm( *$(at::Tensor* _batch1) , *$(at::Tensor* _batch2) , *$(at::Scalar* _beta) , *$(at::Scalar* _alpha))); }|] tensor_random__llG :: Ptr Tensor -> Int64 -> Int64 -> Ptr Generator -> IO (Ptr Tensor) tensor_random__llG :: Ptr Tensor -> Int64 -> Int64 -> Ptr Generator -> IO (Ptr Tensor) tensor_random__llG Ptr Tensor _obj Int64 _from Int64 _to Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).random_( $(int64_t _from) , $(int64_t _to) , *$(at::Generator* _generator))); }|] tensor_random__lG :: Ptr Tensor -> Int64 -> Ptr Generator -> IO (Ptr Tensor) tensor_random__lG :: Ptr Tensor -> Int64 -> Ptr Generator -> IO (Ptr Tensor) tensor_random__lG Ptr Tensor _obj Int64 _to Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).random_( $(int64_t _to) , *$(at::Generator* _generator))); }|] tensor_random__G :: Ptr Tensor -> Ptr Generator -> IO (Ptr Tensor) tensor_random__G :: Ptr Tensor -> Ptr Generator -> IO (Ptr Tensor) tensor_random__G Ptr Tensor _obj Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).random_( *$(at::Generator* _generator))); }|] tensor_uniform__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_uniform__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_uniform__ddG Ptr Tensor _obj CDouble _from CDouble _to Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).uniform_( $(double _from) , $(double _to) , *$(at::Generator* _generator))); }|] tensor_cauchy__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_cauchy__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_cauchy__ddG Ptr Tensor _obj CDouble _median CDouble _sigma Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).cauchy_( $(double _median) , $(double _sigma) , *$(at::Generator* _generator))); }|] tensor_log_normal__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_log_normal__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_log_normal__ddG Ptr Tensor _obj CDouble _mean CDouble _std Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).log_normal_( $(double _mean) , $(double _std) , *$(at::Generator* _generator))); }|] tensor_exponential__dG :: Ptr Tensor -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_exponential__dG :: Ptr Tensor -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_exponential__dG Ptr Tensor _obj CDouble _lambd Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).exponential_( $(double _lambd) , *$(at::Generator* _generator))); }|] tensor_geometric__dG :: Ptr Tensor -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_geometric__dG :: Ptr Tensor -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_geometric__dG Ptr Tensor _obj CDouble _p Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).geometric_( $(double _p) , *$(at::Generator* _generator))); }|] tensor_diag_l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_diag_l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_diag_l Ptr Tensor _obj Int64 _diagonal = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).diag( $(int64_t _diagonal))); }|] tensor_cross_tl :: Ptr Tensor -> Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_cross_tl :: Ptr Tensor -> Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_cross_tl Ptr Tensor _obj Ptr Tensor _other Int64 _dim = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).cross( *$(at::Tensor* _other) , $(int64_t _dim))); }|] tensor_triu_l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_triu_l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_triu_l Ptr Tensor _obj Int64 _diagonal = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).triu( $(int64_t _diagonal))); }|] tensor_tril_l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_tril_l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_tril_l Ptr Tensor _obj Int64 _diagonal = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).tril( $(int64_t _diagonal))); }|] tensor_trace :: Ptr Tensor -> IO (Ptr Tensor) tensor_trace :: Ptr Tensor -> IO (Ptr Tensor) tensor_trace Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).trace( )); }|] tensor_ne_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ne_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ne_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ne( *$(at::Scalar* _other))); }|] tensor_ne_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ne_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ne_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ne( *$(at::Tensor* _other))); }|] tensor_ne__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ne__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ne__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ne_( *$(at::Scalar* _other))); }|] tensor_ne__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ne__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ne__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ne_( *$(at::Tensor* _other))); }|] tensor_not_equal_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_not_equal_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_not_equal_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).not_equal( *$(at::Scalar* _other))); }|] tensor_not_equal_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_not_equal_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_not_equal_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).not_equal( *$(at::Tensor* _other))); }|] tensor_not_equal__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_not_equal__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_not_equal__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).not_equal_( *$(at::Scalar* _other))); }|] tensor_not_equal__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_not_equal__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_not_equal__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).not_equal_( *$(at::Tensor* _other))); }|] tensor_eq_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_eq_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_eq_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).eq( *$(at::Scalar* _other))); }|] tensor_eq_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_eq_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_eq_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).eq( *$(at::Tensor* _other))); }|] tensor_ge_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ge_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ge_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ge( *$(at::Scalar* _other))); }|] tensor_ge_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ge_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ge_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ge( *$(at::Tensor* _other))); }|] tensor_ge__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ge__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_ge__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ge_( *$(at::Scalar* _other))); }|] tensor_ge__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ge__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ge__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ge_( *$(at::Tensor* _other))); }|] tensor_greater_equal_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater_equal_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater_equal_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater_equal( *$(at::Scalar* _other))); }|] tensor_greater_equal_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater_equal_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater_equal_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater_equal( *$(at::Tensor* _other))); }|] tensor_greater_equal__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater_equal__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater_equal__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater_equal_( *$(at::Scalar* _other))); }|] tensor_greater_equal__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater_equal__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater_equal__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater_equal_( *$(at::Tensor* _other))); }|] tensor_le_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_le_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_le_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).le( *$(at::Scalar* _other))); }|] tensor_le_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_le_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_le_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).le( *$(at::Tensor* _other))); }|] tensor_le__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_le__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_le__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).le_( *$(at::Scalar* _other))); }|] tensor_le__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_le__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_le__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).le_( *$(at::Tensor* _other))); }|] tensor_less_equal_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less_equal_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less_equal_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less_equal( *$(at::Scalar* _other))); }|] tensor_less_equal_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less_equal_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less_equal_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less_equal( *$(at::Tensor* _other))); }|] tensor_less_equal__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less_equal__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less_equal__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less_equal_( *$(at::Scalar* _other))); }|] tensor_less_equal__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less_equal__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less_equal__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less_equal_( *$(at::Tensor* _other))); }|] tensor_gt_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_gt_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_gt_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).gt( *$(at::Scalar* _other))); }|] tensor_gt_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_gt_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_gt_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).gt( *$(at::Tensor* _other))); }|] tensor_gt__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_gt__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_gt__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).gt_( *$(at::Scalar* _other))); }|] tensor_gt__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_gt__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_gt__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).gt_( *$(at::Tensor* _other))); }|] tensor_greater_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater( *$(at::Scalar* _other))); }|] tensor_greater_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater( *$(at::Tensor* _other))); }|] tensor_greater__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_greater__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater_( *$(at::Scalar* _other))); }|] tensor_greater__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_greater__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).greater_( *$(at::Tensor* _other))); }|] tensor_lt_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lt_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lt_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lt( *$(at::Scalar* _other))); }|] tensor_lt_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lt_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lt_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lt( *$(at::Tensor* _other))); }|] tensor_lt__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lt__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lt__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lt_( *$(at::Scalar* _other))); }|] tensor_lt__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lt__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lt__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lt_( *$(at::Tensor* _other))); }|] tensor_less_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less( *$(at::Scalar* _other))); }|] tensor_less_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less( *$(at::Tensor* _other))); }|] tensor_less__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_less__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less_( *$(at::Scalar* _other))); }|] tensor_less__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_less__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).less_( *$(at::Tensor* _other))); }|] tensor_take_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_take_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_take_t Ptr Tensor _obj Ptr Tensor _index = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).take( *$(at::Tensor* _index))); }|] tensor_take_along_dim_tl :: Ptr Tensor -> Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_take_along_dim_tl :: Ptr Tensor -> Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_take_along_dim_tl Ptr Tensor _obj Ptr Tensor _indices Int64 _dim = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).take_along_dim( *$(at::Tensor* _indices) , $(int64_t _dim))); }|] tensor_index_select_lt :: Ptr Tensor -> Int64 -> Ptr Tensor -> IO (Ptr Tensor) tensor_index_select_lt :: Ptr Tensor -> Int64 -> Ptr Tensor -> IO (Ptr Tensor) tensor_index_select_lt Ptr Tensor _obj Int64 _dim Ptr Tensor _index = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).index_select( $(int64_t _dim) , *$(at::Tensor* _index))); }|] tensor_index_select_nt :: Ptr Tensor -> Ptr Dimname -> Ptr Tensor -> IO (Ptr Tensor) tensor_index_select_nt :: Ptr Tensor -> Ptr Dimname -> Ptr Tensor -> IO (Ptr Tensor) tensor_index_select_nt Ptr Tensor _obj Ptr Dimname _dim Ptr Tensor _index = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).index_select( *$(at::Dimname* _dim) , *$(at::Tensor* _index))); }|] tensor_masked_select_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_masked_select_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_masked_select_t Ptr Tensor _obj Ptr Tensor _mask = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).masked_select( *$(at::Tensor* _mask))); }|] tensor_nonzero :: Ptr Tensor -> IO (Ptr Tensor) tensor_nonzero :: Ptr Tensor -> IO (Ptr Tensor) tensor_nonzero Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).nonzero( )); }|] tensor_nonzero_numpy :: Ptr Tensor -> IO (Ptr TensorList) tensor_nonzero_numpy :: Ptr Tensor -> IO (Ptr TensorList) tensor_nonzero_numpy Ptr Tensor _obj = [C.throwBlock| std::vector<at::Tensor>* { return new std::vector<at::Tensor>((*$(at::Tensor* _obj)).nonzero_numpy( )); }|] tensor_argwhere :: Ptr Tensor -> IO (Ptr Tensor) tensor_argwhere :: Ptr Tensor -> IO (Ptr Tensor) tensor_argwhere Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).argwhere( )); }|] tensor_gather_ltb :: Ptr Tensor -> Int64 -> Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_gather_ltb :: Ptr Tensor -> Int64 -> Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_gather_ltb Ptr Tensor _obj Int64 _dim Ptr Tensor _index CBool _sparse_grad = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).gather( $(int64_t _dim) , *$(at::Tensor* _index) , $(bool _sparse_grad))); }|] tensor_gather_ntb :: Ptr Tensor -> Ptr Dimname -> Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_gather_ntb :: Ptr Tensor -> Ptr Dimname -> Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_gather_ntb Ptr Tensor _obj Ptr Dimname _dim Ptr Tensor _index CBool _sparse_grad = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).gather( *$(at::Dimname* _dim) , *$(at::Tensor* _index) , $(bool _sparse_grad))); }|] tensor_addcmul_tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcmul_tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcmul_tts Ptr Tensor _obj Ptr Tensor _tensor1 Ptr Tensor _tensor2 Ptr Scalar _value = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).addcmul( *$(at::Tensor* _tensor1) , *$(at::Tensor* _tensor2) , *$(at::Scalar* _value))); }|] tensor_addcmul__tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcmul__tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcmul__tts Ptr Tensor _obj Ptr Tensor _tensor1 Ptr Tensor _tensor2 Ptr Scalar _value = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).addcmul_( *$(at::Tensor* _tensor1) , *$(at::Tensor* _tensor2) , *$(at::Scalar* _value))); }|] tensor_addcdiv_tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcdiv_tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcdiv_tts Ptr Tensor _obj Ptr Tensor _tensor1 Ptr Tensor _tensor2 Ptr Scalar _value = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).addcdiv( *$(at::Tensor* _tensor1) , *$(at::Tensor* _tensor2) , *$(at::Scalar* _value))); }|] tensor_addcdiv__tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcdiv__tts :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_addcdiv__tts Ptr Tensor _obj Ptr Tensor _tensor1 Ptr Tensor _tensor2 Ptr Scalar _value = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).addcdiv_( *$(at::Tensor* _tensor1) , *$(at::Tensor* _tensor2) , *$(at::Scalar* _value))); }|] tensor_triangular_solve_tbbb :: Ptr Tensor -> Ptr Tensor -> CBool -> CBool -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_triangular_solve_tbbb :: Ptr Tensor -> Ptr Tensor -> CBool -> CBool -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_triangular_solve_tbbb Ptr Tensor _obj Ptr Tensor _A CBool _upper CBool _transpose CBool _unitriangular = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).triangular_solve( *$(at::Tensor* _A) , $(bool _upper) , $(bool _transpose) , $(bool _unitriangular))); }|] tensor_svd_bb :: Ptr Tensor -> CBool -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor,Tensor))) tensor_svd_bb :: Ptr Tensor -> CBool -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor, Tensor))) tensor_svd_bb Ptr Tensor _obj CBool _some CBool _compute_uv = [C.throwBlock| std::tuple<at::Tensor,at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).svd( $(bool _some) , $(bool _compute_uv))); }|] tensor_swapaxes_ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapaxes_ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapaxes_ll Ptr Tensor _obj Int64 _axis0 Int64 _axis1 = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).swapaxes( $(int64_t _axis0) , $(int64_t _axis1))); }|] tensor_swapaxes__ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapaxes__ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapaxes__ll Ptr Tensor _obj Int64 _axis0 Int64 _axis1 = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).swapaxes_( $(int64_t _axis0) , $(int64_t _axis1))); }|] tensor_swapdims_ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapdims_ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapdims_ll Ptr Tensor _obj Int64 _dim0 Int64 _dim1 = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).swapdims( $(int64_t _dim0) , $(int64_t _dim1))); }|] tensor_swapdims__ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapdims__ll :: Ptr Tensor -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_swapdims__ll Ptr Tensor _obj Int64 _dim0 Int64 _dim1 = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).swapdims_( $(int64_t _dim0) , $(int64_t _dim1))); }|] tensor_cholesky_b :: Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_cholesky_b :: Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_cholesky_b Ptr Tensor _obj CBool _upper = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).cholesky( $(bool _upper))); }|] tensor_cholesky_solve_tb :: Ptr Tensor -> Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_cholesky_solve_tb :: Ptr Tensor -> Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_cholesky_solve_tb Ptr Tensor _obj Ptr Tensor _input2 CBool _upper = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).cholesky_solve( *$(at::Tensor* _input2) , $(bool _upper))); }|] tensor_cholesky_inverse_b :: Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_cholesky_inverse_b :: Ptr Tensor -> CBool -> IO (Ptr Tensor) tensor_cholesky_inverse_b Ptr Tensor _obj CBool _upper = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).cholesky_inverse( $(bool _upper))); }|] tensor_qr_b :: Ptr Tensor -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_qr_b :: Ptr Tensor -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_qr_b Ptr Tensor _obj CBool _some = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).qr( $(bool _some))); }|] tensor_geqrf :: Ptr Tensor -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_geqrf :: Ptr Tensor -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_geqrf Ptr Tensor _obj = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).geqrf( )); }|] tensor_orgqr_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_orgqr_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_orgqr_t Ptr Tensor _obj Ptr Tensor _input2 = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).orgqr( *$(at::Tensor* _input2))); }|] tensor_ormqr_ttbb :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> CBool -> CBool -> IO (Ptr Tensor) tensor_ormqr_ttbb :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> CBool -> CBool -> IO (Ptr Tensor) tensor_ormqr_ttbb Ptr Tensor _obj Ptr Tensor _input2 Ptr Tensor _input3 CBool _left CBool _transpose = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ormqr( *$(at::Tensor* _input2) , *$(at::Tensor* _input3) , $(bool _left) , $(bool _transpose))); }|] tensor_lu_solve_tt :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lu_solve_tt :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lu_solve_tt Ptr Tensor _obj Ptr Tensor _LU_data Ptr Tensor _LU_pivots = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lu_solve( *$(at::Tensor* _LU_data) , *$(at::Tensor* _LU_pivots))); }|] tensor_multinomial_lbG :: Ptr Tensor -> Int64 -> CBool -> Ptr Generator -> IO (Ptr Tensor) tensor_multinomial_lbG :: Ptr Tensor -> Int64 -> CBool -> Ptr Generator -> IO (Ptr Tensor) tensor_multinomial_lbG Ptr Tensor _obj Int64 _num_samples CBool _replacement Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).multinomial( $(int64_t _num_samples) , $(bool _replacement) , *$(at::Generator* _generator))); }|] tensor_lgamma_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_lgamma_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_lgamma_ Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lgamma_( )); }|] tensor_lgamma :: Ptr Tensor -> IO (Ptr Tensor) tensor_lgamma :: Ptr Tensor -> IO (Ptr Tensor) tensor_lgamma Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lgamma( )); }|] tensor_digamma :: Ptr Tensor -> IO (Ptr Tensor) tensor_digamma :: Ptr Tensor -> IO (Ptr Tensor) tensor_digamma Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).digamma( )); }|] tensor_polygamma__l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_polygamma__l :: Ptr Tensor -> Int64 -> IO (Ptr Tensor) tensor_polygamma__l Ptr Tensor _obj Int64 _n = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).polygamma_( $(int64_t _n))); }|] tensor_erfinv :: Ptr Tensor -> IO (Ptr Tensor) tensor_erfinv :: Ptr Tensor -> IO (Ptr Tensor) tensor_erfinv Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).erfinv( )); }|] tensor_erfinv_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_erfinv_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_erfinv_ Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).erfinv_( )); }|] tensor_i0 :: Ptr Tensor -> IO (Ptr Tensor) tensor_i0 :: Ptr Tensor -> IO (Ptr Tensor) tensor_i0 Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).i0( )); }|] tensor_i0_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_i0_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_i0_ Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).i0_( )); }|] tensor_sign :: Ptr Tensor -> IO (Ptr Tensor) tensor_sign :: Ptr Tensor -> IO (Ptr Tensor) tensor_sign Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).sign( )); }|] tensor_sign_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_sign_ :: Ptr Tensor -> IO (Ptr Tensor) tensor_sign_ Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).sign_( )); }|] tensor_signbit :: Ptr Tensor -> IO (Ptr Tensor) tensor_signbit :: Ptr Tensor -> IO (Ptr Tensor) tensor_signbit Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).signbit( )); }|] tensor_dist_ts :: Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_dist_ts :: Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_dist_ts Ptr Tensor _obj Ptr Tensor _other Ptr Scalar _p = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).dist( *$(at::Tensor* _other) , *$(at::Scalar* _p))); }|] tensor_atan2__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_atan2__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_atan2__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).atan2_( *$(at::Tensor* _other))); }|] tensor_atan2_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_atan2_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_atan2_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).atan2( *$(at::Tensor* _other))); }|] tensor_arctan2_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_arctan2_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_arctan2_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).arctan2( *$(at::Tensor* _other))); }|] tensor_arctan2__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_arctan2__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_arctan2__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).arctan2_( *$(at::Tensor* _other))); }|] tensor_lerp_ts :: Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lerp_ts :: Ptr Tensor -> Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_lerp_ts Ptr Tensor _obj Ptr Tensor _end Ptr Scalar _weight = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lerp( *$(at::Tensor* _end) , *$(at::Scalar* _weight))); }|] tensor_lerp_tt :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lerp_tt :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_lerp_tt Ptr Tensor _obj Ptr Tensor _end Ptr Tensor _weight = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).lerp( *$(at::Tensor* _end) , *$(at::Tensor* _weight))); }|] tensor_histc_lss :: Ptr Tensor -> Int64 -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor) tensor_histc_lss :: Ptr Tensor -> Int64 -> Ptr Scalar -> Ptr Scalar -> IO (Ptr Tensor) tensor_histc_lss Ptr Tensor _obj Int64 _bins Ptr Scalar _min Ptr Scalar _max = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).histc( $(int64_t _bins) , *$(at::Scalar* _min) , *$(at::Scalar* _max))); }|] tensor_histogram_ttb :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_histogram_ttb :: Ptr Tensor -> Ptr Tensor -> Ptr Tensor -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_histogram_ttb Ptr Tensor _obj Ptr Tensor _bins Ptr Tensor _weight CBool _density = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).histogram( *$(at::Tensor* _bins) , *$(at::Tensor* _weight) , $(bool _density))); }|] tensor_histogram_latb :: Ptr Tensor -> Int64 -> Ptr (StdVector CDouble) -> Ptr Tensor -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_histogram_latb :: Ptr Tensor -> Int64 -> Ptr (StdVector CDouble) -> Ptr Tensor -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_histogram_latb Ptr Tensor _obj Int64 _bins Ptr (StdVector CDouble) _range Ptr Tensor _weight CBool _density = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).histogram( $(int64_t _bins) , *$(std::vector<double>* _range) , *$(at::Tensor* _weight) , $(bool _density))); }|] tensor_fmod_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_fmod_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_fmod_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).fmod( *$(at::Scalar* _other))); }|] tensor_fmod__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_fmod__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_fmod__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).fmod_( *$(at::Scalar* _other))); }|] tensor_fmod_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmod_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmod_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).fmod( *$(at::Tensor* _other))); }|] tensor_fmod__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmod__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmod__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).fmod_( *$(at::Tensor* _other))); }|] tensor_hypot_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_hypot_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_hypot_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).hypot( *$(at::Tensor* _other))); }|] tensor_hypot__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_hypot__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_hypot__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).hypot_( *$(at::Tensor* _other))); }|] tensor_igamma_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igamma_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igamma_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).igamma( *$(at::Tensor* _other))); }|] tensor_igamma__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igamma__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igamma__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).igamma_( *$(at::Tensor* _other))); }|] tensor_igammac_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igammac_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igammac_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).igammac( *$(at::Tensor* _other))); }|] tensor_igammac__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igammac__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_igammac__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).igammac_( *$(at::Tensor* _other))); }|] tensor_nextafter_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_nextafter_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_nextafter_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).nextafter( *$(at::Tensor* _other))); }|] tensor_nextafter__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_nextafter__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_nextafter__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).nextafter_( *$(at::Tensor* _other))); }|] tensor_remainder_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_remainder_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_remainder_s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).remainder( *$(at::Scalar* _other))); }|] tensor_remainder__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_remainder__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_remainder__s Ptr Tensor _obj Ptr Scalar _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).remainder_( *$(at::Scalar* _other))); }|] tensor_remainder_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_remainder_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_remainder_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).remainder( *$(at::Tensor* _other))); }|] tensor_remainder__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_remainder__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_remainder__t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).remainder_( *$(at::Tensor* _other))); }|] tensor_min :: Ptr Tensor -> IO (Ptr Tensor) tensor_min :: Ptr Tensor -> IO (Ptr Tensor) tensor_min Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).min( )); }|] tensor_fmin_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmin_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmin_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).fmin( *$(at::Tensor* _other))); }|] tensor_max :: Ptr Tensor -> IO (Ptr Tensor) tensor_max :: Ptr Tensor -> IO (Ptr Tensor) tensor_max Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).max( )); }|] tensor_fmax_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmax_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_fmax_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).fmax( *$(at::Tensor* _other))); }|] tensor_maximum_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_maximum_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_maximum_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).maximum( *$(at::Tensor* _other))); }|] tensor_max_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_max_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_max_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).max( *$(at::Tensor* _other))); }|] tensor_minimum_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_minimum_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_minimum_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).minimum( *$(at::Tensor* _other))); }|] tensor_min_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_min_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_min_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).min( *$(at::Tensor* _other))); }|] tensor_quantile_tlbs :: Ptr Tensor -> Ptr Tensor -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_quantile_tlbs :: Ptr Tensor -> Ptr Tensor -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_quantile_tlbs Ptr Tensor _obj Ptr Tensor _q Int64 _dim CBool _keepdim Ptr StdString _interpolation = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).quantile( *$(at::Tensor* _q) , $(int64_t _dim) , $(bool _keepdim) , *$(std::string* _interpolation))); }|] tensor_quantile_dlbs :: Ptr Tensor -> CDouble -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_quantile_dlbs :: Ptr Tensor -> CDouble -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_quantile_dlbs Ptr Tensor _obj CDouble _q Int64 _dim CBool _keepdim Ptr StdString _interpolation = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).quantile( $(double _q) , $(int64_t _dim) , $(bool _keepdim) , *$(std::string* _interpolation))); }|] tensor_nanquantile_tlbs :: Ptr Tensor -> Ptr Tensor -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_nanquantile_tlbs :: Ptr Tensor -> Ptr Tensor -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_nanquantile_tlbs Ptr Tensor _obj Ptr Tensor _q Int64 _dim CBool _keepdim Ptr StdString _interpolation = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).nanquantile( *$(at::Tensor* _q) , $(int64_t _dim) , $(bool _keepdim) , *$(std::string* _interpolation))); }|] tensor_nanquantile_dlbs :: Ptr Tensor -> CDouble -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_nanquantile_dlbs :: Ptr Tensor -> CDouble -> Int64 -> CBool -> Ptr StdString -> IO (Ptr Tensor) tensor_nanquantile_dlbs Ptr Tensor _obj CDouble _q Int64 _dim CBool _keepdim Ptr StdString _interpolation = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).nanquantile( $(double _q) , $(int64_t _dim) , $(bool _keepdim) , *$(std::string* _interpolation))); }|] tensor_sort_lb :: Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_sort_lb :: Ptr Tensor -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_sort_lb Ptr Tensor _obj Int64 _dim CBool _descending = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).sort( $(int64_t _dim) , $(bool _descending))); }|] tensor_sort_blb :: Ptr Tensor -> CBool -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_sort_blb :: Ptr Tensor -> CBool -> Int64 -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_sort_blb Ptr Tensor _obj CBool _stable Int64 _dim CBool _descending = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).sort( $(bool _stable) , $(int64_t _dim) , $(bool _descending))); }|] tensor_sort_nb :: Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_sort_nb :: Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_sort_nb Ptr Tensor _obj Ptr Dimname _dim CBool _descending = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).sort( *$(at::Dimname* _dim) , $(bool _descending))); }|] tensor_sort_bnb :: Ptr Tensor -> CBool -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_sort_bnb :: Ptr Tensor -> CBool -> Ptr Dimname -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_sort_bnb Ptr Tensor _obj CBool _stable Ptr Dimname _dim CBool _descending = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).sort( $(bool _stable) , *$(at::Dimname* _dim) , $(bool _descending))); }|] tensor_msort :: Ptr Tensor -> IO (Ptr Tensor) tensor_msort :: Ptr Tensor -> IO (Ptr Tensor) tensor_msort Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).msort( )); }|] tensor_argsort_lb :: Ptr Tensor -> Int64 -> CBool -> IO (Ptr Tensor) tensor_argsort_lb :: Ptr Tensor -> Int64 -> CBool -> IO (Ptr Tensor) tensor_argsort_lb Ptr Tensor _obj Int64 _dim CBool _descending = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).argsort( $(int64_t _dim) , $(bool _descending))); }|] tensor_argsort_blb :: Ptr Tensor -> CBool -> Int64 -> CBool -> IO (Ptr Tensor) tensor_argsort_blb :: Ptr Tensor -> CBool -> Int64 -> CBool -> IO (Ptr Tensor) tensor_argsort_blb Ptr Tensor _obj CBool _stable Int64 _dim CBool _descending = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).argsort( $(bool _stable) , $(int64_t _dim) , $(bool _descending))); }|] tensor_argsort_nb :: Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr Tensor) tensor_argsort_nb :: Ptr Tensor -> Ptr Dimname -> CBool -> IO (Ptr Tensor) tensor_argsort_nb Ptr Tensor _obj Ptr Dimname _dim CBool _descending = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).argsort( *$(at::Dimname* _dim) , $(bool _descending))); }|] tensor_topk_llbb :: Ptr Tensor -> Int64 -> Int64 -> CBool -> CBool -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_topk_llbb :: Ptr Tensor -> Int64 -> Int64 -> CBool -> CBool -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_topk_llbb Ptr Tensor _obj Int64 _k Int64 _dim CBool _largest CBool _sorted = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).topk( $(int64_t _k) , $(int64_t _dim) , $(bool _largest) , $(bool _sorted))); }|] tensor_all :: Ptr Tensor -> IO (Ptr Tensor) tensor_all :: Ptr Tensor -> IO (Ptr Tensor) tensor_all Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).all( )); }|] tensor_any :: Ptr Tensor -> IO (Ptr Tensor) tensor_any :: Ptr Tensor -> IO (Ptr Tensor) tensor_any Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).any( )); }|] tensor_renorm_sls :: Ptr Tensor -> Ptr Scalar -> Int64 -> Ptr Scalar -> IO (Ptr Tensor) tensor_renorm_sls :: Ptr Tensor -> Ptr Scalar -> Int64 -> Ptr Scalar -> IO (Ptr Tensor) tensor_renorm_sls Ptr Tensor _obj Ptr Scalar _p Int64 _dim Ptr Scalar _maxnorm = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).renorm( *$(at::Scalar* _p) , $(int64_t _dim) , *$(at::Scalar* _maxnorm))); }|] tensor_renorm__sls :: Ptr Tensor -> Ptr Scalar -> Int64 -> Ptr Scalar -> IO (Ptr Tensor) tensor_renorm__sls :: Ptr Tensor -> Ptr Scalar -> Int64 -> Ptr Scalar -> IO (Ptr Tensor) tensor_renorm__sls Ptr Tensor _obj Ptr Scalar _p Int64 _dim Ptr Scalar _maxnorm = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).renorm_( *$(at::Scalar* _p) , $(int64_t _dim) , *$(at::Scalar* _maxnorm))); }|] tensor_unfold_lll :: Ptr Tensor -> Int64 -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_unfold_lll :: Ptr Tensor -> Int64 -> Int64 -> Int64 -> IO (Ptr Tensor) tensor_unfold_lll Ptr Tensor _obj Int64 _dimension Int64 _size Int64 _step = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).unfold( $(int64_t _dimension) , $(int64_t _size) , $(int64_t _step))); }|] tensor_equal_t :: Ptr Tensor -> Ptr Tensor -> IO (CBool) tensor_equal_t :: Ptr Tensor -> Ptr Tensor -> IO CBool tensor_equal_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| bool { return (*$(at::Tensor* _obj)).equal( *$(at::Tensor* _other)); }|] tensor_pow_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_pow_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_pow_t Ptr Tensor _obj Ptr Tensor _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).pow( *$(at::Tensor* _exponent))); }|] tensor_pow_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_pow_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_pow_s Ptr Tensor _obj Ptr Scalar _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).pow( *$(at::Scalar* _exponent))); }|] tensor_pow__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_pow__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_pow__s Ptr Tensor _obj Ptr Scalar _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).pow_( *$(at::Scalar* _exponent))); }|] tensor_pow__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_pow__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_pow__t Ptr Tensor _obj Ptr Tensor _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).pow_( *$(at::Tensor* _exponent))); }|] tensor_float_power_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_float_power_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_float_power_t Ptr Tensor _obj Ptr Tensor _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).float_power( *$(at::Tensor* _exponent))); }|] tensor_float_power_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_float_power_s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_float_power_s Ptr Tensor _obj Ptr Scalar _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).float_power( *$(at::Scalar* _exponent))); }|] tensor_float_power__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_float_power__s :: Ptr Tensor -> Ptr Scalar -> IO (Ptr Tensor) tensor_float_power__s Ptr Tensor _obj Ptr Scalar _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).float_power_( *$(at::Scalar* _exponent))); }|] tensor_float_power__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_float_power__t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_float_power__t Ptr Tensor _obj Ptr Tensor _exponent = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).float_power_( *$(at::Tensor* _exponent))); }|] tensor_normal__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_normal__ddG :: Ptr Tensor -> CDouble -> CDouble -> Ptr Generator -> IO (Ptr Tensor) tensor_normal__ddG Ptr Tensor _obj CDouble _mean CDouble _std Ptr Generator _generator = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).normal_( $(double _mean) , $(double _std) , *$(at::Generator* _generator))); }|] tensor_alias :: Ptr Tensor -> IO (Ptr Tensor) tensor_alias :: Ptr Tensor -> IO (Ptr Tensor) tensor_alias Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).alias( )); }|] tensor_isfinite :: Ptr Tensor -> IO (Ptr Tensor) tensor_isfinite :: Ptr Tensor -> IO (Ptr Tensor) tensor_isfinite Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).isfinite( )); }|] tensor_isinf :: Ptr Tensor -> IO (Ptr Tensor) tensor_isinf :: Ptr Tensor -> IO (Ptr Tensor) tensor_isinf Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).isinf( )); }|] tensor_record_stream_s :: Ptr Tensor -> Ptr Stream -> IO (()) tensor_record_stream_s :: Ptr Tensor -> Ptr Stream -> IO () tensor_record_stream_s Ptr Tensor _obj Ptr Stream _s = [C.throwBlock| void { (*$(at::Tensor* _obj)).record_stream( *$(c10::Stream* _s)); }|] tensor_isposinf :: Ptr Tensor -> IO (Ptr Tensor) tensor_isposinf :: Ptr Tensor -> IO (Ptr Tensor) tensor_isposinf Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).isposinf( )); }|] tensor_isneginf :: Ptr Tensor -> IO (Ptr Tensor) tensor_isneginf :: Ptr Tensor -> IO (Ptr Tensor) tensor_isneginf Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).isneginf( )); }|] tensor_det :: Ptr Tensor -> IO (Ptr Tensor) tensor_det :: Ptr Tensor -> IO (Ptr Tensor) tensor_det Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).det( )); }|] tensor_slogdet :: Ptr Tensor -> IO (Ptr (StdTuple '(Tensor,Tensor))) tensor_slogdet :: Ptr Tensor -> IO (Ptr (StdTuple '(Tensor, Tensor))) tensor_slogdet Ptr Tensor _obj = [C.throwBlock| std::tuple<at::Tensor,at::Tensor>* { return new std::tuple<at::Tensor,at::Tensor>((*$(at::Tensor* _obj)).slogdet( )); }|] tensor_logdet :: Ptr Tensor -> IO (Ptr Tensor) tensor_logdet :: Ptr Tensor -> IO (Ptr Tensor) tensor_logdet Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).logdet( )); }|] tensor_inverse :: Ptr Tensor -> IO (Ptr Tensor) tensor_inverse :: Ptr Tensor -> IO (Ptr Tensor) tensor_inverse Ptr Tensor _obj = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).inverse( )); }|] tensor_inner_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_inner_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_inner_t Ptr Tensor _obj Ptr Tensor _other = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).inner( *$(at::Tensor* _other))); }|] tensor_outer_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_outer_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_outer_t Ptr Tensor _obj Ptr Tensor _vec2 = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).outer( *$(at::Tensor* _vec2))); }|] tensor_ger_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ger_t :: Ptr Tensor -> Ptr Tensor -> IO (Ptr Tensor) tensor_ger_t Ptr Tensor _obj Ptr Tensor _vec2 = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).ger( *$(at::Tensor* _vec2))); }|] tensor_to_padded_tensor_dl :: Ptr Tensor -> CDouble -> Ptr IntArray -> IO (Ptr Tensor) tensor_to_padded_tensor_dl :: Ptr Tensor -> CDouble -> Ptr IntArray -> IO (Ptr Tensor) tensor_to_padded_tensor_dl Ptr Tensor _obj CDouble _padding Ptr IntArray _output_size = [C.throwBlock| at::Tensor* { return new at::Tensor((*$(at::Tensor* _obj)).to_padded_tensor( $(double _padding) , *$(std::vector<int64_t>* _output_size))); }|]