Documentation
¶
Overview ¶
NOTE: functions in this file would be automatically generated and named as `c-generated.go`
Index ¶
- Variables
- func AtBackward(ts Ctensor, keepGraph int, createGraph int)
- func AtCopyData(ts Ctensor, vs unsafe.Pointer, numel uint, element_size_in_bytes uint)
- func AtCopy_(dst Ctensor, src Ctensor)
- func AtDataPtr(t Ctensor) unsafe.Pointer
- func AtDefined(ts Ctensor) bool
- func AtDevice(ts Ctensor) int
- func AtDim(t Ctensor) uint64
- func AtDoubleValueAtIndexes(ts Ctensor, indexes unsafe.Pointer, indexesLen int) float64
- func AtFree(ts Ctensor)
- func AtGradSetEnabled(b int) int
- func AtInt64ValueAtIndexes(ts Ctensor, indexes unsafe.Pointer, indexesLen int) int64
- func AtIsSparse(ts Ctensor) bool
- func AtLoadCallback(filename string, dataPtr unsafe.Pointer)
- func AtLoadCallbackWithDevice(filename string, dataPtr unsafe.Pointer, device int32)
- func AtLoadMulti(tensors []Ctensor, tensor_names []string, ntensors int, filename string)
- func AtPrint(t Ctensor)
- func AtRequiresGrad(ts Ctensor) bool
- func AtRunBackward(tensorsPtr *Ctensor, ntensors int, inputsPtr *Ctensor, ninputs int, ...)
- func AtSave(ts Ctensor, path string)
- func AtSaveImage(ts Ctensor, path string)
- func AtSaveMulti(tensors []Ctensor, tensor_names []string, ntensors int, filename string)
- func AtScalarType(t Ctensor) int32
- func AtShape(t Ctensor, ptr unsafe.Pointer)
- func AtToString(ts Ctensor, lineSize int64) string
- func AtcCudaDeviceCount() int
- func AtcCudaIsAvailable() bool
- func AtcCudnnIsAvailable() bool
- func AtcSetBenchmarkCudnn(b int)
- func Atc_cuda_device_count() int
- func AtgAbs(ptr *Ctensor, self Ctensor)
- func AtgAbsOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgAbs_(ptr *Ctensor, self Ctensor)
- func AtgAcos(ptr *Ctensor, self Ctensor)
- func AtgAcosOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgAcos_(ptr *Ctensor, self Ctensor)
- func AtgAdaptiveAvgPool1d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func AtgAdaptiveAvgPool2d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func AtgAdaptiveAvgPool2dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgAdaptiveAvgPool3d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func AtgAdaptiveAvgPool3dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor)
- func AtgAdaptiveAvgPool3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor)
- func AtgAdaptiveAvgPool3dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgAdaptiveMaxPool1d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func AtgAdaptiveMaxPool2d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func AtgAdaptiveMaxPool2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, indices Ctensor)
- func AtgAdaptiveMaxPool2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgAdaptiveMaxPool2dOut(ptr *Ctensor, out Ctensor, indices Ctensor, self Ctensor, ...)
- func AtgAdaptiveMaxPool3d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func AtgAdaptiveMaxPool3dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, indices Ctensor)
- func AtgAdaptiveMaxPool3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgAdaptiveMaxPool3dOut(ptr *Ctensor, out Ctensor, indices Ctensor, self Ctensor, ...)
- func AtgAdd(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgAdd1(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgAdd1_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgAddOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgAdd_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgAddbmm(ptr *Ctensor, self Ctensor, batch1 Ctensor, batch2 Ctensor)
- func AtgAddbmmOut(ptr *Ctensor, out Ctensor, self Ctensor, batch1 Ctensor, batch2 Ctensor)
- func AtgAddbmm_(ptr *Ctensor, self Ctensor, batch1 Ctensor, batch2 Ctensor)
- func AtgAddcdiv(ptr *Ctensor, self Ctensor, tensor1 Ctensor, tensor2 Ctensor)
- func AtgAddcdivOut(ptr *Ctensor, out Ctensor, self Ctensor, tensor1 Ctensor, tensor2 Ctensor)
- func AtgAddcdiv_(ptr *Ctensor, self Ctensor, tensor1 Ctensor, tensor2 Ctensor)
- func AtgAddcmul(ptr *Ctensor, self Ctensor, tensor1 Ctensor, tensor2 Ctensor)
- func AtgAddcmulOut(ptr *Ctensor, out Ctensor, self Ctensor, tensor1 Ctensor, tensor2 Ctensor)
- func AtgAddcmul_(ptr *Ctensor, self Ctensor, tensor1 Ctensor, tensor2 Ctensor)
- func AtgAddmm(ptr *Ctensor, self Ctensor, mat1 Ctensor, mat2 Ctensor)
- func AtgAddmmOut(ptr *Ctensor, out Ctensor, self Ctensor, mat1 Ctensor, mat2 Ctensor)
- func AtgAddmm_(ptr *Ctensor, self Ctensor, mat1 Ctensor, mat2 Ctensor)
- func AtgAddmv(ptr *Ctensor, self Ctensor, mat Ctensor, vec Ctensor)
- func AtgAddmvOut(ptr *Ctensor, out Ctensor, self Ctensor, mat Ctensor, vec Ctensor)
- func AtgAddmv_(ptr *Ctensor, self Ctensor, mat Ctensor, vec Ctensor)
- func AtgAddr(ptr *Ctensor, self Ctensor, vec1 Ctensor, vec2 Ctensor)
- func AtgAddrOut(ptr *Ctensor, out Ctensor, self Ctensor, vec1 Ctensor, vec2 Ctensor)
- func AtgAddr_(ptr *Ctensor, self Ctensor, vec1 Ctensor, vec2 Ctensor)
- func AtgAffineGridGenerator(ptr *Ctensor, theta Ctensor, sizeData []int64, sizeLen int, alignCorners int32)
- func AtgAffineGridGeneratorBackward(ptr *Ctensor, grad Ctensor, sizeData []int64, sizeLen int, alignCorners int32)
- func AtgAlias(ptr *Ctensor, self Ctensor)
- func AtgAlignAs(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgAll(ptr *Ctensor, self Ctensor)
- func AtgAll1(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgAllOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgAlphaDropout(ptr *Ctensor, input Ctensor, p float64, train int32)
- func AtgAlphaDropout_(ptr *Ctensor, self Ctensor, p float64, train int32)
- func AtgAngle(ptr *Ctensor, self Ctensor)
- func AtgAngleOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgAny(ptr *Ctensor, self Ctensor)
- func AtgAny1(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgAnyOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgArange(ptr *Ctensor, end Cscalar, optionsKind int32, optionsDevice int32)
- func AtgArange1(ptr *Ctensor, start Cscalar, end Cscalar, optionsKind int32, ...)
- func AtgArange2(ptr *Ctensor, start Cscalar, end Cscalar, step Cscalar, optionsKind int32, ...)
- func AtgArangeOut(ptr *Ctensor, out Ctensor, end Cscalar)
- func AtgArangeOut1(ptr *Ctensor, out Ctensor, start Cscalar, end Cscalar)
- func AtgArgmax(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgArgmin(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgArgsort(ptr *Ctensor, self Ctensor, dim int64, descending int32)
- func AtgAsStrided(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, strideData []int64, ...)
- func AtgAsStrided_(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, strideData []int64, ...)
- func AtgAsin(ptr *Ctensor, self Ctensor)
- func AtgAsinOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgAsin_(ptr *Ctensor, self Ctensor)
- func AtgAtan(ptr *Ctensor, self Ctensor)
- func AtgAtan2(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgAtan2Out(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgAtan2_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgAtanOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgAtan_(ptr *Ctensor, self Ctensor)
- func AtgAvgPool1d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgAvgPool2d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgAvgPool2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgAvgPool2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgAvgPool2dOut(ptr *Ctensor, out Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgAvgPool3d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgAvgPool3dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgAvgPool3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgAvgPool3dOut(ptr *Ctensor, out Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgBaddbmm(ptr *Ctensor, self Ctensor, batch1 Ctensor, batch2 Ctensor)
- func AtgBaddbmmOut(ptr *Ctensor, out Ctensor, self Ctensor, batch1 Ctensor, batch2 Ctensor)
- func AtgBaddbmm_(ptr *Ctensor, self Ctensor, batch1 Ctensor, batch2 Ctensor)
- func AtgBartlettWindow(ptr *Ctensor, windowLength int64, optionsKind int32, optionsDevice int32)
- func AtgBartlettWindow1(ptr *Ctensor, windowLength int64, periodic int32, optionsKind int32, ...)
- func AtgBatchNorm(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, runningMean Ctensor, ...)
- func AtgBatchNormBackwardElemt(ptr *Ctensor, gradOut Ctensor, input Ctensor, mean Ctensor, invstd Ctensor, ...)
- func AtgBatchNormBackwardReduce(ptr *Ctensor, gradOut Ctensor, input Ctensor, mean Ctensor, invstd Ctensor, ...)
- func AtgBatchNormElemt(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, mean Ctensor, ...)
- func AtgBatchNormElemtOut(ptr *Ctensor, out Ctensor, input Ctensor, weight Ctensor, bias Ctensor, ...)
- func AtgBatchNormGatherStats(ptr *Ctensor, input Ctensor, mean Ctensor, invstd Ctensor, runningMean Ctensor, ...)
- func AtgBatchNormGatherStatsWithCounts(ptr *Ctensor, input Ctensor, mean Ctensor, invstd Ctensor, runningMean Ctensor, ...)
- func AtgBatchNormStats(ptr *Ctensor, input Ctensor, eps float64)
- func AtgBatchNormUpdateStats(ptr *Ctensor, input Ctensor, runningMean Ctensor, runningVar Ctensor, ...)
- func AtgBernoulli(ptr *Ctensor, self Ctensor)
- func AtgBernoulli1(ptr *Ctensor, self Ctensor, p float64)
- func AtgBernoulli1_(ptr *Ctensor, self Ctensor, p float64)
- func AtgBernoulliOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgBernoulli_(ptr *Ctensor, self Ctensor, p Ctensor)
- func AtgBilinear(ptr *Ctensor, input1 Ctensor, input2 Ctensor, weight Ctensor, bias Ctensor)
- func AtgBinaryCrossEntropy(ptr *Ctensor, self Ctensor, target Ctensor, weight Ctensor, reduction int64)
- func AtgBinaryCrossEntropyBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, weight Ctensor, ...)
- func AtgBinaryCrossEntropyBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgBinaryCrossEntropyOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, weight Ctensor, ...)
- func AtgBinaryCrossEntropyWithLogits(ptr *Ctensor, self Ctensor, target Ctensor, weight Ctensor, posWeight Ctensor, ...)
- func AtgBinaryCrossEntropyWithLogitsBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, weight Ctensor, ...)
- func AtgBincount(ptr *Ctensor, self Ctensor, weights Ctensor, minlength int64)
- func AtgBitwiseAnd(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseAnd1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseAnd1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseAndOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseAndOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseAnd_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseNot(ptr *Ctensor, self Ctensor)
- func AtgBitwiseNotOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgBitwiseNot_(ptr *Ctensor, self Ctensor)
- func AtgBitwiseOr(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseOr1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseOr1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseOrOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseOrOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseOr_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseXor(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseXor1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseXor1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseXorOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgBitwiseXorOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgBitwiseXor_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgBlackmanWindow(ptr *Ctensor, windowLength int64, optionsKind int32, optionsDevice int32)
- func AtgBlackmanWindow1(ptr *Ctensor, windowLength int64, periodic int32, optionsKind int32, ...)
- func AtgBmm(ptr *Ctensor, self Ctensor, mat2 Ctensor)
- func AtgBmmOut(ptr *Ctensor, out Ctensor, self Ctensor, mat2 Ctensor)
- func AtgCartesianProd(ptr *Ctensor, tensorsData []Ctensor, tensorsLen int)
- func AtgCat(ptr *Ctensor, tensorsData []Ctensor, tensorsLen int, dim int64)
- func AtgCatOut(ptr *Ctensor, out Ctensor, tensorsData []Ctensor, tensorsLen int, dim int64)
- func AtgCauchy_(ptr *Ctensor, self Ctensor, median float64, sigma float64)
- func AtgCdist(ptr *Ctensor, x1 Ctensor, x2 Ctensor, p float64, computeMode int64)
- func AtgCeil(ptr *Ctensor, self Ctensor)
- func AtgCeilOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgCeil_(ptr *Ctensor, self Ctensor)
- func AtgCelu(ptr *Ctensor, self Ctensor)
- func AtgCelu_(ptr *Ctensor, self Ctensor)
- func AtgChainMatmul(ptr *Ctensor, matricesData []Ctensor, matricesLen int)
- func AtgCholesky(ptr *Ctensor, self Ctensor, upper int32)
- func AtgCholeskyInverse(ptr *Ctensor, self Ctensor, upper int32)
- func AtgCholeskyInverseOut(ptr *Ctensor, out Ctensor, self Ctensor, upper int32)
- func AtgCholeskyOut(ptr *Ctensor, out Ctensor, self Ctensor, upper int32)
- func AtgCholeskySolve(ptr *Ctensor, self Ctensor, input2 Ctensor, upper int32)
- func AtgCholeskySolveOut(ptr *Ctensor, out Ctensor, self Ctensor, input2 Ctensor, upper int32)
- func AtgClamp(ptr *Ctensor, self Ctensor, min Cscalar, max Cscalar)
- func AtgClampMax(ptr *Ctensor, self Ctensor, max Cscalar)
- func AtgClampMaxOut(ptr *Ctensor, out Ctensor, self Ctensor, max Cscalar)
- func AtgClampMax_(ptr *Ctensor, self Ctensor, max Cscalar)
- func AtgClampMin(ptr *Ctensor, self Ctensor, min Cscalar)
- func AtgClampMinOut(ptr *Ctensor, out Ctensor, self Ctensor, min Cscalar)
- func AtgClampMin_(ptr *Ctensor, self Ctensor, min Cscalar)
- func AtgClampOut(ptr *Ctensor, out Ctensor, self Ctensor, min Cscalar, max Cscalar)
- func AtgClamp_(ptr *Ctensor, self Ctensor, min Cscalar, max Cscalar)
- func AtgCoalesce(ptr *Ctensor, self Ctensor)
- func AtgCol2im(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgCol2imBackward(ptr *Ctensor, gradOutput Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgCol2imBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, kernelSizeData []int64, ...)
- func AtgCol2imOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgCombinations(ptr *Ctensor, self Ctensor, r int64, withReplacement int32)
- func AtgConj(ptr *Ctensor, self Ctensor)
- func AtgConjOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgConstantPadNd(ptr *Ctensor, self Ctensor, padData []int64, padLen int)
- func AtgContiguous(ptr *Ctensor, self Ctensor)
- func AtgConv1d(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgConv2d(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgConv3d(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgConvTbc(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, pad int64)
- func AtgConvTbcBackward(ptr *Ctensor, self Ctensor, input Ctensor, weight Ctensor, bias Ctensor, ...)
- func AtgConvTranspose1d(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgConvTranspose2d(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgConvTranspose3d(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgConvolution(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgConvolutionOverrideable(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func AtgCopySparseToSparse_(ptr *Ctensor, self Ctensor, src Ctensor, nonBlocking int32)
- func AtgCos(ptr *Ctensor, self Ctensor)
- func AtgCosOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgCos_(ptr *Ctensor, self Ctensor)
- func AtgCosh(ptr *Ctensor, self Ctensor)
- func AtgCoshOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgCosh_(ptr *Ctensor, self Ctensor)
- func AtgCosineEmbeddingLoss(ptr *Ctensor, input1 Ctensor, input2 Ctensor, target Ctensor, margin float64, ...)
- func AtgCosineSimilarity(ptr *Ctensor, x1 Ctensor, x2 Ctensor, dim int64, eps float64)
- func AtgCross(ptr *Ctensor, self Ctensor, other Ctensor, dim int64)
- func AtgCrossOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor, dim int64)
- func AtgCtcLoss(ptr *Ctensor, logProbs Ctensor, targets Ctensor, inputLengthsData []int64, ...)
- func AtgCtcLoss1(ptr *Ctensor, logProbs Ctensor, targets Ctensor, inputLengths Ctensor, ...)
- func AtgCudnnAffineGridGenerator(ptr *Ctensor, theta Ctensor, n int64, c int64, h int64, w int64)
- func AtgCudnnAffineGridGeneratorBackward(ptr *Ctensor, grad Ctensor, n int64, c int64, h int64, w int64)
- func AtgCudnnBatchNorm(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, runningMean Ctensor, ...)
- func AtgCudnnBatchNormBackward(ptr *Ctensor, input Ctensor, gradOutput Ctensor, weight Ctensor, ...)
- func AtgCudnnConvolution(ptr *Ctensor, self Ctensor, weight Ctensor, paddingData []int64, ...)
- func AtgCudnnConvolution1(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, ...)
- func AtgCudnnConvolutionBackwardInput(ptr *Ctensor, selfSizeData []int64, selfSizeLen int, gradOutput Ctensor, ...)
- func AtgCudnnConvolutionBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, ...)
- func AtgCudnnConvolutionTranspose(ptr *Ctensor, self Ctensor, weight Ctensor, paddingData []int64, ...)
- func AtgCudnnConvolutionTranspose1(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, ...)
- func AtgCudnnConvolutionTransposeBackwardInput(ptr *Ctensor, gradOutput Ctensor, weight Ctensor, paddingData []int64, ...)
- func AtgCudnnConvolutionTransposeBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, ...)
- func AtgCudnnGridSampler(ptr *Ctensor, self Ctensor, grid Ctensor)
- func AtgCudnnGridSamplerBackward(ptr *Ctensor, self Ctensor, grid Ctensor, gradOutput Ctensor)
- func AtgCummax(ptr *Ctensor, self Ctensor, dim int64)
- func AtgCummaxOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, dim int64)
- func AtgCummin(ptr *Ctensor, self Ctensor, dim int64)
- func AtgCumminOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, dim int64)
- func AtgCumprod(ptr *Ctensor, self Ctensor, dim int64, dtype int32)
- func AtgCumprodOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64, dtype int32)
- func AtgCumsum(ptr *Ctensor, self Ctensor, dim int64, dtype int32)
- func AtgCumsumOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64, dtype int32)
- func AtgData(ptr *Ctensor, self Ctensor)
- func AtgDequantize(ptr *Ctensor, self Ctensor)
- func AtgDet(ptr *Ctensor, self Ctensor)
- func AtgDetach(ptr *Ctensor, self Ctensor)
- func AtgDetach_(ptr *Ctensor, self Ctensor)
- func AtgDiag(ptr *Ctensor, self Ctensor, diagonal int64)
- func AtgDiagEmbed(ptr *Ctensor, self Ctensor, offset int64, dim1 int64, dim2 int64)
- func AtgDiagOut(ptr *Ctensor, out Ctensor, self Ctensor, diagonal int64)
- func AtgDiagflat(ptr *Ctensor, self Ctensor, offset int64)
- func AtgDiagonal(ptr *Ctensor, self Ctensor, offset int64, dim1 int64, dim2 int64)
- func AtgDigamma(ptr *Ctensor, self Ctensor)
- func AtgDigammaOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgDigamma_(ptr *Ctensor, self Ctensor)
- func AtgDist(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgDiv(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgDiv1(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgDiv1_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgDivOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgDiv_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgDot(ptr *Ctensor, self Ctensor, tensor Ctensor)
- func AtgDotOut(ptr *Ctensor, out Ctensor, self Ctensor, tensor Ctensor)
- func AtgDropout(ptr *Ctensor, input Ctensor, p float64, train int32)
- func AtgDropout_(ptr *Ctensor, self Ctensor, p float64, train int32)
- func AtgEig(ptr *Ctensor, self Ctensor, eigenvectors int32)
- func AtgEigOut(ptr *Ctensor, e Ctensor, v Ctensor, self Ctensor, eigenvectors int32)
- func AtgEinsum(ptr *Ctensor, equation string, tensorsData []Ctensor, tensorsLen int)
- func AtgElu(ptr *Ctensor, self Ctensor)
- func AtgEluBackward(ptr *Ctensor, gradOutput Ctensor, alpha Cscalar, scale Cscalar, ...)
- func AtgEluBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, alpha Cscalar, ...)
- func AtgEluOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgElu_(ptr *Ctensor, self Ctensor)
- func AtgEmbedding(ptr *Ctensor, weight Ctensor, indices Ctensor, paddingIdx int64, ...)
- func AtgEmbeddingBackward(ptr *Ctensor, grad Ctensor, indices Ctensor, numWeights int64, ...)
- func AtgEmbeddingBag(ptr *Ctensor, weight Ctensor, indices Ctensor, offsets Ctensor, ...)
- func AtgEmbeddingDenseBackward(ptr *Ctensor, gradOutput Ctensor, indices Ctensor, numWeights int64, ...)
- func AtgEmbeddingRenorm_(ptr *Ctensor, self Ctensor, indices Ctensor, maxNorm float64, normType float64)
- func AtgEmbeddingSparseBackward(ptr *Ctensor, grad Ctensor, indices Ctensor, numWeights int64, ...)
- func AtgEmpty(ptr *Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgEmptyLike(ptr *Ctensor, self Ctensor)
- func AtgEmptyOut(ptr *Ctensor, out Ctensor, sizeData []int64, sizeLen int)
- func AtgEmptyStrided(ptr *Ctensor, sizeData []int64, sizeLen int, strideData []int64, strideLen int, ...)
- func AtgEq(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgEq1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgEq1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgEqOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgEqOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgEq_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgErf(ptr *Ctensor, self Ctensor)
- func AtgErfOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgErf_(ptr *Ctensor, self Ctensor)
- func AtgErfc(ptr *Ctensor, self Ctensor)
- func AtgErfcOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgErfc_(ptr *Ctensor, self Ctensor)
- func AtgErfinv(ptr *Ctensor, self Ctensor)
- func AtgErfinvOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgErfinv_(ptr *Ctensor, self Ctensor)
- func AtgExp(ptr *Ctensor, self Ctensor)
- func AtgExpOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgExp_(ptr *Ctensor, self Ctensor)
- func AtgExpand(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, implicit int32)
- func AtgExpandAs(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgExpm1(ptr *Ctensor, self Ctensor)
- func AtgExpm1Out(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgExpm1_(ptr *Ctensor, self Ctensor)
- func AtgExponential_(ptr *Ctensor, self Ctensor, lambd float64)
- func AtgEye(ptr *Ctensor, n int64, optionsKind int32, optionsDevice int32)
- func AtgEye1(ptr *Ctensor, n int64, m int64, optionsKind int32, optionsDevice int32)
- func AtgEyeOut(ptr *Ctensor, out Ctensor, n int64)
- func AtgEyeOut1(ptr *Ctensor, out Ctensor, n int64, m int64)
- func AtgFakeQuantizePerChannelAffine(ptr *Ctensor, self Ctensor, scale Ctensor, zeroPoint Ctensor, axis int64, ...)
- func AtgFakeQuantizePerChannelAffineBackward(ptr *Ctensor, grad Ctensor, self Ctensor, scale Ctensor, zeroPoint Ctensor, ...)
- func AtgFakeQuantizePerTensorAffine(ptr *Ctensor, self Ctensor, scale float64, zeroPoint int64, quantMin int64, ...)
- func AtgFakeQuantizePerTensorAffineBackward(ptr *Ctensor, grad Ctensor, self Ctensor, scale float64, zeroPoint int64, ...)
- func AtgFbgemmLinearFp16Weight(ptr *Ctensor, input Ctensor, packedWeight Ctensor, bias Ctensor)
- func AtgFbgemmLinearFp16WeightFp32Activation(ptr *Ctensor, input Ctensor, packedWeight Ctensor, bias Ctensor)
- func AtgFbgemmLinearInt8Weight(ptr *Ctensor, input Ctensor, weight Ctensor, packed Ctensor, ...)
- func AtgFbgemmLinearInt8WeightFp32Activation(ptr *Ctensor, input Ctensor, weight Ctensor, packed Ctensor, ...)
- func AtgFbgemmPackGemmMatrixFp16(ptr *Ctensor, input Ctensor)
- func AtgFbgemmPackQuantizedMatrix(ptr *Ctensor, input Ctensor)
- func AtgFbgemmPackQuantizedMatrix1(ptr *Ctensor, input Ctensor, k int64, n int64)
- func AtgFeatureAlphaDropout(ptr *Ctensor, input Ctensor, p float64, train int32)
- func AtgFeatureAlphaDropout_(ptr *Ctensor, self Ctensor, p float64, train int32)
- func AtgFeatureDropout(ptr *Ctensor, input Ctensor, p float64, train int32)
- func AtgFeatureDropout_(ptr *Ctensor, self Ctensor, p float64, train int32)
- func AtgFft(ptr *Ctensor, self Ctensor, signalNdim int64, normalized int32)
- func AtgFill1_(ptr *Ctensor, self Ctensor, value Ctensor)
- func AtgFillDiagonal_(ptr *Ctensor, self Ctensor, fillValue Cscalar, wrap int32)
- func AtgFill_(ptr *Ctensor, self Ctensor, value Cscalar)
- func AtgFlatten(ptr *Ctensor, self Ctensor, startDim int64, endDim int64)
- func AtgFlip(ptr *Ctensor, self Ctensor, dimsData []int64, dimsLen int)
- func AtgFloor(ptr *Ctensor, self Ctensor)
- func AtgFloorDivide(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgFloorDivide1(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgFloorDivide1_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgFloorDivideOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgFloorDivide_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgFloorOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgFloor_(ptr *Ctensor, self Ctensor)
- func AtgFmod(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgFmod1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgFmod1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgFmodOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgFmodOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgFmod_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgFrac(ptr *Ctensor, self Ctensor)
- func AtgFracOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgFrac_(ptr *Ctensor, self Ctensor)
- func AtgFractionalMaxPool2d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgFractionalMaxPool2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgFractionalMaxPool2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgFractionalMaxPool2dOut(ptr *Ctensor, output Ctensor, indices Ctensor, self Ctensor, ...)
- func AtgFractionalMaxPool3d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgFractionalMaxPool3dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgFractionalMaxPool3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgFractionalMaxPool3dOut(ptr *Ctensor, output Ctensor, indices Ctensor, self Ctensor, ...)
- func AtgFrobeniusNorm(ptr *Ctensor, self Ctensor)
- func AtgFrobeniusNorm1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, keepdim int32)
- func AtgFrobeniusNormOut(ptr *Ctensor, out Ctensor, self Ctensor, dimData []int64, dimLen int, ...)
- func AtgFromFile(ptr *Ctensor, filename string, shared int32, size int64, optionsKind int32, ...)
- func AtgFull(ptr *Ctensor, sizeData []int64, sizeLen int, fillValue Cscalar, ...)
- func AtgFullLike(ptr *Ctensor, self Ctensor, fillValue Cscalar)
- func AtgFullOut(ptr *Ctensor, out Ctensor, sizeData []int64, sizeLen int, fillValue Cscalar)
- func AtgGather(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, sparseGrad int32)
- func AtgGatherOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64, index Ctensor, ...)
- func AtgGe(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgGe1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgGe1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgGeOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgGeOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgGe_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgGelu(ptr *Ctensor, self Ctensor)
- func AtgGeluBackward(ptr *Ctensor, grad Ctensor, self Ctensor)
- func AtgGeometric_(ptr *Ctensor, self Ctensor, p float64)
- func AtgGeqrf(ptr *Ctensor, self Ctensor)
- func AtgGeqrfOut(ptr *Ctensor, a Ctensor, tau Ctensor, self Ctensor)
- func AtgGer(ptr *Ctensor, self Ctensor, vec2 Ctensor)
- func AtgGerOut(ptr *Ctensor, out Ctensor, self Ctensor, vec2 Ctensor)
- func AtgGlu(ptr *Ctensor, self Ctensor, dim int64)
- func AtgGluBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, dim int64)
- func AtgGluBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, dim int64)
- func AtgGluOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64)
- func AtgGrad(ptr *Ctensor, self Ctensor)
- func AtgGridSampler(ptr *Ctensor, input Ctensor, grid Ctensor, interpolationMode int64, ...)
- func AtgGridSampler2d(ptr *Ctensor, input Ctensor, grid Ctensor, interpolationMode int64, ...)
- func AtgGridSampler2dBackward(ptr *Ctensor, gradOutput Ctensor, input Ctensor, grid Ctensor, ...)
- func AtgGridSampler3d(ptr *Ctensor, input Ctensor, grid Ctensor, interpolationMode int64, ...)
- func AtgGridSampler3dBackward(ptr *Ctensor, gradOutput Ctensor, input Ctensor, grid Ctensor, ...)
- func AtgGroupNorm(ptr *Ctensor, input Ctensor, numGroups int64, weight Ctensor, bias Ctensor, ...)
- func AtgGru(ptr *Ctensor, input Ctensor, hx Ctensor, paramsData []Ctensor, paramsLen int, ...)
- func AtgGru1(ptr *Ctensor, data Ctensor, batchSizes Ctensor, hx Ctensor, ...)
- func AtgGruCell(ptr *Ctensor, input Ctensor, hx Ctensor, wIh Ctensor, wHh Ctensor, bIh Ctensor, ...)
- func AtgGt(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgGt1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgGt1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgGtOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgGtOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgGt_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgHammingWindow(ptr *Ctensor, windowLength int64, optionsKind int32, optionsDevice int32)
- func AtgHammingWindow1(ptr *Ctensor, windowLength int64, periodic int32, optionsKind int32, ...)
- func AtgHammingWindow2(ptr *Ctensor, windowLength int64, periodic int32, alpha float64, ...)
- func AtgHammingWindow3(ptr *Ctensor, windowLength int64, periodic int32, alpha float64, beta float64, ...)
- func AtgHannWindow(ptr *Ctensor, windowLength int64, optionsKind int32, optionsDevice int32)
- func AtgHannWindow1(ptr *Ctensor, windowLength int64, periodic int32, optionsKind int32, ...)
- func AtgHardshrink(ptr *Ctensor, self Ctensor)
- func AtgHardshrinkBackward(ptr *Ctensor, gradOut Ctensor, self Ctensor, lambd Cscalar)
- func AtgHardsigmoid(ptr *Ctensor, self Ctensor)
- func AtgHardsigmoidBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor)
- func AtgHardsigmoidOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgHardsigmoid_(ptr *Ctensor, self Ctensor)
- func AtgHardtanh(ptr *Ctensor, self Ctensor)
- func AtgHardtanhBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, minVal Cscalar, maxVal Cscalar)
- func AtgHardtanhBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgHardtanhOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgHardtanh_(ptr *Ctensor, self Ctensor)
- func AtgHingeEmbeddingLoss(ptr *Ctensor, self Ctensor, target Ctensor, margin float64, reduction int64)
- func AtgHistc(ptr *Ctensor, self Ctensor, bins int64)
- func AtgHistcOut(ptr *Ctensor, out Ctensor, self Ctensor, bins int64)
- func AtgHspmm(ptr *Ctensor, mat1 Ctensor, mat2 Ctensor)
- func AtgHspmmOut(ptr *Ctensor, out Ctensor, mat1 Ctensor, mat2 Ctensor)
- func AtgIfft(ptr *Ctensor, self Ctensor, signalNdim int64, normalized int32)
- func AtgIm2col(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgIm2colBackward(ptr *Ctensor, gradOutput Ctensor, inputSizeData []int64, inputSizeLen int, ...)
- func AtgIm2colBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, inputSizeData []int64, ...)
- func AtgIm2colOut(ptr *Ctensor, out Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgImag(ptr *Ctensor, self Ctensor)
- func AtgIndex(ptr *Ctensor, self Ctensor, indicesData []Ctensor, indicesLen int)
- func AtgIndexAdd(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, source Ctensor)
- func AtgIndexAdd_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, source Ctensor)
- func AtgIndexCopy(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, source Ctensor)
- func AtgIndexCopy_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, source Ctensor)
- func AtgIndexFill(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, value Cscalar)
- func AtgIndexFill1(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, value Ctensor)
- func AtgIndexFill1_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, value Ctensor)
- func AtgIndexFill_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, value Cscalar)
- func AtgIndexPut(ptr *Ctensor, self Ctensor, indicesData []Ctensor, indicesLen int, ...)
- func AtgIndexPut_(ptr *Ctensor, self Ctensor, indicesData []Ctensor, indicesLen int, ...)
- func AtgIndexSelect(ptr *Ctensor, self Ctensor, dim int64, index Ctensor)
- func AtgIndexSelectOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64, index Ctensor)
- func AtgIndices(ptr *Ctensor, self Ctensor)
- func AtgInstanceNorm(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, runningMean Ctensor, ...)
- func AtgIntRepr(ptr *Ctensor, self Ctensor)
- func AtgInverse(ptr *Ctensor, self Ctensor)
- func AtgInverseOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgIrfft(ptr *Ctensor, self Ctensor, signalNdim int64, normalized int32, onesided int32, ...)
- func AtgIsclose(ptr *Ctensor, self Ctensor, other Ctensor, rtol float64, atol float64, ...)
- func AtgIsfinite(ptr *Ctensor, self Ctensor)
- func AtgIsinf(ptr *Ctensor, self Ctensor)
- func AtgIsnan(ptr *Ctensor, self Ctensor)
- func AtgKlDiv(ptr *Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgKlDivBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, ...)
- func AtgKthvalue(ptr *Ctensor, self Ctensor, k int64, dim int64, keepdim int32)
- func AtgKthvalueOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, k int64, ...)
- func AtgL1Loss(ptr *Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgL1LossBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, ...)
- func AtgL1LossBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgL1LossOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgLayerNorm(ptr *Ctensor, input Ctensor, normalizedShapeData []int64, ...)
- func AtgLe(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgLe1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLe1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLeOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgLeOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgLe_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgLeakyRelu(ptr *Ctensor, self Ctensor)
- func AtgLeakyReluBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, negativeSlope Cscalar, ...)
- func AtgLeakyReluOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLeakyRelu_(ptr *Ctensor, self Ctensor)
- func AtgLerp(ptr *Ctensor, self Ctensor, end Ctensor, weight Cscalar)
- func AtgLerp1(ptr *Ctensor, self Ctensor, end Ctensor, weight Ctensor)
- func AtgLerp1_(ptr *Ctensor, self Ctensor, end Ctensor, weight Ctensor)
- func AtgLerpOut(ptr *Ctensor, out Ctensor, self Ctensor, end Ctensor, weight Cscalar)
- func AtgLerpOut1(ptr *Ctensor, out Ctensor, self Ctensor, end Ctensor, weight Ctensor)
- func AtgLerp_(ptr *Ctensor, self Ctensor, end Ctensor, weight Cscalar)
- func AtgLgamma(ptr *Ctensor, self Ctensor)
- func AtgLgammaOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLgamma_(ptr *Ctensor, self Ctensor)
- func AtgLinear(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor)
- func AtgLinspace(ptr *Ctensor, start Cscalar, end Cscalar, steps int64, optionsKind int32, ...)
- func AtgLinspaceOut(ptr *Ctensor, out Ctensor, start Cscalar, end Cscalar, steps int64)
- func AtgLog(ptr *Ctensor, self Ctensor)
- func AtgLog10(ptr *Ctensor, self Ctensor)
- func AtgLog10Out(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLog10_(ptr *Ctensor, self Ctensor)
- func AtgLog1p(ptr *Ctensor, self Ctensor)
- func AtgLog1pOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLog1p_(ptr *Ctensor, self Ctensor)
- func AtgLog2(ptr *Ctensor, self Ctensor)
- func AtgLog2Out(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLog2_(ptr *Ctensor, self Ctensor)
- func AtgLogNormal_(ptr *Ctensor, self Ctensor, mean float64, std float64)
- func AtgLogOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLogSigmoid(ptr *Ctensor, self Ctensor)
- func AtgLogSigmoidBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, buffer Ctensor)
- func AtgLogSigmoidBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgLogSigmoidOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLogSoftmax(ptr *Ctensor, self Ctensor, dim int64, dtype int32)
- func AtgLog_(ptr *Ctensor, self Ctensor)
- func AtgLogdet(ptr *Ctensor, self Ctensor)
- func AtgLogicalAnd(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalAndOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalAnd_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalNot(ptr *Ctensor, self Ctensor)
- func AtgLogicalNotOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgLogicalNot_(ptr *Ctensor, self Ctensor)
- func AtgLogicalOr(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalOrOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalOr_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalXor(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalXorOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgLogicalXor_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLogspace(ptr *Ctensor, start Cscalar, end Cscalar, steps int64, base float64, ...)
- func AtgLogspaceOut(ptr *Ctensor, out Ctensor, start Cscalar, end Cscalar, steps int64, ...)
- func AtgLogsumexp(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, keepdim int32)
- func AtgLogsumexpOut(ptr *Ctensor, out Ctensor, self Ctensor, dimData []int64, dimLen int, ...)
- func AtgLstm(ptr *Ctensor, input Ctensor, hxData []Ctensor, hxLen int, paramsData []Ctensor, ...)
- func AtgLstm1(ptr *Ctensor, data Ctensor, batchSizes Ctensor, hxData []Ctensor, hxLen int, ...)
- func AtgLstmCell(ptr *Ctensor, input Ctensor, hxData []Ctensor, hxLen int, wIh Ctensor, ...)
- func AtgLstsq(ptr *Ctensor, self Ctensor, a Ctensor)
- func AtgLstsqOut(ptr *Ctensor, x Ctensor, qr Ctensor, self Ctensor, a Ctensor)
- func AtgLt(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgLt1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLt1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgLtOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgLtOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgLt_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgLuSolve(ptr *Ctensor, self Ctensor, lUData Ctensor, lUPivots Ctensor)
- func AtgLuSolveOut(ptr *Ctensor, out Ctensor, self Ctensor, lUData Ctensor, lUPivots Ctensor)
- func AtgMarginRankingLoss(ptr *Ctensor, input1 Ctensor, input2 Ctensor, target Ctensor, margin float64, ...)
- func AtgMaskedFill(ptr *Ctensor, self Ctensor, mask Ctensor, value Cscalar)
- func AtgMaskedFill1(ptr *Ctensor, self Ctensor, mask Ctensor, value Ctensor)
- func AtgMaskedFill1_(ptr *Ctensor, self Ctensor, mask Ctensor, value Ctensor)
- func AtgMaskedFill_(ptr *Ctensor, self Ctensor, mask Ctensor, value Cscalar)
- func AtgMaskedScatter(ptr *Ctensor, self Ctensor, mask Ctensor, source Ctensor)
- func AtgMaskedScatter_(ptr *Ctensor, self Ctensor, mask Ctensor, source Ctensor)
- func AtgMaskedSelect(ptr *Ctensor, self Ctensor, mask Ctensor)
- func AtgMaskedSelectOut(ptr *Ctensor, out Ctensor, self Ctensor, mask Ctensor)
- func AtgMatmul(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgMatmulOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgMatrixPower(ptr *Ctensor, self Ctensor, n int64)
- func AtgMatrixRank(ptr *Ctensor, self Ctensor, symmetric int32)
- func AtgMatrixRank1(ptr *Ctensor, self Ctensor, tol float64, symmetric int32)
- func AtgMax(ptr *Ctensor, self Ctensor)
- func AtgMax1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgMax2(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgMaxOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgMaxOut1(ptr *Ctensor, max Ctensor, maxValues Ctensor, self Ctensor, dim int64, ...)
- func AtgMaxPool1d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgMaxPool1dWithIndices(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgMaxPool2d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgMaxPool2dWithIndices(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgMaxPool2dWithIndicesBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgMaxPool2dWithIndicesBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgMaxPool2dWithIndicesOut(ptr *Ctensor, out Ctensor, indices Ctensor, self Ctensor, ...)
- func AtgMaxPool3d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgMaxPool3dWithIndices(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgMaxPool3dWithIndicesBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, kernelSizeData []int64, ...)
- func AtgMaxPool3dWithIndicesBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgMaxPool3dWithIndicesOut(ptr *Ctensor, out Ctensor, indices Ctensor, self Ctensor, ...)
- func AtgMaxUnpool2d(ptr *Ctensor, self Ctensor, indices Ctensor, outputSizeData []int64, ...)
- func AtgMaxUnpool2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, indices Ctensor, ...)
- func AtgMaxUnpool2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgMaxUnpool2dOut(ptr *Ctensor, out Ctensor, self Ctensor, indices Ctensor, ...)
- func AtgMaxUnpool3d(ptr *Ctensor, self Ctensor, indices Ctensor, outputSizeData []int64, ...)
- func AtgMaxUnpool3dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, indices Ctensor, ...)
- func AtgMaxUnpool3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgMaxUnpool3dOut(ptr *Ctensor, out Ctensor, self Ctensor, indices Ctensor, ...)
- func AtgMaxValues(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, keepdim int32)
- func AtgMean(ptr *Ctensor, self Ctensor, dtype int32)
- func AtgMean1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, keepdim int32, ...)
- func AtgMeanOut(ptr *Ctensor, out Ctensor, self Ctensor, dimData []int64, dimLen int, ...)
- func AtgMedian(ptr *Ctensor, self Ctensor)
- func AtgMedian1(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgMedianOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, dim int64, ...)
- func AtgMin(ptr *Ctensor, self Ctensor)
- func AtgMin1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgMin2(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgMinOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgMinOut1(ptr *Ctensor, min Ctensor, minIndices Ctensor, self Ctensor, dim int64, ...)
- func AtgMinValues(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, keepdim int32)
- func AtgMiopenBatchNorm(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, runningMean Ctensor, ...)
- func AtgMiopenBatchNormBackward(ptr *Ctensor, input Ctensor, gradOutput Ctensor, weight Ctensor, ...)
- func AtgMiopenConvolution(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, ...)
- func AtgMiopenConvolutionBackwardBias(ptr *Ctensor, gradOutput Ctensor)
- func AtgMiopenConvolutionBackwardInput(ptr *Ctensor, selfSizeData []int64, selfSizeLen int, gradOutput Ctensor, ...)
- func AtgMiopenConvolutionBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, ...)
- func AtgMiopenConvolutionTranspose(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, ...)
- func AtgMiopenConvolutionTransposeBackwardInput(ptr *Ctensor, gradOutput Ctensor, weight Ctensor, paddingData []int64, ...)
- func AtgMiopenConvolutionTransposeBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, ...)
- func AtgMiopenDepthwiseConvolution(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, ...)
- func AtgMiopenDepthwiseConvolutionBackwardInput(ptr *Ctensor, selfSizeData []int64, selfSizeLen int, gradOutput Ctensor, ...)
- func AtgMiopenDepthwiseConvolutionBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, ...)
- func AtgMiopenRnn(ptr *Ctensor, input Ctensor, weightData []Ctensor, weightLen int, ...)
- func AtgMkldnnAdaptiveAvgPool2d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func AtgMkldnnConvolution(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, ...)
- func AtgMkldnnConvolutionBackwardInput(ptr *Ctensor, selfSizeData []int64, selfSizeLen int, gradOutput Ctensor, ...)
- func AtgMkldnnConvolutionBackwardWeights(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, ...)
- func AtgMkldnnLinear(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor)
- func AtgMkldnnMaxPool2d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgMkldnnReorderConv2dWeight(ptr *Ctensor, self Ctensor, paddingData []int64, paddingLen int, ...)
- func AtgMm(ptr *Ctensor, self Ctensor, mat2 Ctensor)
- func AtgMmOut(ptr *Ctensor, out Ctensor, self Ctensor, mat2 Ctensor)
- func AtgMode(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func AtgModeOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, dim int64, ...)
- func AtgMseLoss(ptr *Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgMseLossBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, ...)
- func AtgMseLossBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgMseLossOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgMul(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgMul1(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgMul1_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgMulOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgMul_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgMultiMarginLossBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, p Cscalar, ...)
- func AtgMultiMarginLossBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgMultilabelMarginLoss(ptr *Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgMultilabelMarginLossBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, ...)
- func AtgMultilabelMarginLossBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgMultilabelMarginLossOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgMultinomial(ptr *Ctensor, self Ctensor, numSamples int64, replacement int32)
- func AtgMultinomialOut(ptr *Ctensor, out Ctensor, self Ctensor, numSamples int64, replacement int32)
- func AtgMv(ptr *Ctensor, self Ctensor, vec Ctensor)
- func AtgMvOut(ptr *Ctensor, out Ctensor, self Ctensor, vec Ctensor)
- func AtgMvlgamma(ptr *Ctensor, self Ctensor, p int64)
- func AtgMvlgamma_(ptr *Ctensor, self Ctensor, p int64)
- func AtgNarrow(ptr *Ctensor, self Ctensor, dim int64, start int64, length int64)
- func AtgNarrow1(ptr *Ctensor, self Ctensor, dim int64, start Ctensor, length int64)
- func AtgNarrowCopy(ptr *Ctensor, self Ctensor, dim int64, start int64, length int64)
- func AtgNativeBatchNorm(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, runningMean Ctensor, ...)
- func AtgNativeBatchNormOut(ptr *Ctensor, out Ctensor, saveMean Ctensor, saveInvstd Ctensor, input Ctensor, ...)
- func AtgNativeLayerNorm(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, m int64, n int64, ...)
- func AtgNativeNorm(ptr *Ctensor, self Ctensor)
- func AtgNe(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgNe1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgNe1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgNeOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgNeOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgNe_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgNeg(ptr *Ctensor, self Ctensor)
- func AtgNegOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgNeg_(ptr *Ctensor, self Ctensor)
- func AtgNewEmpty(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgNewFull(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, fillValue Cscalar, ...)
- func AtgNewZeros(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgNllLoss(ptr *Ctensor, self Ctensor, target Ctensor, weight Ctensor, reduction int64, ...)
- func AtgNllLoss2d(ptr *Ctensor, self Ctensor, target Ctensor, weight Ctensor, reduction int64, ...)
- func AtgNllLoss2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, weight Ctensor, ...)
- func AtgNllLoss2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgNllLoss2dOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, weight Ctensor, ...)
- func AtgNllLossBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, weight Ctensor, ...)
- func AtgNllLossBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgNllLossOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, weight Ctensor, ...)
- func AtgNonzero(ptr *Ctensor, self Ctensor)
- func AtgNonzeroOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgNorm(ptr *Ctensor, self Ctensor)
- func AtgNorm1(ptr *Ctensor, self Ctensor, p Cscalar, dtype int32)
- func AtgNorm2(ptr *Ctensor, self Ctensor, p Cscalar, dimData []int64, dimLen int, ...)
- func AtgNorm3(ptr *Ctensor, self Ctensor, p Cscalar, dimData []int64, dimLen int, ...)
- func AtgNormExceptDim(ptr *Ctensor, v Ctensor, pow int64, dim int64)
- func AtgNormOut(ptr *Ctensor, out Ctensor, self Ctensor, p Cscalar, dimData []int64, ...)
- func AtgNormOut1(ptr *Ctensor, out Ctensor, self Ctensor, p Cscalar, dimData []int64, ...)
- func AtgNormalOut(ptr *Ctensor, out Ctensor, mean Ctensor, std float64)
- func AtgNormalOut1(ptr *Ctensor, out Ctensor, mean float64, std Ctensor)
- func AtgNormalOut2(ptr *Ctensor, out Ctensor, mean Ctensor, std Ctensor)
- func AtgNormalOut3(ptr *Ctensor, out Ctensor, mean float64, std float64, sizeData []int64, ...)
- func AtgNormal_(ptr *Ctensor, self Ctensor, mean float64, std float64)
- func AtgNuclearNorm(ptr *Ctensor, self Ctensor, keepdim int32)
- func AtgNuclearNorm1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, keepdim int32)
- func AtgNuclearNormOut(ptr *Ctensor, out Ctensor, self Ctensor, keepdim int32)
- func AtgNuclearNormOut1(ptr *Ctensor, out Ctensor, self Ctensor, dimData []int64, dimLen int, ...)
- func AtgNumpyT(ptr *Ctensor, self Ctensor)
- func AtgOneHot(ptr *Ctensor, self Ctensor, numClasses int64)
- func AtgOnes(ptr *Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgOnesLike(ptr *Ctensor, self Ctensor)
- func AtgOnesOut(ptr *Ctensor, out Ctensor, sizeData []int64, sizeLen int)
- func AtgOrgqr(ptr *Ctensor, self Ctensor, input2 Ctensor)
- func AtgOrgqrOut(ptr *Ctensor, out Ctensor, self Ctensor, input2 Ctensor)
- func AtgOrmqr(ptr *Ctensor, self Ctensor, input2 Ctensor, input3 Ctensor, left int32, ...)
- func AtgOrmqrOut(ptr *Ctensor, out Ctensor, self Ctensor, input2 Ctensor, input3 Ctensor, ...)
- func AtgPairwiseDistance(ptr *Ctensor, x1 Ctensor, x2 Ctensor, p float64, eps float64, keepdim int32)
- func AtgPdist(ptr *Ctensor, self Ctensor, p float64)
- func AtgPermute(ptr *Ctensor, self Ctensor, dimsData []int64, dimsLen int)
- func AtgPinMemory(ptr *Ctensor, self Ctensor)
- func AtgPinverse(ptr *Ctensor, self Ctensor, rcond float64)
- func AtgPixelShuffle(ptr *Ctensor, self Ctensor, upscaleFactor int64)
- func AtgPoisson(ptr *Ctensor, self Ctensor)
- func AtgPoissonNllLoss(ptr *Ctensor, input Ctensor, target Ctensor, logInput int32, full int32, ...)
- func AtgPolygamma(ptr *Ctensor, n int64, self Ctensor)
- func AtgPolygammaOut(ptr *Ctensor, out Ctensor, n int64, self Ctensor)
- func AtgPolygamma_(ptr *Ctensor, self Ctensor, n int64)
- func AtgPow(ptr *Ctensor, self Ctensor, exponent Cscalar)
- func AtgPow1(ptr *Ctensor, self Ctensor, exponent Ctensor)
- func AtgPow1_(ptr *Ctensor, self Ctensor, exponent Ctensor)
- func AtgPow2(ptr *Ctensor, selfScalar Cscalar, exponent Ctensor)
- func AtgPowOut(ptr *Ctensor, out Ctensor, self Ctensor, exponent Cscalar)
- func AtgPowOut1(ptr *Ctensor, out Ctensor, self Ctensor, exponent Ctensor)
- func AtgPowOut2(ptr *Ctensor, out Ctensor, selfScalar Cscalar, exponent Ctensor)
- func AtgPow_(ptr *Ctensor, self Ctensor, exponent Cscalar)
- func AtgPrelu(ptr *Ctensor, self Ctensor, weight Ctensor)
- func AtgPreluBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, weight Ctensor)
- func AtgProd(ptr *Ctensor, self Ctensor, dtype int32)
- func AtgProd1(ptr *Ctensor, self Ctensor, dim int64, keepdim int32, dtype int32)
- func AtgProdOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64, keepdim int32, dtype int32)
- func AtgPut_(ptr *Ctensor, self Ctensor, index Ctensor, source Ctensor, accumulate int32)
- func AtgQPerChannelScales(ptr *Ctensor, self Ctensor)
- func AtgQPerChannelZeroPoints(ptr *Ctensor, self Ctensor)
- func AtgQr(ptr *Ctensor, self Ctensor, some int32)
- func AtgQrOut(ptr *Ctensor, q Ctensor, r Ctensor, self Ctensor, some int32)
- func AtgQuantizePerChannel(ptr *Ctensor, self Ctensor, scales Ctensor, zeroPoints Ctensor, axis int64, ...)
- func AtgQuantizePerTensor(ptr *Ctensor, self Ctensor, scale float64, zeroPoint int64, dtype int32)
- func AtgQuantizedBatchNorm(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, mean Ctensor, ...)
- func AtgQuantizedGru(ptr *Ctensor, input Ctensor, hx Ctensor, paramsData []Ctensor, paramsLen int, ...)
- func AtgQuantizedGru1(ptr *Ctensor, data Ctensor, batchSizes Ctensor, hx Ctensor, ...)
- func AtgQuantizedGruCell(ptr *Ctensor, input Ctensor, hx Ctensor, wIh Ctensor, wHh Ctensor, bIh Ctensor, ...)
- func AtgQuantizedLstm(ptr *Ctensor, input Ctensor, hxData []Ctensor, hxLen int, paramsData []Ctensor, ...)
- func AtgQuantizedLstm1(ptr *Ctensor, data Ctensor, batchSizes Ctensor, hxData []Ctensor, hxLen int, ...)
- func AtgQuantizedLstmCell(ptr *Ctensor, input Ctensor, hxData []Ctensor, hxLen int, wIh Ctensor, ...)
- func AtgQuantizedMaxPool2d(ptr *Ctensor, self Ctensor, kernelSizeData []int64, kernelSizeLen int, ...)
- func AtgQuantizedRnnReluCell(ptr *Ctensor, input Ctensor, hx Ctensor, wIh Ctensor, wHh Ctensor, bIh Ctensor, ...)
- func AtgQuantizedRnnTanhCell(ptr *Ctensor, input Ctensor, hx Ctensor, wIh Ctensor, wHh Ctensor, bIh Ctensor, ...)
- func AtgRand(ptr *Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgRandLike(ptr *Ctensor, self Ctensor)
- func AtgRandOut(ptr *Ctensor, out Ctensor, sizeData []int64, sizeLen int)
- func AtgRandint(ptr *Ctensor, high int64, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgRandint1(ptr *Ctensor, low int64, high int64, sizeData []int64, sizeLen int, ...)
- func AtgRandintLike(ptr *Ctensor, self Ctensor, high int64)
- func AtgRandintLike1(ptr *Ctensor, self Ctensor, low int64, high int64)
- func AtgRandintOut(ptr *Ctensor, out Ctensor, high int64, sizeData []int64, sizeLen int)
- func AtgRandintOut1(ptr *Ctensor, out Ctensor, low int64, high int64, sizeData []int64, ...)
- func AtgRandn(ptr *Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgRandnLike(ptr *Ctensor, self Ctensor)
- func AtgRandnOut(ptr *Ctensor, out Ctensor, sizeData []int64, sizeLen int)
- func AtgRandom1_(ptr *Ctensor, self Ctensor, to int64)
- func AtgRandom2(ptr *Ctensor, self Ctensor, from int64, to int64)
- func AtgRandom_(ptr *Ctensor, self Ctensor)
- func AtgRandperm(ptr *Ctensor, n int64, optionsKind int32, optionsDevice int32)
- func AtgRandpermOut(ptr *Ctensor, out Ctensor, n int64)
- func AtgRange(ptr *Ctensor, start Cscalar, end Cscalar, optionsKind int32, ...)
- func AtgRange1(ptr *Ctensor, start Cscalar, end Cscalar, optionsKind int32, ...)
- func AtgRangeOut(ptr *Ctensor, out Ctensor, start Cscalar, end Cscalar)
- func AtgReal(ptr *Ctensor, self Ctensor)
- func AtgReciprocal(ptr *Ctensor, self Ctensor)
- func AtgReciprocalOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgReciprocal_(ptr *Ctensor, self Ctensor)
- func AtgReflectionPad1d(ptr *Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReflectionPad1dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, paddingData []int64, ...)
- func AtgReflectionPad1dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgReflectionPad1dOut(ptr *Ctensor, out Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReflectionPad2d(ptr *Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReflectionPad2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, paddingData []int64, ...)
- func AtgReflectionPad2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgReflectionPad2dOut(ptr *Ctensor, out Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgRelu(ptr *Ctensor, self Ctensor)
- func AtgRelu_(ptr *Ctensor, self Ctensor)
- func AtgRemainder(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgRemainder1(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgRemainder1_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgRemainderOut(ptr *Ctensor, out Ctensor, self Ctensor, other Cscalar)
- func AtgRemainderOut1(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgRemainder_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgRenorm(ptr *Ctensor, self Ctensor, p Cscalar, dim int64, maxnorm Cscalar)
- func AtgRenormOut(ptr *Ctensor, out Ctensor, self Ctensor, p Cscalar, dim int64, maxnorm Cscalar)
- func AtgRenorm_(ptr *Ctensor, self Ctensor, p Cscalar, dim int64, maxnorm Cscalar)
- func AtgRepeat(ptr *Ctensor, self Ctensor, repeatsData []int64, repeatsLen int)
- func AtgRepeatInterleave(ptr *Ctensor, repeats Ctensor)
- func AtgRepeatInterleave1(ptr *Ctensor, self Ctensor, repeats Ctensor, dim int64)
- func AtgRepeatInterleave2(ptr *Ctensor, self Ctensor, repeats int64, dim int64)
- func AtgReplicationPad1d(ptr *Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReplicationPad1dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, paddingData []int64, ...)
- func AtgReplicationPad1dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgReplicationPad1dOut(ptr *Ctensor, out Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReplicationPad2d(ptr *Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReplicationPad2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, paddingData []int64, ...)
- func AtgReplicationPad2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgReplicationPad2dOut(ptr *Ctensor, out Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReplicationPad3d(ptr *Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgReplicationPad3dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, paddingData []int64, ...)
- func AtgReplicationPad3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgReplicationPad3dOut(ptr *Ctensor, out Ctensor, self Ctensor, paddingData []int64, paddingLen int)
- func AtgRequiresGrad_(ptr *Ctensor, self Ctensor, requiresGrad int32)
- func AtgReshape(ptr *Ctensor, self Ctensor, shapeData []int64, shapeLen int)
- func AtgReshapeAs(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgResizeAs_(ptr *Ctensor, self Ctensor, theTemplate Ctensor)
- func AtgResize_(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int)
- func AtgRfft(ptr *Ctensor, self Ctensor, signalNdim int64, normalized int32, onesided int32)
- func AtgRnnRelu(ptr *Ctensor, input Ctensor, hx Ctensor, paramsData []Ctensor, paramsLen int, ...)
- func AtgRnnRelu1(ptr *Ctensor, data Ctensor, batchSizes Ctensor, hx Ctensor, ...)
- func AtgRnnReluCell(ptr *Ctensor, input Ctensor, hx Ctensor, wIh Ctensor, wHh Ctensor, bIh Ctensor, ...)
- func AtgRnnTanh(ptr *Ctensor, input Ctensor, hx Ctensor, paramsData []Ctensor, paramsLen int, ...)
- func AtgRnnTanh1(ptr *Ctensor, data Ctensor, batchSizes Ctensor, hx Ctensor, ...)
- func AtgRnnTanhCell(ptr *Ctensor, input Ctensor, hx Ctensor, wIh Ctensor, wHh Ctensor, bIh Ctensor, ...)
- func AtgRoll(ptr *Ctensor, self Ctensor, shiftsData []int64, shiftsLen int, ...)
- func AtgRot90(ptr *Ctensor, self Ctensor, k int64, dimsData []int64, dimsLen int)
- func AtgRound(ptr *Ctensor, self Ctensor)
- func AtgRoundOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgRound_(ptr *Ctensor, self Ctensor)
- func AtgRrelu(ptr *Ctensor, self Ctensor, training int32)
- func AtgRreluWithNoise(ptr *Ctensor, self Ctensor, noise Ctensor, training int32)
- func AtgRreluWithNoiseBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, noise Ctensor, lower Cscalar, ...)
- func AtgRreluWithNoiseOut(ptr *Ctensor, out Ctensor, self Ctensor, noise Ctensor, training int32)
- func AtgRreluWithNoise_(ptr *Ctensor, self Ctensor, noise Ctensor, training int32)
- func AtgRrelu_(ptr *Ctensor, self Ctensor, training int32)
- func AtgRsqrt(ptr *Ctensor, self Ctensor)
- func AtgRsqrtOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgRsqrt_(ptr *Ctensor, self Ctensor)
- func AtgRsub(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgRsub1(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgScalarTensor(ptr *Ctensor, s Cscalar, optionsKind int32, optionsDevice int32)
- func AtgScatter(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, src Ctensor)
- func AtgScatter1(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, value Cscalar)
- func AtgScatter1_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, value Cscalar)
- func AtgScatterAdd(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, src Ctensor)
- func AtgScatterAdd_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, src Ctensor)
- func AtgScatter_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, src Ctensor)
- func AtgSelect(ptr *Ctensor, self Ctensor, dim int64, index int64)
- func AtgSelu(ptr *Ctensor, self Ctensor)
- func AtgSelu_(ptr *Ctensor, self Ctensor)
- func AtgSet1_(ptr *Ctensor, self Ctensor, source Ctensor)
- func AtgSetRequiresGrad(ptr *Ctensor, self Ctensor, r int32)
- func AtgSet_(ptr *Ctensor, self Ctensor)
- func AtgSigmoid(ptr *Ctensor, self Ctensor)
- func AtgSigmoidBackward(ptr *Ctensor, gradOutput Ctensor, output Ctensor)
- func AtgSigmoidBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, output Ctensor)
- func AtgSigmoidOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgSigmoid_(ptr *Ctensor, self Ctensor)
- func AtgSign(ptr *Ctensor, self Ctensor)
- func AtgSignOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgSign_(ptr *Ctensor, self Ctensor)
- func AtgSin(ptr *Ctensor, self Ctensor)
- func AtgSinOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgSin_(ptr *Ctensor, self Ctensor)
- func AtgSinh(ptr *Ctensor, self Ctensor)
- func AtgSinhOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgSinh_(ptr *Ctensor, self Ctensor)
- func AtgSlice(ptr *Ctensor, self Ctensor, dim int64, start int64, end int64, step int64)
- func AtgSlogdet(ptr *Ctensor, self Ctensor)
- func AtgSlowConv3d(ptr *Ctensor, self Ctensor, weight Ctensor, kernelSizeData []int64, ...)
- func AtgSlowConv3dOut(ptr *Ctensor, out Ctensor, self Ctensor, weight Ctensor, ...)
- func AtgSlowConvDilated2d(ptr *Ctensor, self Ctensor, weight Ctensor, kernelSizeData []int64, ...)
- func AtgSlowConvDilated3d(ptr *Ctensor, self Ctensor, weight Ctensor, kernelSizeData []int64, ...)
- func AtgSlowConvTranspose2d(ptr *Ctensor, self Ctensor, weight Ctensor, kernelSizeData []int64, ...)
- func AtgSlowConvTranspose2dOut(ptr *Ctensor, out Ctensor, self Ctensor, weight Ctensor, ...)
- func AtgSlowConvTranspose3d(ptr *Ctensor, self Ctensor, weight Ctensor, kernelSizeData []int64, ...)
- func AtgSlowConvTranspose3dOut(ptr *Ctensor, out Ctensor, self Ctensor, weight Ctensor, ...)
- func AtgSmm(ptr *Ctensor, self Ctensor, mat2 Ctensor)
- func AtgSmoothL1Loss(ptr *Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgSmoothL1LossBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, ...)
- func AtgSmoothL1LossBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgSmoothL1LossOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgSoftMarginLoss(ptr *Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgSoftMarginLossBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, target Ctensor, ...)
- func AtgSoftMarginLossBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgSoftMarginLossOut(ptr *Ctensor, out Ctensor, self Ctensor, target Ctensor, reduction int64)
- func AtgSoftmax(ptr *Ctensor, self Ctensor, dim int64, dtype int32)
- func AtgSoftplus(ptr *Ctensor, self Ctensor)
- func AtgSoftplusBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, beta Cscalar, ...)
- func AtgSoftplusBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgSoftplusOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgSoftshrink(ptr *Ctensor, self Ctensor)
- func AtgSoftshrinkBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, lambd Cscalar)
- func AtgSoftshrinkBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, self Ctensor, ...)
- func AtgSoftshrinkOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgSolve(ptr *Ctensor, self Ctensor, a Ctensor)
- func AtgSolveOut(ptr *Ctensor, solution Ctensor, lu Ctensor, self Ctensor, a Ctensor)
- func AtgSort(ptr *Ctensor, self Ctensor, dim int64, descending int32)
- func AtgSortOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, dim int64, ...)
- func AtgSparseCooTensor(ptr *Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgSparseCooTensor1(ptr *Ctensor, indices Ctensor, values Ctensor, optionsKind int32, ...)
- func AtgSparseCooTensor2(ptr *Ctensor, indices Ctensor, values Ctensor, sizeData []int64, sizeLen int, ...)
- func AtgSparseMask(ptr *Ctensor, self Ctensor, mask Ctensor)
- func AtgSparseResizeAndClear_(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, sparseDim int64, ...)
- func AtgSparseResize_(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int, sparseDim int64, ...)
- func AtgSqrt(ptr *Ctensor, self Ctensor)
- func AtgSqrtOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgSqrt_(ptr *Ctensor, self Ctensor)
- func AtgSquare(ptr *Ctensor, self Ctensor)
- func AtgSquare_(ptr *Ctensor, self Ctensor)
- func AtgSqueeze(ptr *Ctensor, self Ctensor)
- func AtgSqueeze1(ptr *Ctensor, self Ctensor, dim int64)
- func AtgSqueeze1_(ptr *Ctensor, self Ctensor, dim int64)
- func AtgSqueeze_(ptr *Ctensor, self Ctensor)
- func AtgSspaddmm(ptr *Ctensor, self Ctensor, mat1 Ctensor, mat2 Ctensor)
- func AtgSspaddmmOut(ptr *Ctensor, out Ctensor, self Ctensor, mat1 Ctensor, mat2 Ctensor)
- func AtgStack(ptr *Ctensor, tensorsData []Ctensor, tensorsLen int, dim int64)
- func AtgStackOut(ptr *Ctensor, out Ctensor, tensorsData []Ctensor, tensorsLen int, dim int64)
- func AtgStd(ptr *Ctensor, self Ctensor, unbiased int32)
- func AtgStd1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, unbiased int32, ...)
- func AtgStdMean(ptr *Ctensor, self Ctensor, unbiased int32)
- func AtgStdMean1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, unbiased int32, ...)
- func AtgStdOut(ptr *Ctensor, out Ctensor, self Ctensor, dimData []int64, dimLen int, ...)
- func AtgStft(ptr *Ctensor, self Ctensor, nFft int64, hopLength int64, winLength int64, ...)
- func AtgSub(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgSub1(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgSub1_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgSubOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgSub_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgSum(ptr *Ctensor, self Ctensor, dtype int32)
- func AtgSum1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, keepdim int32, ...)
- func AtgSumOut(ptr *Ctensor, out Ctensor, self Ctensor, dimData []int64, dimLen int, ...)
- func AtgSumToSize(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int)
- func AtgSvd(ptr *Ctensor, self Ctensor, some int32, computeUv int32)
- func AtgSvdOut(ptr *Ctensor, u Ctensor, s Ctensor, v Ctensor, self Ctensor, some int32, ...)
- func AtgSymeig(ptr *Ctensor, self Ctensor, eigenvectors int32, upper int32)
- func AtgSymeigOut(ptr *Ctensor, e Ctensor, v Ctensor, self Ctensor, eigenvectors int32, ...)
- func AtgT(ptr *Ctensor, self Ctensor)
- func AtgT_(ptr *Ctensor, self Ctensor)
- func AtgTake(ptr *Ctensor, self Ctensor, index Ctensor)
- func AtgTakeOut(ptr *Ctensor, out Ctensor, self Ctensor, index Ctensor)
- func AtgTan(ptr *Ctensor, self Ctensor)
- func AtgTanOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgTan_(ptr *Ctensor, self Ctensor)
- func AtgTanh(ptr *Ctensor, self Ctensor)
- func AtgTanhBackward(ptr *Ctensor, gradOutput Ctensor, output Ctensor)
- func AtgTanhBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, output Ctensor)
- func AtgTanhOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgTanh_(ptr *Ctensor, self Ctensor)
- func AtgTensordot(ptr *Ctensor, self Ctensor, other Ctensor, dimsSelfData []int64, ...)
- func AtgThreshold(ptr *Ctensor, self Ctensor, threshold Cscalar, value Cscalar)
- func AtgThresholdBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor, threshold Cscalar)
- func AtgThresholdOut(ptr *Ctensor, out Ctensor, self Ctensor, threshold Cscalar, value Cscalar)
- func AtgThreshold_(ptr *Ctensor, self Ctensor, threshold Cscalar, value Cscalar)
- func AtgTo(ptr *Ctensor, self Ctensor, device int32)
- func AtgTo1(ptr *Ctensor, self Ctensor, optionsKind int32, optionsDevice int32, ...)
- func AtgTo2(ptr *Ctensor, self Ctensor, dtype int32, nonBlocking int32, copy int32)
- func AtgTo3(ptr *Ctensor, self Ctensor, other Ctensor, nonBlocking int32, copy int32)
- func AtgTo4(ptr *Ctensor, self Ctensor, device int32, dtype int32, nonBlocking int32, ...)
- func AtgToDense(ptr *Ctensor, self Ctensor)
- func AtgToDenseBackward(ptr *Ctensor, grad Ctensor, input Ctensor)
- func AtgToMkldnn(ptr *Ctensor, self Ctensor)
- func AtgToMkldnnBackward(ptr *Ctensor, grad Ctensor, input Ctensor)
- func AtgToSparse(ptr *Ctensor, self Ctensor)
- func AtgToSparse1(ptr *Ctensor, self Ctensor, sparseDim int64)
- func AtgTopk(ptr *Ctensor, self Ctensor, k int64, dim int64, largest int32, sorted int32)
- func AtgTopkOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, k int64, ...)
- func AtgTotype(ptr *Ctensor, self Ctensor, scalarType int32)
- func AtgTrace(ptr *Ctensor, self Ctensor)
- func AtgTranspose(ptr *Ctensor, self Ctensor, dim0 int64, dim1 int64)
- func AtgTranspose_(ptr *Ctensor, self Ctensor, dim0 int64, dim1 int64)
- func AtgTrapz(ptr *Ctensor, y Ctensor, x Ctensor, dim int64)
- func AtgTrapz1(ptr *Ctensor, y Ctensor, dx float64, dim int64)
- func AtgTriangularSolve(ptr *Ctensor, self Ctensor, a Ctensor, upper int32, transpose int32, ...)
- func AtgTriangularSolveOut(ptr *Ctensor, x Ctensor, m Ctensor, self Ctensor, a Ctensor, upper int32, ...)
- func AtgTril(ptr *Ctensor, self Ctensor, diagonal int64)
- func AtgTrilIndices(ptr *Ctensor, row int64, col int64, offset int64, optionsKind int32, ...)
- func AtgTrilOut(ptr *Ctensor, out Ctensor, self Ctensor, diagonal int64)
- func AtgTril_(ptr *Ctensor, self Ctensor, diagonal int64)
- func AtgTripletMarginLoss(ptr *Ctensor, anchor Ctensor, positive Ctensor, negative Ctensor, ...)
- func AtgTriu(ptr *Ctensor, self Ctensor, diagonal int64)
- func AtgTriuIndices(ptr *Ctensor, row int64, col int64, offset int64, optionsKind int32, ...)
- func AtgTriuOut(ptr *Ctensor, out Ctensor, self Ctensor, diagonal int64)
- func AtgTriu_(ptr *Ctensor, self Ctensor, diagonal int64)
- func AtgTrueDivide(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgTrueDivide1(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgTrueDivide1_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtgTrueDivideOut(ptr *Ctensor, out Ctensor, self Ctensor, other Ctensor)
- func AtgTrueDivide_(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgTrunc(ptr *Ctensor, self Ctensor)
- func AtgTruncOut(ptr *Ctensor, out Ctensor, self Ctensor)
- func AtgTrunc_(ptr *Ctensor, self Ctensor)
- func AtgTypeAs(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgUnfold(ptr *Ctensor, self Ctensor, dimension int64, size int64, step int64)
- func AtgUniform_(ptr *Ctensor, self Ctensor, from float64, to float64)
- func AtgUniqueConsecutive(ptr *Ctensor, self Ctensor, returnInverse int32, returnCounts int32, dim int64)
- func AtgUniqueDim(ptr *Ctensor, self Ctensor, dim int64, sorted int32, returnInverse int32, ...)
- func AtgUniqueDimConsecutive(ptr *Ctensor, self Ctensor, dim int64, returnInverse int32, returnCounts int32)
- func AtgUnsqueeze(ptr *Ctensor, self Ctensor, dim int64)
- func AtgUnsqueeze_(ptr *Ctensor, self Ctensor, dim int64)
- func AtgUpsampleBicubic2d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleBicubic2dBackward(ptr *Ctensor, gradOutput Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleBicubic2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleBicubic2dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleBilinear2d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleBilinear2dBackward(ptr *Ctensor, gradOutput Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleBilinear2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleBilinear2dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleLinear1d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleLinear1dBackward(ptr *Ctensor, gradOutput Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleLinear1dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleLinear1dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleNearest1d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleNearest1dBackward(ptr *Ctensor, gradOutput Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleNearest1dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleNearest1dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleNearest2d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleNearest2dBackward(ptr *Ctensor, gradOutput Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleNearest2dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleNearest2dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleNearest3d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleNearest3dBackward(ptr *Ctensor, gradOutput Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleNearest3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleNearest3dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleTrilinear3d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleTrilinear3dBackward(ptr *Ctensor, gradOutput Ctensor, outputSizeData []int64, outputSizeLen int, ...)
- func AtgUpsampleTrilinear3dBackwardOut(ptr *Ctensor, gradInput Ctensor, gradOutput Ctensor, outputSizeData []int64, ...)
- func AtgUpsampleTrilinear3dOut(ptr *Ctensor, out Ctensor, self Ctensor, outputSizeData []int64, ...)
- func AtgValues(ptr *Ctensor, self Ctensor)
- func AtgVar(ptr *Ctensor, self Ctensor, unbiased int32)
- func AtgVar1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, unbiased int32, ...)
- func AtgVarMean(ptr *Ctensor, self Ctensor, unbiased int32)
- func AtgVarMean1(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, unbiased int32, ...)
- func AtgVarOut(ptr *Ctensor, out Ctensor, self Ctensor, dimData []int64, dimLen int, ...)
- func AtgView(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int)
- func AtgViewAs(ptr *Ctensor, self Ctensor, other Ctensor)
- func AtgWhere1(ptr *Ctensor, condition Ctensor, self Ctensor, other Ctensor)
- func AtgZero_(ptr *Ctensor, self Ctensor)
- func AtgZeros(ptr *Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func AtgZerosLike(ptr *Ctensor, self Ctensor)
- func AtgZerosOut(ptr *Ctensor, out Ctensor, sizeData []int64, sizeLen int)
- func Atg_AdaptiveAvgPool2d(ptr *Ctensor, self Ctensor, outputSizeData []int64, outputSizeLen int)
- func Atg_AdaptiveAvgPool2dBackward(ptr *Ctensor, gradOutput Ctensor, self Ctensor)
- func Atg_Addr(ptr *Ctensor, self Ctensor, vec1 Ctensor, vec2 Ctensor)
- func Atg_AddrOut(ptr *Ctensor, out Ctensor, self Ctensor, vec1 Ctensor, vec2 Ctensor)
- func Atg_Addr_(ptr *Ctensor, self Ctensor, vec1 Ctensor, vec2 Ctensor)
- func Atg_AmpUpdateScale(ptr *Ctensor, growthTracker Ctensor, currentScale Ctensor, foundInf Ctensor, ...)
- func Atg_BaddbmmMkl_(ptr *Ctensor, self Ctensor, batch1 Ctensor, batch2 Ctensor)
- func Atg_CastByte(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_CastChar(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_CastDouble(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_CastFloat(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_CastHalf(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_CastInt(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_CastLong(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_CastShort(ptr *Ctensor, self Ctensor, nonBlocking int32)
- func Atg_Cat(ptr *Ctensor, tensorsData []Ctensor, tensorsLen int, dim int64)
- func Atg_CatOut(ptr *Ctensor, out Ctensor, tensorsData []Ctensor, tensorsLen int, dim int64)
- func Atg_CdistBackward(ptr *Ctensor, grad Ctensor, x1 Ctensor, x2 Ctensor, p float64, cdist Ctensor)
- func Atg_CholeskyHelper(ptr *Ctensor, self Ctensor, upper int32)
- func Atg_CholeskySolveHelper(ptr *Ctensor, self Ctensor, a Ctensor, upper int32)
- func Atg_Coalesced_(ptr *Ctensor, self Ctensor, coalesced int32)
- func Atg_Convolution(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func Atg_ConvolutionNogroup(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, ...)
- func Atg_CopyFrom(ptr *Ctensor, self Ctensor, dst Ctensor, nonBlocking int32)
- func Atg_CtcLoss(ptr *Ctensor, logProbs Ctensor, targets Ctensor, inputLengthsData []int64, ...)
- func Atg_CtcLossBackward(ptr *Ctensor, grad Ctensor, logProbs Ctensor, targets Ctensor, ...)
- func Atg_CudnnCtcLoss(ptr *Ctensor, logProbs Ctensor, targets Ctensor, inputLengthsData []int64, ...)
- func Atg_CudnnInitDropoutState(ptr *Ctensor, dropout float64, train int32, dropoutSeed int64, ...)
- func Atg_CudnnRnn(ptr *Ctensor, input Ctensor, weightData []Ctensor, weightLen int, ...)
- func Atg_CudnnRnnFlattenWeight(ptr *Ctensor, weightArrData []Ctensor, weightArrLen int, weightStride0 int64, ...)
- func Atg_Cumprod(ptr *Ctensor, self Ctensor, dim int64)
- func Atg_CumprodOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64)
- func Atg_Cumsum(ptr *Ctensor, self Ctensor, dim int64)
- func Atg_CumsumOut(ptr *Ctensor, out Ctensor, self Ctensor, dim int64)
- func Atg_DimArange(ptr *Ctensor, like Ctensor, dim int64)
- func Atg_DirichletGrad(ptr *Ctensor, x Ctensor, alpha Ctensor, total Ctensor)
- func Atg_EmbeddingBag(ptr *Ctensor, weight Ctensor, indices Ctensor, offsets Ctensor, ...)
- func Atg_EmbeddingBagBackward(ptr *Ctensor, grad Ctensor, indices Ctensor, offsets Ctensor, ...)
- func Atg_EmbeddingBagDenseBackward(ptr *Ctensor, grad Ctensor, indices Ctensor, offsets Ctensor, ...)
- func Atg_EmbeddingBagPerSampleWeightsBackward(ptr *Ctensor, grad Ctensor, weight Ctensor, indices Ctensor, offsets Ctensor, ...)
- func Atg_EmbeddingBagSparseBackward(ptr *Ctensor, grad Ctensor, indices Ctensor, offsets Ctensor, ...)
- func Atg_EmptyAffineQuantized(ptr *Ctensor, sizeData []int64, sizeLen int, optionsKind int32, ...)
- func Atg_EmptyPerChannelAffineQuantized(ptr *Ctensor, sizeData []int64, sizeLen int, scales Ctensor, ...)
- func Atg_FftWithSize(ptr *Ctensor, self Ctensor, signalNdim int64, complexInput int32, ...)
- func Atg_FusedDropout(ptr *Ctensor, self Ctensor, p float64)
- func Atg_GatherSparseBackward(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, grad Ctensor)
- func Atg_IndexCopy_(ptr *Ctensor, self Ctensor, dim int64, index Ctensor, source Ctensor)
- func Atg_IndexPutImpl_(ptr *Ctensor, self Ctensor, indicesData []Ctensor, indicesLen int, ...)
- func Atg_Indices(ptr *Ctensor, self Ctensor)
- func Atg_InverseHelper(ptr *Ctensor, self Ctensor)
- func Atg_LogSoftmax(ptr *Ctensor, self Ctensor, dim int64, halfToFloat int32)
- func Atg_LogSoftmaxBackwardData(ptr *Ctensor, gradOutput Ctensor, output Ctensor, dim int64, self Ctensor)
- func Atg_LuSolveHelper(ptr *Ctensor, self Ctensor, lUData Ctensor, lUPivots Ctensor)
- func Atg_LuWithInfo(ptr *Ctensor, self Ctensor, pivot int32, checkErrors int32)
- func Atg_MakePerChannelQuantizedTensor(ptr *Ctensor, self Ctensor, scale Ctensor, zeroPoint Ctensor, axis int64)
- func Atg_MakePerTensorQuantizedTensor(ptr *Ctensor, self Ctensor, scale float64, zeroPoint int64)
- func Atg_MaskedScale(ptr *Ctensor, self Ctensor, mask Ctensor, scale float64)
- func Atg_Max(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func Atg_MaxOut(ptr *Ctensor, max Ctensor, maxIndices Ctensor, self Ctensor, dim int64, ...)
- func Atg_Min(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func Atg_MinOut(ptr *Ctensor, min Ctensor, minIndices Ctensor, self Ctensor, dim int64, ...)
- func Atg_MkldnnReshape(ptr *Ctensor, self Ctensor, shapeData []int64, shapeLen int)
- func Atg_MkldnnTranspose(ptr *Ctensor, self Ctensor, dim0 int64, dim1 int64)
- func Atg_MkldnnTranspose_(ptr *Ctensor, self Ctensor, dim0 int64, dim1 int64)
- func Atg_Mode(ptr *Ctensor, self Ctensor, dim int64, keepdim int32)
- func Atg_ModeOut(ptr *Ctensor, values Ctensor, indices Ctensor, self Ctensor, dim int64, ...)
- func Atg_MultinomialAliasDraw(ptr *Ctensor, j Ctensor, q Ctensor, numSamples int64)
- func Atg_MultinomialAliasSetup(ptr *Ctensor, probs Ctensor)
- func Atg_NnpackSpatialConvolution(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, ...)
- func Atg_NnpackSpatialConvolutionBackwardInput(ptr *Ctensor, input Ctensor, gradOutput Ctensor, weight Ctensor, ...)
- func Atg_NnpackSpatialConvolutionBackwardWeight(ptr *Ctensor, input Ctensor, weightsizeData []int64, weightsizeLen int, ...)
- func Atg_PackPaddedSequence(ptr *Ctensor, input Ctensor, lengths Ctensor, batchFirst int32)
- func Atg_PackPaddedSequenceBackward(ptr *Ctensor, grad Ctensor, inputSizeData []int64, inputSizeLen int, ...)
- func Atg_PadPackedSequence(ptr *Ctensor, data Ctensor, batchSizes Ctensor, batchFirst int32, ...)
- func Atg_PdistBackward(ptr *Ctensor, grad Ctensor, self Ctensor, p float64, pdist Ctensor)
- func Atg_QrHelper(ptr *Ctensor, self Ctensor, some int32)
- func Atg_ReshapeFromTensor(ptr *Ctensor, self Ctensor, shape Ctensor)
- func Atg_SWhere(ptr *Ctensor, condition Ctensor, self Ctensor, other Ctensor)
- func Atg_SampleDirichlet(ptr *Ctensor, self Ctensor)
- func Atg_ShapeAsTensor(ptr *Ctensor, self Ctensor)
- func Atg_SobolEngineDraw(ptr *Ctensor, quasi Ctensor, n int64, sobolstate Ctensor, dimension int64, ...)
- func Atg_SobolEngineFf_(ptr *Ctensor, self Ctensor, n int64, sobolstate Ctensor, dimension int64, ...)
- func Atg_SobolEngineInitializeState_(ptr *Ctensor, self Ctensor, dimension int64)
- func Atg_SobolEngineScramble_(ptr *Ctensor, self Ctensor, ltm Ctensor, dimension int64)
- func Atg_Softmax(ptr *Ctensor, self Ctensor, dim int64, halfToFloat int32)
- func Atg_SoftmaxBackwardData(ptr *Ctensor, gradOutput Ctensor, output Ctensor, dim int64, self Ctensor)
- func Atg_SolveHelper(ptr *Ctensor, self Ctensor, a Ctensor)
- func Atg_SparseAddmm(ptr *Ctensor, self Ctensor, sparse Ctensor, dense Ctensor)
- func Atg_SparseCooTensorUnsafe(ptr *Ctensor, indices Ctensor, values Ctensor, sizeData []int64, sizeLen int, ...)
- func Atg_SparseCooTensorWithDims(ptr *Ctensor, sparseDim int64, denseDim int64, sizeData []int64, sizeLen int, ...)
- func Atg_SparseCooTensorWithDimsAndTensors(ptr *Ctensor, sparseDim int64, denseDim int64, sizeData []int64, sizeLen int, ...)
- func Atg_SparseMm(ptr *Ctensor, sparse Ctensor, dense Ctensor)
- func Atg_SparseSum(ptr *Ctensor, self Ctensor)
- func Atg_SparseSum1(ptr *Ctensor, self Ctensor, dtype int32)
- func Atg_SparseSum2(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int)
- func Atg_SparseSum3(ptr *Ctensor, self Ctensor, dimData []int64, dimLen int, dtype int32)
- func Atg_SparseSumBackward(ptr *Ctensor, grad Ctensor, self Ctensor, dimData []int64, dimLen int)
- func Atg_StandardGamma(ptr *Ctensor, self Ctensor)
- func Atg_StandardGammaGrad(ptr *Ctensor, self Ctensor, output Ctensor)
- func Atg_Std(ptr *Ctensor, self Ctensor, unbiased int32)
- func Atg_SvdHelper(ptr *Ctensor, self Ctensor, some int32, computeUv int32)
- func Atg_SymeigHelper(ptr *Ctensor, self Ctensor, eigenvectors int32, upper int32)
- func Atg_TriangularSolveHelper(ptr *Ctensor, self Ctensor, a Ctensor, upper int32, transpose int32, ...)
- func Atg_Trilinear(ptr *Ctensor, i1 Ctensor, i2 Ctensor, i3 Ctensor, expand1Data []int64, ...)
- func Atg_Unique(ptr *Ctensor, self Ctensor, sorted int32, returnInverse int32)
- func Atg_Unique2(ptr *Ctensor, self Ctensor, sorted int32, returnInverse int32, ...)
- func Atg_UnsafeView(ptr *Ctensor, self Ctensor, sizeData []int64, sizeLen int)
- func Atg_Values(ptr *Ctensor, self Ctensor)
- func Atg_Var(ptr *Ctensor, self Ctensor, unbiased int32)
- func Atg_WeightNorm(ptr *Ctensor, v Ctensor, g Ctensor, dim int64)
- func Atg_WeightNormCudaInterface(ptr *Ctensor, v Ctensor, g Ctensor, dim int64)
- func Atg_WeightNormCudaInterfaceBackward(ptr *Ctensor, gradW Ctensor, savedV Ctensor, savedG Ctensor, ...)
- func Atg_WeightNormDifferentiableBackward(ptr *Ctensor, gradW Ctensor, savedV Ctensor, savedG Ctensor, ...)
- func Atg__And1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__And_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Iand1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Iand_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Ilshift1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Ilshift_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Ior1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Ior_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Irshift1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Irshift_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Ixor1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Ixor_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Lshift1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Lshift_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Or1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Or_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Rshift1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Rshift_(ptr *Ctensor, self Ctensor, other Cscalar)
- func Atg__Xor1(ptr *Ctensor, self Ctensor, other Ctensor)
- func Atg__Xor_(ptr *Ctensor, self Ctensor, other Cscalar)
- func AtiFree(val Civalue)
- func AtiLength(val Civalue) int32
- func AtiTag(val Civalue) int32
- func AtiToBool(val Civalue) bool
- func AtiToBoolList(val Civalue, ptr unsafe.Pointer, boolListLen int)
- func AtiToDouble(val Civalue) float64
- func AtiToDoubleList(val Civalue, ptr unsafe.Pointer, doubleListLen int)
- func AtiToGenericDict(val Civalue, ptr *Civalue, genericDictLen int)
- func AtiToGenericList(val Civalue, ptr *Civalue, genericListLen int)
- func AtiToInt(val Civalue) int64
- func AtiToIntList(val Civalue, ptr unsafe.Pointer, intListLen int)
- func AtiToString(val Civalue) string
- func AtiToTensorList(val Civalue, ptr *Ctensor, tensorListLen int)
- func AtiToTuple(val Civalue, ptr *Civalue, tupleLen int)
- func AtiTupleLength(val Civalue) int32
- func AtmFree(m Cmodule)
- func AtmTo(m Cmodule, device int32, dtype int32, nonBlocking bool)
- func AtoAddParameters(coptimizer Coptimizer, tensors []Ctensor, ntensors int)
- func AtoFree(coptimizer Coptimizer)
- func AtoSetLearningRate(coptimizer Coptimizer, learningRate float64)
- func AtoSetMomentum(coptimizer Coptimizer, momentum float64)
- func AtoStep(coptimizer Coptimizer)
- func AtoZeroGrad(coptimizer Coptimizer)
- func AtsFree(cscalar Cscalar)
- func AtsToFloat(cscalar Cscalar) float64
- func AtsToInt(cscalar Cscalar) int64
- func AtsToString(cscalar Cscalar) string
- func GetAndResetLastErr() *C.char
- type Civalue
- func AtiBool(val bool) Civalue
- func AtiBoolList(boolListData []bool, boolListLen int) Civalue
- func AtiDouble(val float64) Civalue
- func AtiDoubleList(doubleListData []float64, doubleListLen int) Civalue
- func AtiGenericDict(genericDictData []Civalue, genericDictLen int) Civalue
- func AtiGenericList(genericListData []Civalue, genericListLen int) Civalue
- func AtiInt(val int64) Civalue
- func AtiIntList(intListData []int64, intListLen int) Civalue
- func AtiNone() Civalue
- func AtiString(val string) Civalue
- func AtiTensor(ts Ctensor) Civalue
- func AtiTensorList(tensorListData []Ctensor, tensorListLen int) Civalue
- func AtiTuple(tupleData []Civalue, tupleLen int) Civalue
- func AtmForward_(m Cmodule, ivalues *Civalue, nivalues int) Civalue
- type Cmodule
- type Coptimizer
- type Cscalar
- type Ctensor
- func AtGet(ts Ctensor, index int) Ctensor
- func AtLoad(path string) Ctensor
- func AtLoadImage(path string) Ctensor
- func AtNewTensor() Ctensor
- func AtResizeImage(ts Ctensor, w, h int64) Ctensor
- func AtShallowClone(ts Ctensor) Ctensor
- func AtTensorOfData(vs unsafe.Pointer, dims []int64, ndims uint, elt_size_in_bytes uint, kind int) Ctensor
- func AtgAlignTensors(tensorsData []Ctensor, tensorsLen int) *Ctensor
- func AtgBroadcastTensors(tensorsData []Ctensor, tensorsLen int) *Ctensor
- func AtgChunk(self Ctensor, chunks int64, dim int64) *Ctensor
- func AtgMeshgrid(tensorsData []Ctensor, tensorsLen int) *Ctensor
- func AtgNonzeroNumpy(self Ctensor) *Ctensor
- func AtgSplit(self Ctensor, splitSize int64, dim int64) *Ctensor
- func AtgSplitWithSizes(self Ctensor, splitSizesData []int64, splitSizesLen int, dim int64) *Ctensor
- func AtgUnbind(self Ctensor, dim int64) *Ctensor
- func AtgWhere(condition Ctensor) *Ctensor
- func AtiToTensor(val Civalue) Ctensor
- func AtmForward(m Cmodule, tensors *Ctensor, ntensors int) Ctensor
- func NewTensor() Ctensor
- type LoadData
- type NamedCtensor
- type PointerStore
Constants ¶
This section is empty.
Variables ¶
var PStore = NewPointerStore()
Functions ¶
func AtBackward ¶
void at_backward(tensor, int, int);
func AtCopyData ¶
void at_copy_data(tensor tensor, void *vs, size_t numel, size_t element_size_in_bytes);
func AtDoubleValueAtIndexes ¶
double at_double_value_at_indexes(tensor, int64_t *indexes, int indexes_len);
func AtInt64ValueAtIndexes ¶
int64_t at_int64_value_at_indexes(tensor, int64_t *indexes, int indexes_len);
func AtLoadCallback ¶
void at_load_callback(char *filename, void *data, void (*f)(void *, char *, tensor));
- void at_load_callback(char *filename, void *data, void (*f)(void *, char *, tensor)) {
- PROTECT(
- auto module = torch::jit::load(filename);
- for (const auto &p : module.named_parameters()) {
- auto v = p.value;
- f(data, (char*)p.name.c_str(), new torch::Tensor(v));
- }
- )
- } *
func AtLoadCallbackWithDevice ¶
* void at_load_callback_with_device(char *filename, void *data, void (*f)(void *, char *, tensor), int device_id) { * PROTECT( * auto module = torch::jit::load(filename, device_of_int(device_id)); * for (const auto &p : module.named_parameters()) { * auto v = p.value; * f(data, (char*)p.name.c_str(), new torch::Tensor(v)); * } * ) * } *
func AtLoadMulti ¶
[at_load_multi] takes as input an array of nullptr for [tensors].
void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
func AtRunBackward ¶
func AtRunBackward(tensorsPtr *Ctensor, ntensors int, inputsPtr *Ctensor, ninputs int, outputsPtr *Ctensor, keepGraph int, createGraph int)
* void at_run_backward(tensor *tensors, * int ntensors, * tensor *inputs, * int ninputs, * tensor *outputs, * int keep_graph, * int create_graph); *
func AtSaveImage ¶
int at_save_image(tensor, char *filename);
func AtSaveMulti ¶
void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
func AtToString ¶
* char *at_to_string(tensor t, int line_size) { * PROTECT( * std::ostringstream oss; * torch::print(oss, *t, line_size); * return strdup(oss.str().c_str()); * ) * return nullptr; * } *
func Atc_cuda_device_count ¶
func Atc_cuda_device_count() int
func AtgAcosOut ¶
func AtgAdaptiveAvgPool1d ¶
func AtgAdaptiveAvgPool2d ¶
func AtgAdaptiveAvgPool2dOut ¶
func AtgAdaptiveAvgPool3d ¶
func AtgAdaptiveAvgPool3dOut ¶
func AtgAdaptiveMaxPool1d ¶
func AtgAdaptiveMaxPool2d ¶
func AtgAdaptiveMaxPool2dOut ¶
func AtgAdaptiveMaxPool3d ¶
func AtgAdaptiveMaxPool3dOut ¶
func AtgAddbmmOut ¶
func AtgAddcdivOut ¶
func AtgAddcmulOut ¶
func AtgAddmmOut ¶
func AtgAddmvOut ¶
func AtgAddrOut ¶
func AtgAffineGridGenerator ¶
func AtgAlignAs ¶
func AtgAngleOut ¶
func AtgArange1 ¶
func AtgArange2 ¶
func AtgArangeOut ¶
func AtgAsStrided ¶
func AtgAsStrided_ ¶
func AtgAsinOut ¶
func AtgAtanOut ¶
func AtgAvgPool1d ¶
func AtgAvgPool2d ¶
func AtgAvgPool2dBackward ¶
func AtgAvgPool2dBackwardOut ¶
func AtgAvgPool2dOut ¶
func AtgAvgPool3d ¶
func AtgAvgPool3dBackward ¶
func AtgAvgPool3dBackwardOut ¶
func AtgAvgPool3dOut ¶
func AtgBaddbmmOut ¶
func AtgBartlettWindow ¶
func AtgBartlettWindow1 ¶
func AtgBatchNorm ¶
func AtgBatchNormElemt ¶
func AtgBatchNormElemtOut ¶
func AtgBatchNormGatherStats ¶
func AtgBatchNormStats ¶
func AtgBatchNormUpdateStats ¶
func AtgBernoulli ¶
func AtgBernoulli1 ¶
func AtgBernoulli1_ ¶
func AtgBernoulliOut ¶
func AtgBernoulli_ ¶
func AtgBilinear ¶
func AtgBinaryCrossEntropy ¶
func AtgBitwiseAnd ¶
func AtgBitwiseAnd1 ¶
func AtgBitwiseAnd1_ ¶
func AtgBitwiseAndOut ¶
func AtgBitwiseAndOut1 ¶
func AtgBitwiseAnd_ ¶
func AtgBitwiseNot ¶
func AtgBitwiseNotOut ¶
func AtgBitwiseNot_ ¶
func AtgBitwiseOr ¶
func AtgBitwiseOr1 ¶
func AtgBitwiseOr1_ ¶
func AtgBitwiseOrOut1 ¶
func AtgBitwiseOr_ ¶
func AtgBitwiseXor ¶
func AtgBitwiseXor1 ¶
func AtgBitwiseXor1_ ¶
func AtgBitwiseXorOut ¶
func AtgBitwiseXorOut1 ¶
func AtgBitwiseXor_ ¶
func AtgBlackmanWindow ¶
func AtgBlackmanWindow1 ¶
func AtgCartesianProd ¶
func AtgCeilOut ¶
func AtgChainMatmul ¶
func AtgCholesky ¶
func AtgCholeskyInverse ¶
func AtgCholeskyInverseOut ¶
func AtgCholeskySolve ¶
func AtgCholeskySolveOut ¶
func AtgClampMax ¶
func AtgClampMax_ ¶
func AtgClampMin ¶
func AtgClampMin_ ¶
func AtgClampOut ¶
func AtgCoalesce ¶
func AtgCol2imBackward ¶
func AtgCol2imBackwardOut ¶
func AtgCol2imOut ¶
func AtgCombinations ¶
func AtgConjOut ¶
func AtgConstantPadNd ¶
func AtgContiguous ¶
func AtgConvTbc ¶
func AtgConvTbcBackward ¶
func AtgConvTranspose1d ¶
func AtgConvTranspose2d ¶
func AtgConvTranspose3d ¶
func AtgConvolution ¶
func AtgCopySparseToSparse_ ¶
func AtgCoshOut ¶
func AtgCosineEmbeddingLoss ¶
func AtgCosineSimilarity ¶
func AtgCrossOut ¶
func AtgCtcLoss ¶
func AtgCtcLoss1 ¶
func AtgCudnnBatchNorm ¶
func AtgCudnnConvolution ¶
func AtgCudnnConvolution1 ¶
func AtgCudnnConvolutionTranspose1 ¶
func AtgCudnnConvolutionTranspose1(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, paddingLen int, outputPaddingData []int64, outputPaddingLen int, strideData []int64, strideLen int, dilationData []int64, dilationLen int, groups int64, benchmark int32, deterministic int32)
func AtgCudnnConvolutionTransposeBackwardWeight ¶
func AtgCudnnConvolutionTransposeBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, self Ctensor, paddingData []int64, paddingLen int, strideData []int64, strideLen int, dilationData []int64, dilationLen int, groups int64, benchmark int32, deterministic int32)
func AtgCudnnGridSampler ¶
func AtgCummaxOut ¶
func AtgCumminOut ¶
func AtgCumprodOut ¶
func AtgCumsumOut ¶
func AtgDequantize ¶
func AtgDetach_ ¶
func AtgDiagEmbed ¶
func AtgDiagflat ¶
func AtgDiagonal ¶
func AtgDigamma ¶
func AtgDigammaOut ¶
func AtgDigamma_ ¶
func AtgEluBackward ¶
func AtgEluBackwardOut ¶
func AtgEmbedding ¶
func AtgEmbeddingBackward ¶
func AtgEmbeddingBag ¶
func AtgEmbeddingRenorm_ ¶
func AtgEmptyLike ¶
func AtgEmptyStrided ¶
func AtgErfcOut ¶
func AtgErfinvOut ¶
func AtgErfinv_ ¶
func AtgExpandAs ¶
func AtgExpm1Out ¶
func AtgExponential_ ¶
func AtgFeatureAlphaDropout ¶
func AtgFeatureAlphaDropout_ ¶
func AtgFeatureDropout ¶
func AtgFeatureDropout_ ¶
func AtgFillDiagonal_ ¶
func AtgFloorDivide ¶
func AtgFloorDivide1 ¶
func AtgFloorDivide1_ ¶
func AtgFloorDivideOut ¶
func AtgFloorDivide_ ¶
func AtgFloorOut ¶
func AtgFracOut ¶
func AtgFractionalMaxPool2d ¶
func AtgFractionalMaxPool3d ¶
func AtgFrobeniusNorm ¶
func AtgFrobeniusNorm1 ¶
func AtgFrobeniusNormOut ¶
func AtgFromFile ¶
func AtgFullLike ¶
func AtgFullOut ¶
func AtgGatherOut ¶
func AtgGeluBackward ¶
func AtgGeometric_ ¶
func AtgGluBackward ¶
func AtgGluBackwardOut ¶
func AtgGridSampler ¶
func AtgGridSampler2d ¶
func AtgGridSampler3d ¶
func AtgGroupNorm ¶
func AtgGruCell ¶
func AtgHammingWindow ¶
func AtgHammingWindow1 ¶
func AtgHammingWindow2 ¶
func AtgHammingWindow3 ¶
func AtgHannWindow ¶
func AtgHannWindow1 ¶
func AtgHardshrink ¶
func AtgHardshrinkBackward ¶
func AtgHardsigmoid ¶
func AtgHardsigmoidBackward ¶
func AtgHardsigmoidOut ¶
func AtgHardsigmoid_ ¶
func AtgHardtanh ¶
func AtgHardtanhBackward ¶
func AtgHardtanhBackwardOut ¶
func AtgHardtanhOut ¶
func AtgHardtanh_ ¶
func AtgHingeEmbeddingLoss ¶
func AtgIm2colBackward ¶
func AtgIm2colBackwardOut ¶
func AtgIm2colOut ¶
func AtgIndexAdd ¶
func AtgIndexAdd_ ¶
func AtgIndexCopy ¶
func AtgIndexCopy_ ¶
func AtgIndexFill ¶
func AtgIndexFill1 ¶
func AtgIndexFill1_ ¶
func AtgIndexFill_ ¶
func AtgIndexPut ¶
func AtgIndexPut_ ¶
func AtgIndexSelectOut ¶
func AtgIndices ¶
func AtgInstanceNorm ¶
func AtgIntRepr ¶
func AtgInverse ¶
func AtgInverseOut ¶
func AtgIsclose ¶
func AtgIsfinite ¶
func AtgKlDivBackward ¶
func AtgKthvalueOut ¶
func AtgL1LossBackward ¶
func AtgL1LossBackwardOut ¶
func AtgL1LossOut ¶
func AtgLayerNorm ¶
func AtgLeakyRelu ¶
func AtgLeakyReluBackward ¶
func AtgLeakyReluOut ¶
func AtgLeakyRelu_ ¶
func AtgLerpOut ¶
func AtgLerpOut1 ¶
func AtgLgammaOut ¶
func AtgLgamma_ ¶
func AtgLinspace ¶
func AtgLinspaceOut ¶
func AtgLog10Out ¶
func AtgLog1pOut ¶
func AtgLog2Out ¶
func AtgLogSigmoid ¶
func AtgLogSigmoidBackward ¶
func AtgLogSigmoidOut ¶
func AtgLogicalAnd ¶
func AtgLogicalAndOut ¶
func AtgLogicalAnd_ ¶
func AtgLogicalNot ¶
func AtgLogicalNotOut ¶
func AtgLogicalNot_ ¶
func AtgLogicalOr ¶
func AtgLogicalOr_ ¶
func AtgLogicalXor ¶
func AtgLogicalXorOut ¶
func AtgLogicalXor_ ¶
func AtgLogspace ¶
func AtgLogspaceOut ¶
func AtgLogsumexp ¶
func AtgLogsumexpOut ¶
func AtgLstmCell ¶
func AtgLuSolveOut ¶
func AtgMarginRankingLoss ¶
func AtgMaskedFill1_ ¶
func AtgMaskedScatter ¶
func AtgMaskedScatter_ ¶
func AtgMaskedSelect ¶
func AtgMaskedSelectOut ¶
func AtgMatrixPower ¶
func AtgMatrixRank ¶
func AtgMaxOut1 ¶
func AtgMaxPool1d ¶
func AtgMaxPool1dWithIndices ¶
func AtgMaxPool2d ¶
func AtgMaxPool2dWithIndices ¶
func AtgMaxPool3d ¶
func AtgMaxPool3dWithIndices ¶
func AtgMaxUnpool2d ¶
func AtgMaxUnpool2dBackward ¶
func AtgMaxUnpool2dOut ¶
func AtgMaxUnpool3d ¶
func AtgMaxUnpool3dBackward ¶
func AtgMaxUnpool3dOut ¶
func AtgMaxValues ¶
func AtgMeanOut ¶
func AtgMedianOut ¶
func AtgMinOut1 ¶
func AtgMinValues ¶
func AtgMiopenBatchNorm ¶
func AtgMiopenConvolution ¶
func AtgMiopenConvolutionTranspose ¶
func AtgMiopenConvolutionTranspose(ptr *Ctensor, self Ctensor, weight Ctensor, bias Ctensor, paddingData []int64, paddingLen int, outputPaddingData []int64, outputPaddingLen int, strideData []int64, strideLen int, dilationData []int64, dilationLen int, groups int64, benchmark int32, deterministic int32)
func AtgMiopenConvolutionTransposeBackwardWeight ¶
func AtgMiopenConvolutionTransposeBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, self Ctensor, paddingData []int64, paddingLen int, strideData []int64, strideLen int, dilationData []int64, dilationLen int, groups int64, benchmark int32, deterministic int32)
func AtgMiopenDepthwiseConvolutionBackwardWeight ¶
func AtgMiopenDepthwiseConvolutionBackwardWeight(ptr *Ctensor, weightSizeData []int64, weightSizeLen int, gradOutput Ctensor, self Ctensor, paddingData []int64, paddingLen int, strideData []int64, strideLen int, dilationData []int64, dilationLen int, groups int64, benchmark int32, deterministic int32)
func AtgMiopenRnn ¶
func AtgMiopenRnn(ptr *Ctensor, input Ctensor, weightData []Ctensor, weightLen int, weightStride0 int64, hx Ctensor, cx Ctensor, mode int64, hiddenSize int64, numLayers int64, batchFirst int32, dropout float64, train int32, bidirectional int32, batchSizesData []int64, batchSizesLen int, dropoutState Ctensor)
func AtgMkldnnConvolution ¶
func AtgMkldnnLinear ¶
func AtgMkldnnMaxPool2d ¶
func AtgModeOut ¶
func AtgMseLossBackward ¶
func AtgMseLossBackwardOut ¶
func AtgMseLossOut ¶
func AtgMultilabelMarginLoss ¶
func AtgMultinomial ¶
func AtgMultinomialOut ¶
func AtgMvlgamma ¶
func AtgMvlgamma_ ¶
func AtgNarrow1 ¶
func AtgNarrowCopy ¶
func AtgNativeBatchNorm ¶
func AtgNativeBatchNormOut ¶
func AtgNativeLayerNorm ¶
func AtgNativeNorm ¶
func AtgNewEmpty ¶
func AtgNewFull ¶
func AtgNewZeros ¶
func AtgNllLoss ¶
func AtgNllLoss2d ¶
func AtgNllLoss2dBackward ¶
func AtgNllLoss2dBackwardOut ¶
func AtgNllLoss2dOut ¶
func AtgNllLossBackward ¶
func AtgNllLossBackwardOut ¶
func AtgNllLossOut ¶
func AtgNonzero ¶
func AtgNonzeroOut ¶
func AtgNormOut ¶
func AtgNormOut1 ¶
func AtgNormalOut3 ¶
func AtgNuclearNorm ¶
func AtgNuclearNorm1 ¶
func AtgNuclearNormOut ¶
func AtgNuclearNormOut1 ¶
func AtgOnesLike ¶
func AtgOrmqrOut ¶
func AtgPairwiseDistance ¶
func AtgPinMemory ¶
func AtgPinverse ¶
func AtgPixelShuffle ¶
func AtgPoisson ¶
func AtgPoissonNllLoss ¶
func AtgPolygamma ¶
func AtgPolygamma_ ¶
func AtgPreluBackward ¶
func AtgProdOut ¶
func AtgQPerChannelScales ¶
func AtgQuantizePerChannel ¶
func AtgQuantizePerTensor ¶
func AtgQuantizedBatchNorm ¶
func AtgQuantizedGru ¶
func AtgQuantizedGru1 ¶
func AtgQuantizedGruCell ¶
func AtgQuantizedLstm ¶
func AtgQuantizedLstm1 ¶
func AtgQuantizedLstmCell ¶
func AtgQuantizedMaxPool2d ¶
func AtgQuantizedRnnReluCell ¶
func AtgQuantizedRnnTanhCell ¶
func AtgRandLike ¶
func AtgRandint ¶
func AtgRandint1 ¶
func AtgRandintLike ¶
func AtgRandintOut ¶
func AtgRandintOut1 ¶
func AtgRandnLike ¶
func AtgRandom1_ ¶
func AtgRandom_ ¶
func AtgRandpermOut ¶
func AtgReciprocal ¶
func AtgReciprocalOut ¶
func AtgReciprocal_ ¶
func AtgReflectionPad1d ¶
func AtgReflectionPad1dOut ¶
func AtgReflectionPad2d ¶
func AtgReflectionPad2dOut ¶
func AtgRemainder ¶
func AtgRemainder1 ¶
func AtgRemainder1_ ¶
func AtgRemainderOut1 ¶
func AtgRemainder_ ¶
func AtgRenormOut ¶
func AtgRenorm_ ¶
func AtgRepeatInterleave ¶
func AtgRepeatInterleave1 ¶
func AtgRepeatInterleave2 ¶
func AtgReplicationPad1d ¶
func AtgReplicationPad1dOut ¶
func AtgReplicationPad2d ¶
func AtgReplicationPad2dOut ¶
func AtgReplicationPad3d ¶
func AtgReplicationPad3dOut ¶
func AtgRequiresGrad_ ¶
func AtgReshapeAs ¶
func AtgResizeAs_ ¶
func AtgRnnRelu ¶
func AtgRnnRelu1 ¶
func AtgRnnReluCell ¶
func AtgRnnTanh ¶
func AtgRnnTanh1 ¶
func AtgRnnTanhCell ¶
func AtgRoundOut ¶
func AtgRreluWithNoise ¶
func AtgRreluWithNoiseOut ¶
func AtgRreluWithNoise_ ¶
func AtgRsqrtOut ¶
func AtgScalarTensor ¶
func AtgScatter ¶
func AtgScatter1 ¶
func AtgScatter1_ ¶
func AtgScatterAdd ¶
func AtgScatterAdd_ ¶
func AtgScatter_ ¶
func AtgSetRequiresGrad ¶
func AtgSigmoid ¶
func AtgSigmoidBackward ¶
func AtgSigmoidBackwardOut ¶
func AtgSigmoidOut ¶
func AtgSigmoid_ ¶
func AtgSignOut ¶
func AtgSinhOut ¶
func AtgSlogdet ¶
func AtgSlowConv3d ¶
func AtgSlowConv3dOut ¶
func AtgSlowConvDilated2d ¶
func AtgSlowConvDilated3d ¶
func AtgSlowConvTranspose2d ¶
func AtgSlowConvTranspose2dOut ¶
func AtgSlowConvTranspose2dOut(ptr *Ctensor, out Ctensor, self Ctensor, weight Ctensor, kernelSizeData []int64, kernelSizeLen int, bias Ctensor, strideData []int64, strideLen int, paddingData []int64, paddingLen int, outputPaddingData []int64, outputPaddingLen int, dilationData []int64, dilationLen int)
func AtgSlowConvTranspose3d ¶
func AtgSlowConvTranspose3dOut ¶
func AtgSlowConvTranspose3dOut(ptr *Ctensor, out Ctensor, self Ctensor, weight Ctensor, kernelSizeData []int64, kernelSizeLen int, bias Ctensor, strideData []int64, strideLen int, paddingData []int64, paddingLen int, outputPaddingData []int64, outputPaddingLen int, dilationData []int64, dilationLen int)
func AtgSmoothL1Loss ¶
func AtgSmoothL1LossBackward ¶
func AtgSmoothL1LossOut ¶
func AtgSoftMarginLoss ¶
func AtgSoftMarginLossOut ¶
func AtgSoftplus ¶
func AtgSoftplusBackward ¶
func AtgSoftplusBackwardOut ¶
func AtgSoftplusOut ¶
func AtgSoftshrink ¶
func AtgSoftshrinkBackward ¶
func AtgSoftshrinkOut ¶
func AtgSolveOut ¶
func AtgSortOut ¶
func AtgSparseCooTensor ¶
func AtgSparseCooTensor1 ¶
func AtgSparseCooTensor2 ¶
func AtgSparseMask ¶
func AtgSparseResize_ ¶
func AtgSqrtOut ¶
func AtgSquare_ ¶
func AtgSqueeze ¶
func AtgSqueeze1 ¶
func AtgSqueeze1_ ¶
func AtgSqueeze_ ¶
func AtgSspaddmmOut ¶
func AtgStackOut ¶
func AtgStdMean ¶
func AtgStdMean1 ¶
func AtgSymeigOut ¶
func AtgTanhBackward ¶
func AtgTanhBackwardOut ¶
func AtgTanhOut ¶
func AtgTensordot ¶
func AtgThresholdBackward ¶
func AtgThresholdOut ¶
func AtgThreshold_ ¶
func AtgToDense ¶
func AtgToDenseBackward ¶
func AtgToMkldnn ¶
func AtgToMkldnnBackward ¶
func AtgToSparse ¶
func AtgToSparse1 ¶
func AtgTopkOut ¶
func AtgTriangularSolve ¶
func AtgTriangularSolveOut ¶
func AtgTrilIndices ¶
func AtgTripletMarginLoss ¶
func AtgTriuIndices ¶
func AtgTrueDivide ¶
func AtgTrueDivide1 ¶
func AtgTrueDivide1_ ¶
func AtgTrueDivideOut ¶
func AtgTrueDivide_ ¶
func AtgTruncOut ¶
func AtgUniqueConsecutive ¶
func AtgUniqueDim ¶
func AtgUniqueDimConsecutive ¶
func AtgUnsqueeze ¶
func AtgUnsqueeze_ ¶
func AtgUpsampleBicubic2d ¶
func AtgUpsampleBicubic2dOut ¶
func AtgUpsampleBilinear2d ¶
func AtgUpsampleLinear1d ¶
func AtgUpsampleLinear1dOut ¶
func AtgUpsampleNearest1d ¶
func AtgUpsampleNearest1dOut ¶
func AtgUpsampleNearest2d ¶
func AtgUpsampleNearest2dOut ¶
func AtgUpsampleNearest3d ¶
func AtgUpsampleNearest3dOut ¶
func AtgUpsampleTrilinear3d ¶
func AtgVarMean ¶
func AtgVarMean1 ¶
func AtgZerosLike ¶
func Atg_AdaptiveAvgPool2d ¶
func Atg_AddrOut ¶
func Atg_AmpUpdateScale ¶
func Atg_BaddbmmMkl_ ¶
func Atg_CastByte ¶
func Atg_CastChar ¶
func Atg_CastDouble ¶
func Atg_CastFloat ¶
func Atg_CastHalf ¶
func Atg_CastInt ¶
func Atg_CastLong ¶
func Atg_CastShort ¶
func Atg_CatOut ¶
func Atg_CdistBackward ¶
func Atg_CholeskyHelper ¶
func Atg_CholeskySolveHelper ¶
func Atg_Coalesced_ ¶
func Atg_Convolution ¶
func Atg_Convolution(ptr *Ctensor, input Ctensor, weight Ctensor, bias Ctensor, strideData []int64, strideLen int, paddingData []int64, paddingLen int, dilationData []int64, dilationLen int, transposed int32, outputPaddingData []int64, outputPaddingLen int, groups int64, benchmark int32, deterministic int32, cudnnEnabled int32)
func Atg_ConvolutionNogroup ¶
func Atg_CtcLoss ¶
func Atg_CtcLossBackward ¶
func Atg_CudnnCtcLoss ¶
func Atg_CudnnRnn ¶
func Atg_CudnnRnn(ptr *Ctensor, input Ctensor, weightData []Ctensor, weightLen int, weightStride0 int64, weightBuf Ctensor, hx Ctensor, cx Ctensor, mode int64, hiddenSize int64, numLayers int64, batchFirst int32, dropout float64, train int32, bidirectional int32, batchSizesData []int64, batchSizesLen int, dropoutState Ctensor)
func Atg_Cumprod ¶
func Atg_Cumsum ¶
func Atg_DimArange ¶
func Atg_DirichletGrad ¶
func Atg_EmbeddingBag ¶
func Atg_FftWithSize ¶
func Atg_FusedDropout ¶
func Atg_IndexCopy_ ¶
func Atg_IndexPutImpl_ ¶
func Atg_Indices ¶
func Atg_InverseHelper ¶
func Atg_LuSolveHelper ¶
func Atg_LuWithInfo ¶
func Atg_MaskedScale ¶
func Atg_MaxOut ¶
func Atg_MinOut ¶
func Atg_MkldnnReshape ¶
func Atg_MkldnnTranspose ¶
func Atg_MkldnnTranspose_ ¶
func Atg_ModeOut ¶
func Atg_PackPaddedSequence ¶
func Atg_PadPackedSequence ¶
func Atg_PdistBackward ¶
func Atg_QrHelper ¶
func Atg_ReshapeFromTensor ¶
func Atg_SampleDirichlet ¶
func Atg_ShapeAsTensor ¶
func Atg_SobolEngineDraw ¶
func Atg_SobolEngineFf_ ¶
func Atg_SoftmaxBackwardData ¶
func Atg_SolveHelper ¶
func Atg_SparseAddmm ¶
func Atg_SparseMm ¶
func Atg_SparseSum ¶
func Atg_SparseSum1 ¶
func Atg_SparseSum3 ¶
func Atg_SparseSumBackward ¶
func Atg_StandardGamma ¶
func Atg_StandardGammaGrad ¶
func Atg_SymeigHelper ¶
func Atg_Trilinear ¶
func Atg_Unique2 ¶
func Atg_UnsafeView ¶
func Atg_Values ¶
func Atg__Iand1 ¶
func Atg__Iand_ ¶
func Atg__Ilshift1 ¶
func Atg__Ilshift_ ¶
func Atg__Irshift1 ¶
func Atg__Irshift_ ¶
func Atg__Ixor1 ¶
func Atg__Ixor_ ¶
func Atg__Lshift1 ¶
func Atg__Lshift_ ¶
func Atg__Rshift1 ¶
func Atg__Rshift_ ¶
func AtiToBoolList ¶
void ati_to_bool_list(ivalue, char *, int);
func AtiToDoubleList ¶
void ati_to_double_list(ivalue, double *, int);
func AtiToGenericDict ¶
void ati_to_generic_dict(ivalue, ivalue *, int);
func AtiToGenericList ¶
void ati_to_generic_list(ivalue, ivalue *, int);
func AtiToIntList ¶
void ati_to_int_list(ivalue, int64_t *, int);
func AtiToTensorList ¶
void ati_to_tensor_list(ivalue, tensor *, int);
func AtiToTuple ¶
void ati_to_tuple(ivalue, ivalue *, int);
func AtoAddParameters ¶
func AtoAddParameters(coptimizer Coptimizer, tensors []Ctensor, ntensors int)
void ato_add_parameters(optimizer, tensor *, int ntensors);
func AtoSetLearningRate ¶
func AtoSetLearningRate(coptimizer Coptimizer, learningRate float64)
void ato_set_learning_rate(optimizer, double learning_rate);
func AtoSetMomentum ¶
func AtoSetMomentum(coptimizer Coptimizer, momentum float64)
void ato_set_momentum(optimizer, double momentum);
func GetAndResetLastErr ¶
Types ¶
type Civalue ¶
func AtiBoolList ¶
ivalue ati_bool_list(char *, int);
func AtiDoubleList ¶
ivalue ati_double_list(double *, int);
func AtiGenericDict ¶
ivalue ati_generic_dict(ivalue *, int);
func AtiGenericList ¶
ivalue ati_generic_list(ivalue *, int);
func AtiIntList ¶
ivalue ati_int_list(int64_t *, int);
func AtiTensorList ¶
ivalue ati_tensor_list(tensor *, int);
type Cmodule ¶
func AtmLoadOnDevice ¶
module atm_load_on_device(char *, int device);
func AtmLoadStr ¶
module atm_load_str(char *, size_t sz);
type Coptimizer ¶
func AtoAdam ¶
func AtoAdam(learningRate, beta1, beta2, weightDecay float64) Coptimizer
* optimizer ato_adam(double learning_rate, * double beta1, * double beta2, * double weight_decay); *
func AtoRmsProp ¶
func AtoRmsProp(learningRate, alpha, eps, weightDecay, momentum float64, centered int) Coptimizer
* optimizer ato_rms_prop(double learning_rate, * double alpha, * double eps, * double weight_decay, * double momentum, * int centered); *
func AtoSgd ¶
func AtoSgd(learningRate, momentum, dampening, weightDecay float64, nesterov int) Coptimizer
* optimizer ato_sgd(double learning_rate, * double momentum, * double dampening, * double weight_decay, * int nesterov); *
type Ctensor ¶
NOTE: C.tensor is a C pointer to torch::Tensor
func AtNewTensor ¶
func AtNewTensor() Ctensor
func AtResizeImage ¶
tensor at_resize_image(tensor, int w, int h);
func AtTensorOfData ¶
func AtTensorOfData(vs unsafe.Pointer, dims []int64, ndims uint, elt_size_in_bytes uint, kind int) Ctensor
tensor at_tensor_of_data(void *vs, int64_t *dims, size_t ndims, size_t element_size_in_bytes, int type);
func AtgAlignTensors ¶
tensor *atg_align_tensors(tensor *tensors_data, int tensors_len);
func AtgBroadcastTensors ¶
tensor *atg_broadcast_tensors(tensor *tensors_data, int tensors_len);
func AtgMeshgrid ¶
tensor *atg_meshgrid(tensor *tensors_data, int tensors_len);
func AtgNonzeroNumpy ¶
tensor *atg_nonzero_numpy(tensor self);
func AtgSplitWithSizes ¶
tensor *atg_split_with_sizes(tensor self, int64_t *split_sizes_data, int split_sizes_len, int64_t dim);
func AtmForward ¶
tensor atm_forward(module, tensor *tensors, int ntensors);
type LoadData ¶
type LoadData struct {
NamedCtensors []NamedCtensor
}
type NamedCtensor ¶
type PointerStore ¶
type PointerStore struct {
// contains filtered or unexported fields
}
PointerStore is a Go struct to deal with the Go use case that we can not pass Go pointer to C. In other words, it is used to solve error: "panic: runtime error: cgo argument has Go pointer to Go pointer"
NOTE: the concept is taken from: https://github.com/mattn/go-pointer
Example:
store := NewPointerStore() type Car struct{Name string, Model string} var landy Car{Name: "Defender", Model: "99"} landyPtr := store.Set(landy) landy = store.Get(landyPtr).(Car) store.Free(landyPtr)
func NewPointerStore ¶
func NewPointerStore() PointerStore
NewPointerStore creates a new PointerStore
func (PointerStore) Free ¶
func (ps PointerStore) Free(ptr unsafe.Pointer)
Delete removes pointer from pointer store and frees up memory.
Example: TODO: an example
func (PointerStore) Get ¶
func (ps PointerStore) Get(ptr unsafe.Pointer) (v interface{})
Get get value back from pointer store
Example: TODO: an example
func (PointerStore) Set ¶
func (ps PointerStore) Set(v interface{}) unsafe.Pointer
Set stores value to pointer store and returns a unsafe.Pointer
NOTE: This is a little hacky. As Go doesn't allow C code to store Go pointers, a one-byte C pointer is created for indexing purpose.
Example: TODO: an example