Documentation
¶
Index ¶
- Constants
- Variables
- func BatchNormBackwardReduce(gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func BatchNormBackwardReduceOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, gradOut *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func BatchNormGatherStats(input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func BatchNormGatherStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func BatchNormGatherStatsWithCounts(input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func BatchNormGatherStatsWithCountsOut(out0 *Tensor, out1 *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func BatchNormStats(input *Tensor, eps float64) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func BatchNormStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, eps float64) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func BatchNormUpdateStats(input *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func BatchNormUpdateStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func CMalloc(nbytes int) (dataPtr unsafe.Pointer, buf *bytes.Buffer)
- func CanCast(from gotch.DType, to gotch.DType) (retVal bool, err error)
- func CheckCMemLeak() string
- func ChooseQparamsOptimized(input *Tensor, numel int64, nBins int64, ratio float64, bitWidth int64) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func CleanUp(sleepTimeOpt ...int)
- func Copy_(self, src *Tensor)
- func CudaCurrentDevice() (int, error)
- func CudaSetDevice(cudaDeviceIndex int) (int, error)
- func CudaSynchronize(cudaDeviceIndexOpt ...int) error
- func CudnnBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func CudnnBatchNormBackward(input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func CudnnBatchNormBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, gradOutput *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func CudnnBatchNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func DataAsPtr(data interface{}) (dataPtr unsafe.Pointer, err error)
- func DataCheck(data interface{}) (dtype gotch.DType, n int, err error)
- func DataDim(data interface{}) (retVal int, err error)
- func DecodeTensor(r *bytes.Reader, shape []int64, typ reflect.Type, ptr reflect.Value) error
- func ElementCount(shape []int64) int
- func EmbeddingBag(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func EmbeddingBagPaddingIdx(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func EncodeTensor(w *bytes.Buffer, v reflect.Value, shape []int64) error
- func FlattenData(data interface{}) (fData interface{}, err error)
- func FlattenDim(shape []int64) int
- func GradSetEnabled(b bool) (bool, error)
- func Gru(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func GruData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func InvokeFnWithArgs(fn interface{}, args ...string)
- func IsVulkanAvailable() (retVal bool, err error)
- func LinalgInvEx(a *Tensor, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgInvExInverse(inverse *Tensor, info *Tensor, a *Tensor, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgLu(a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LinalgLuFactor(a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgLuFactorEx(a *Tensor, pivot bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LinalgLuFactorExOut(lU *Tensor, pivots *Tensor, info *Tensor, a *Tensor, pivot bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LinalgLuFactorOut(lU *Tensor, pivots *Tensor, a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgLuOut(p *Tensor, l *Tensor, u *Tensor, a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LinalgQr(a *Tensor, mode string) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgQrOut(q *Tensor, r *Tensor, a *Tensor, mode string) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgSlogdet(a *Tensor) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgSlogdetOut(sign *Tensor, logabsdet *Tensor, a *Tensor) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgSolveEx(a *Tensor, b *Tensor, left bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgSolveExOut(result *Tensor, info *Tensor, a *Tensor, b *Tensor, left bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LinalgSvd(a *Tensor, fullMatrices bool, driver string) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LinalgSvdU(u *Tensor, s *Tensor, vh *Tensor, a *Tensor, fullMatrices bool, driver string) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func Lstm(input *Tensor, hx []*Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LstmCell(input *Tensor, hx []*Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func LstmData(data *Tensor, batchSizes *Tensor, hx []*Tensor, params []*Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LuUnpack(lUData *Tensor, lUPivots *Tensor, unpackData bool, unpackPivots bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func LuUnpackOut(p *Tensor, l *Tensor, u *Tensor, lUData *Tensor, lUPivots *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func MiopenBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func MiopenBatchNormBackward(input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func MiopenBatchNormBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, gradOutput *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func MiopenBatchNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func MiopenRnn(input *Tensor, weight []*Tensor, weightStride0 int64, hx *Tensor, cx *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MiopenRnnOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MkldnnLinearBackwardWeights(gradOutput *Tensor, input *Tensor, weight *Tensor, biasDefined bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func MkldnnLinearBackwardWeightsOut(out0 *Tensor, out1 *Tensor, gradOutput *Tensor, input *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func MkldnnRnnLayer(input *Tensor, weight0 *Tensor, weight1 *Tensor, weight2 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func MkldnnRnnLayerBackward(input *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MkldnnRnnLayerBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MkldnnRnnLayerOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func MustBatchNormBackwardReduce(gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustBatchNormBackwardReduceOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, gradOut *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustBatchNormGatherStats(input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustBatchNormGatherStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustBatchNormGatherStatsWithCounts(input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustBatchNormGatherStatsWithCountsOut(out0 *Tensor, out1 *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustBatchNormStats(input *Tensor, eps float64) (retVal0 *Tensor, retVal1 *Tensor)
- func MustBatchNormStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, eps float64) (retVal0 *Tensor, retVal1 *Tensor)
- func MustBatchNormUpdateStats(input *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64) (retVal0 *Tensor, retVal1 *Tensor)
- func MustBatchNormUpdateStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustCanCast(from gotch.DType, to gotch.DType) (retVal bool)
- func MustChooseQparamsOptimized(input *Tensor, numel int64, nBins int64, ratio float64, bitWidth int64) (retVal0 *Tensor, retVal1 *Tensor)
- func MustCudnnBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustCudnnBatchNormBackward(input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustCudnnBatchNormBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, gradOutput *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustCudnnBatchNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustEmbeddingBag(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustEmbeddingBagPaddingIdx(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustGradSetEnabled(b bool) bool
- func MustGru(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustGruData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustIsVulkanAvailable() (retVal bool)
- func MustLinalgInvEx(a *Tensor, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgInvExInverse(inverse *Tensor, info *Tensor, a *Tensor, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgLu(a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLinalgLuFactor(a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgLuFactorEx(a *Tensor, pivot bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLinalgLuFactorExOut(lU *Tensor, pivots *Tensor, info *Tensor, a *Tensor, pivot bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLinalgLuFactorOut(lU *Tensor, pivots *Tensor, a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgLuOut(p *Tensor, l *Tensor, u *Tensor, a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLinalgQr(a *Tensor, mode string) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgQrOut(q *Tensor, r *Tensor, a *Tensor, mode string) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgSlogdet(a *Tensor) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgSlogdetOut(sign *Tensor, logabsdet *Tensor, a *Tensor) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgSolveEx(a *Tensor, b *Tensor, left bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgSolveExOut(result *Tensor, info *Tensor, a *Tensor, b *Tensor, left bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLinalgSvd(a *Tensor, fullMatrices bool, driver string) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLinalgSvdU(u *Tensor, s *Tensor, vh *Tensor, a *Tensor, fullMatrices bool, driver string) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLstm(input *Tensor, hx []*Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLstmCell(input *Tensor, hx []*Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustLstmData(data *Tensor, batchSizes *Tensor, hx []*Tensor, params []*Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLuUnpack(lUData *Tensor, lUPivots *Tensor, unpackData bool, unpackPivots bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustLuUnpackOut(p *Tensor, l *Tensor, u *Tensor, lUData *Tensor, lUPivots *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustMiopenBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustMiopenBatchNormBackward(input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustMiopenBatchNormBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, gradOutput *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustMiopenBatchNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustMiopenRnn(input *Tensor, weight []*Tensor, weightStride0 int64, hx *Tensor, cx *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MustMiopenRnnOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MustMkldnnLinearBackwardWeights(gradOutput *Tensor, input *Tensor, weight *Tensor, biasDefined bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustMkldnnLinearBackwardWeightsOut(out0 *Tensor, out1 *Tensor, gradOutput *Tensor, input *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustMkldnnRnnLayer(input *Tensor, weight0 *Tensor, weight1 *Tensor, weight2 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustMkldnnRnnLayerBackward(input *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MustMkldnnRnnLayerBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func MustMkldnnRnnLayerOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func MustNativeBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustNativeBatchNormOut(out *Tensor, saveMean *Tensor, saveInvstd *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustNativeDropout(input *Tensor, p float64, train bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustNativeDropoutOut(out0 *Tensor, out1 *Tensor, input *Tensor, p float64, train bool) (retVal0 *Tensor, retVal1 *Tensor)
- func MustNativeGroupNorm(input *Tensor, weight *Tensor, bias *Tensor, n int64, c int64, hxW int64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustNativeGroupNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustNativeLayerNorm(input *Tensor, normalizedShape []int64, weight *Tensor, bias *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustNativeLayerNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func MustQuantizedLstmCell(input *Tensor, hx []*Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustRnnRelu(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustRnnReluData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustRnnTanh(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustRnnTanhData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func MustSaveMulti(namedTensors []NamedTensor, path string)
- func Must_CtcLoss(logProbs *Tensor, targets *Tensor, inputLengths []int64, targetLengths []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_CtcLossOut(out0 *Tensor, out1 *Tensor, logProbs *Tensor, targets *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_CtcLossTensor(logProbs *Tensor, targets *Tensor, inputLengths *Tensor, targetLengths *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_CtcLossTensorOut(out0 *Tensor, out1 *Tensor, logProbs *Tensor, targets *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_CudnnCtcLoss(logProbs *Tensor, targets *Tensor, inputLengths []int64, targetLengths []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_CudnnCtcLossOut(out0 *Tensor, out1 *Tensor, logProbs *Tensor, targets *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_CudnnCtcLossTensor(logProbs *Tensor, targets *Tensor, inputLengths *Tensor, targetLengths *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_CudnnRnn(input *Tensor, weight []*Tensor, weightStride0 int64, weightBuf *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func Must_CudnnRnnOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func Must_EfficientAttentionBackward(gradOut_ *Tensor, query *Tensor, key *Tensor, value *Tensor, bias *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_EmbeddingBag(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_EmbeddingBagForwardOnly(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_EmbeddingBagForwardOnlyOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_EmbeddingBagOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_FlashAttentionBackward(gradOut *Tensor, query *Tensor, key *Tensor, value *Tensor, out *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_FusedSdpChoice(query *Tensor, key *Tensor, value *Tensor, attnMask *Tensor, dropoutP float64, ...) (retVal int64)
- func Must_GridSampler2dCpuFallbackBackward(gradOutput *Tensor, input *Tensor, grid *Tensor, interpolationMode int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_LinalgDet(a *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_LinalgDetResult(result *Tensor, lU *Tensor, pivots *Tensor, a *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_LinalgEigh(a *Tensor, uPLO string, computeV bool) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_LinalgEighEigenvalues(eigenvalues *Tensor, eigenvectors *Tensor, a *Tensor, uPLO string, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_LinalgSlogdet(a *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_LinalgSlogdetSign(sign *Tensor, logabsdet *Tensor, lU *Tensor, pivots *Tensor, a *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_LinalgSolveEx(a *Tensor, b *Tensor, left bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_LinalgSolveExResult(result *Tensor, lU *Tensor, pivots *Tensor, info *Tensor, a *Tensor, b *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_LinalgSvd(a *Tensor, fullMatrices bool, computeUv bool, driver string) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_LinalgSvdU(u *Tensor, s *Tensor, vh *Tensor, a *Tensor, fullMatrices bool, computeUv bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_LstmMps(input *Tensor, hx []*Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func Must_LstmMpsOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func Must_NativeBatchNormLegit(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_NativeBatchNormLegitFunctional(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func Must_NativeBatchNormLegitNoStats(input *Tensor, weight *Tensor, bias *Tensor, training bool, momentum float64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_NativeBatchNormLegitNoStatsOut(out *Tensor, saveMean *Tensor, saveInvstd *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_NativeBatchNormLegitNoTraining(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_NativeBatchNormLegitNoTrainingOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_NativeBatchNormLegitOut(out *Tensor, saveMean *Tensor, saveInvstd *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_NativeMultiHeadAttention(query *Tensor, key *Tensor, value *Tensor, embedDim int64, numHead int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_NativeMultiHeadAttentionOut(out0 *Tensor, out1 *Tensor, query *Tensor, key *Tensor, value *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_NnpackAvailable() (retVal bool)
- func Must_PackPaddedSequence(input *Tensor, lengths *Tensor, batchFirst bool) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_PackPaddedSequenceOut(out0 *Tensor, out1 *Tensor, input *Tensor, lengths *Tensor, batchFirst bool) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_PadPackedSequence(data *Tensor, batchSizes *Tensor, batchFirst bool, paddingValue *Scalar, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_RowwisePrune(weight *Tensor, mask *Tensor, compressedIndicesDtype gotch.DType) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_ScaledDotProductAttentionMath(query *Tensor, key *Tensor, value *Tensor, attnMask *Tensor, dropoutP float64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_ScaledDotProductEfficientAttention(query *Tensor, key *Tensor, value *Tensor, attnBias *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func Must_ScaledDotProductFlashAttentionBackward(gradOut *Tensor, query *Tensor, key *Tensor, value *Tensor, out *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_SobolEngineDraw(quasi *Tensor, n int64, sobolstate *Tensor, dimension int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_ToSparseSemiStructured(dense *Tensor) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_TransformBiasRescaleQkv(qkv *Tensor, qkvBias *Tensor, numHeads int64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_TransformBiasRescaleQkvOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, qkv *Tensor, qkvBias *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func Must_UnpackDual(dual *Tensor, level int64) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_UseCudnnCtcLoss(logProbs *Tensor, targets *Tensor, inputLengths []int64, targetLengths []int64, ...) (retVal bool)
- func Must_UseCudnnCtcLossTensor(logProbs *Tensor, targets *Tensor, inputLengths *Tensor, targetLengths *Tensor, ...) (retVal bool)
- func Must_UseCudnnRnnFlattenWeight() (retVal bool)
- func Must_WeightNormDifferentiableBackward(gradW *Tensor, savedV *Tensor, savedG *Tensor, savedNorms *Tensor, dim int64) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_WeightNormInterface(v *Tensor, g *Tensor, dim int64) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_WeightNormInterfaceBackward(gradW *Tensor, savedV *Tensor, savedG *Tensor, savedNorms *Tensor, dim int64) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_WeightNormInterfaceBackwardOut(out0 *Tensor, out1 *Tensor, gradW *Tensor, savedV *Tensor, savedG *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func Must_WeightNormInterfaceOut(out0 *Tensor, out1 *Tensor, v *Tensor, g *Tensor, dim int64) (retVal0 *Tensor, retVal1 *Tensor)
- func NativeBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func NativeBatchNormOut(out *Tensor, saveMean *Tensor, saveInvstd *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func NativeDropout(input *Tensor, p float64, train bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func NativeDropoutOut(out0 *Tensor, out1 *Tensor, input *Tensor, p float64, train bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func NativeGroupNorm(input *Tensor, weight *Tensor, bias *Tensor, n int64, c int64, hxW int64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func NativeGroupNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, weight *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func NativeLayerNorm(input *Tensor, normalizedShape []int64, weight *Tensor, bias *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func NativeLayerNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func NoGrad(fn func())
- func NoGrad1(fn func() interface{}) interface{}
- func QuantizedLstmCell(input *Tensor, hx []*Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func RnnRelu(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func RnnReluData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func RnnTanh(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func RnnTanhData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func SaveHwc(ts *Tensor, path string) error
- func SaveMulti(namedTensors []NamedTensor, path string) error
- func SaveMultiNew(namedTensors []NamedTensor, path string) error
- func TorchErr() error
- type CIValue
- type CModule
- func (cm *CModule) Drop()
- func (cm *CModule) Forward(tensor *Tensor) (*Tensor, error)
- func (cm *CModule) ForwardIs(ivalues []*IValue) (*IValue, error)
- func (cm *CModule) ForwardTs(tensors []*Tensor) (*Tensor, error)
- func (cm *CModule) GetProfilingMode() bool
- func (cm *CModule) NamedParameters() ([]NamedTensor, error)
- func (cm *CModule) Save(file string) error
- func (cm *CModule) SetEval()
- func (cm *CModule) SetProfilingMode(b bool)
- func (cm *CModule) SetTrain()
- func (cm *CModule) To(device gotch.Device, kind gotch.DType, nonBlocking bool)
- type COptimizer
- func Adam(lr, beta1, beta2, weightDecay float64) (*COptimizer, error)
- func AdamW(lr, beta1, beta2, weightDecay float64) (*COptimizer, error)
- func RmsProp(lr, alpha, eps, wd, momentum float64, centered bool) (*COptimizer, error)
- func Sgd(lr, momentum, dampening, wd float64, nesterov bool) (*COptimizer, error)
- func (co *COptimizer) AddParamGroup(tensors []*Tensor) error
- func (co *COptimizer) AddParameter(param *Tensor, group uint) error
- func (co *COptimizer) AddParameters(tensors []*Tensor) error
- func (co *COptimizer) Drop()
- func (co *COptimizer) GetLearningRates() ([]float64, error)
- func (co *COptimizer) ParamGroupNum() (int64, error)
- func (co *COptimizer) SetLearningRate(lr float64) error
- func (co *COptimizer) SetLearningRates(lrs []float64) error
- func (co *COptimizer) SetMomentum(m float64) error
- func (co *COptimizer) Step() error
- func (co *COptimizer) ZeroGrad() error
- type Func
- type FuncInfo
- type IValue
- type IValueKind
- type IndexOp
- type IndexSelect
- type InsertNewAxis
- type Iter2
- type Iter2Item
- type Iterable
- type Iterator
- type Layout
- type Module
- type ModuleOption
- type ModuleT
- type ModuleTOption
- type NamedTensor
- func LoadMulti(path string) ([]NamedTensor, error)
- func LoadMultiWithDevice(path string, device gotch.Device) ([]NamedTensor, error)
- func MustLoadMulti(path string) []NamedTensor
- func MustLoadMultiWithDevice(path string, device gotch.Device) []NamedTensor
- func ReadNpz(filePath string) ([]NamedTensor, error)
- type Narrow
- type NewAxis
- type NoGradGuard
- type NpyHeader
- type Scalar
- type Select
- type Tensor
- func AffineGridGenerator(theta *Tensor, size []int64, alignCorners bool) (retVal *Tensor, err error)
- func AffineGridGeneratorBackward(grad *Tensor, size []int64, alignCorners bool) (retVal *Tensor, err error)
- func AffineGridGeneratorOut(out *Tensor, theta *Tensor, size []int64, alignCorners bool) (retVal *Tensor, err error)
- func AlignTensors(tensors []*Tensor) (retVal []*Tensor, err error)
- func AlphaDropout(input *Tensor, p float64, train bool) (retVal *Tensor, err error)
- func Arange(end *Scalar, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func ArangeStart(start *Scalar, end *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func ArangeStartStep(start *Scalar, end *Scalar, step *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func BartlettWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func BartlettWindowOut(out *Tensor, windowLength int64) (retVal *Tensor, err error)
- func BartlettWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func BartlettWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor, err error)
- func BatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal *Tensor, err error)
- func BatchNormBackwardElemt(gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, weight *Tensor, ...) (retVal *Tensor, err error)
- func BatchNormBackwardElemtOut(out *Tensor, gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal *Tensor, err error)
- func BatchNormElemt(input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal *Tensor, err error)
- func BatchNormElemtOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, ...) (retVal *Tensor, err error)
- func Bilinear(input1 *Tensor, input2 *Tensor, weight *Tensor, bias *Tensor) (retVal *Tensor, err error)
- func Binomial(count *Tensor, prob *Tensor) (retVal *Tensor, err error)
- func BinomialOut(out *Tensor, count *Tensor, prob *Tensor) (retVal *Tensor, err error)
- func BitwiseAndScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseAndScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseLeftShiftScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseLeftShiftScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseOrScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseOrScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseRightShiftScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseRightShiftScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseXorScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BitwiseXorScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func BlackmanWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func BlackmanWindowOut(out *Tensor, windowLength int64) (retVal *Tensor, err error)
- func BlackmanWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func BlackmanWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor, err error)
- func BlockDiag(tensors []*Tensor) (retVal *Tensor, err error)
- func BlockDiagOut(out *Tensor, tensors []*Tensor) (retVal *Tensor, err error)
- func BroadcastTensors(tensors []*Tensor) (retVal []*Tensor, err error)
- func BucketizeScalar(selfScalar *Scalar, boundaries *Tensor, outInt32 bool, right bool) (retVal *Tensor, err error)
- func BucketizeScalarOut(out *Tensor, selfScalar *Scalar, boundaries *Tensor, outInt32 bool, right bool) (retVal *Tensor, err error)
- func CartesianProd(tensors []*Tensor) (retVal *Tensor, err error)
- func Cat(tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func CatOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func Cdist(x1 *Tensor, x2 *Tensor, p float64, computeMode []int64) (retVal *Tensor, err error)
- func ChainMatmul(matrices []*Tensor) (retVal *Tensor, err error)
- func ChainMatmulOut(out *Tensor, matrices []*Tensor) (retVal *Tensor, err error)
- func ColumnStack(tensors []*Tensor) (retVal *Tensor, err error)
- func ColumnStackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor, err error)
- func Complex(real *Tensor, imag *Tensor) (retVal *Tensor, err error)
- func ComplexOut(out *Tensor, real *Tensor, imag *Tensor) (retVal *Tensor, err error)
- func Concat(tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func ConcatOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func Concatenate(tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func ConcatenateOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func Conv1d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func Conv1dPadding(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding string, ...) (retVal *Tensor, err error)
- func Conv2d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func Conv2dPadding(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding string, ...) (retVal *Tensor, err error)
- func Conv3d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func Conv3dPadding(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding string, ...) (retVal *Tensor, err error)
- func ConvTranspose1d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func ConvTranspose2d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func ConvTranspose3d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func Convolution(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func ConvolutionOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func ConvolutionOverrideable(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func ConvolutionOverrideableOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func CosineEmbeddingLoss(input1 *Tensor, input2 *Tensor, target *Tensor, margin float64, ...) (retVal *Tensor, err error)
- func CosineSimilarity(x1 *Tensor, x2 *Tensor, dim int64, eps float64) (retVal *Tensor, err error)
- func CtcLoss(logProbs *Tensor, targets *Tensor, inputLengths []int64, targetLengths []int64, ...) (retVal *Tensor, err error)
- func CtcLossTensor(logProbs *Tensor, targets *Tensor, inputLengths *Tensor, targetLengths *Tensor, ...) (retVal *Tensor, err error)
- func CudnnAffineGridGenerator(theta *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor, err error)
- func CudnnAffineGridGeneratorBackward(grad *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor, err error)
- func CudnnAffineGridGeneratorBackwardOut(out *Tensor, grad *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor, err error)
- func CudnnAffineGridGeneratorOut(out *Tensor, theta *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor, err error)
- func CummaxminBackward(grad *Tensor, input *Tensor, indices *Tensor, dim int64) (retVal *Tensor, err error)
- func CumprodBackward(grad *Tensor, input *Tensor, dim int64, output *Tensor) (retVal *Tensor, err error)
- func CumulativeTrapezoid(y *Tensor, dim int64) (retVal *Tensor, err error)
- func CumulativeTrapezoidX(y *Tensor, x *Tensor, dim int64) (retVal *Tensor, err error)
- func DiagonalBackward(gradOutput *Tensor, inputSizes []int64, offset int64, dim1 int64, dim2 int64) (retVal *Tensor, err error)
- func DiagonalBackwardOut(out *Tensor, gradOutput *Tensor, inputSizes []int64, offset int64, dim1 int64, ...) (retVal *Tensor, err error)
- func Dropout(input *Tensor, p float64, train bool) (retVal *Tensor, err error)
- func Dstack(tensors []*Tensor) (retVal *Tensor, err error)
- func DstackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor, err error)
- func Einsum(equation string, tensors []*Tensor, path []int64) (retVal *Tensor, err error)
- func EluBackward(gradOutput *Tensor, alpha *Scalar, scale *Scalar, inputScale *Scalar, ...) (retVal *Tensor, err error)
- func EluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, alpha *Scalar, scale *Scalar, ...) (retVal *Tensor, err error)
- func Embedding(weight *Tensor, indices *Tensor, paddingIdx int64, scaleGradByFreq bool, ...) (retVal *Tensor, err error)
- func EmbeddingBackward(grad *Tensor, indices *Tensor, numWeights int64, paddingIdx int64, ...) (retVal *Tensor, err error)
- func EmbeddingDenseBackward(gradOutput *Tensor, indices *Tensor, numWeights int64, paddingIdx int64, ...) (retVal *Tensor, err error)
- func EmbeddingDenseBackwardOut(out *Tensor, gradOutput *Tensor, indices *Tensor, numWeights int64, ...) (retVal *Tensor, err error)
- func EmbeddingOut(out *Tensor, weight *Tensor, indices *Tensor, paddingIdx int64, ...) (retVal *Tensor, err error)
- func EmbeddingSparseBackward(grad *Tensor, indices *Tensor, numWeights int64, paddingIdx int64, ...) (retVal *Tensor, err error)
- func Empty(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func EmptyOut(out *Tensor, size []int64) (retVal *Tensor, err error)
- func EmptyPermuted(size []int64, physicalLayout []int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func EmptyPermutedOut(out *Tensor, size []int64, physicalLayout []int64) (retVal *Tensor, err error)
- func EmptyQuantized(size []int64, qtensor *Tensor, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func EmptyQuantizedOut(out *Tensor, size []int64, qtensor *Tensor) (retVal *Tensor, err error)
- func EmptyStrided(size []int64, stride []int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func EmptyStridedOut(out *Tensor, size []int64, stride []int64) (retVal *Tensor, err error)
- func Eye(n int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func EyeM(n int64, m int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func EyeMOut(out *Tensor, n int64, m int64) (retVal *Tensor, err error)
- func EyeOut(out *Tensor, n int64) (retVal *Tensor, err error)
- func FakeQuantizePerChannelAffineCachemaskBackward(grad *Tensor, mask *Tensor) (retVal *Tensor, err error)
- func FakeQuantizePerTensorAffineCachemaskBackward(grad *Tensor, mask *Tensor) (retVal *Tensor, err error)
- func FbgemmLinearFp16Weight(input *Tensor, packedWeight *Tensor, bias *Tensor) (retVal *Tensor, err error)
- func FbgemmLinearFp16WeightFp32Activation(input *Tensor, packedWeight *Tensor, bias *Tensor) (retVal *Tensor, err error)
- func FbgemmLinearInt8Weight(input *Tensor, weight *Tensor, packed *Tensor, colOffsets *Tensor, ...) (retVal *Tensor, err error)
- func FbgemmLinearInt8WeightFp32Activation(input *Tensor, weight *Tensor, packed *Tensor, colOffsets *Tensor, ...) (retVal *Tensor, err error)
- func FbgemmPackGemmMatrixFp16(input *Tensor) (retVal *Tensor, err error)
- func FbgemmPackQuantizedMatrix(input *Tensor) (retVal *Tensor, err error)
- func FbgemmPackQuantizedMatrixKn(input *Tensor, k int64, n int64) (retVal *Tensor, err error)
- func FeatureAlphaDropout(input *Tensor, p float64, train bool) (retVal *Tensor, err error)
- func FeatureDropout(input *Tensor, p float64, train bool) (retVal *Tensor, err error)
- func FftFftfreq(n int64, d float64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func FftFftfreqOut(out *Tensor, n int64, d float64) (retVal *Tensor, err error)
- func FftRfftfreq(n int64, d float64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func FftRfftfreqOut(out *Tensor, n int64, d float64) (retVal *Tensor, err error)
- func FlattenDenseTensors(tensors []*Tensor) (retVal *Tensor, err error)
- func FloatPowerScalar(selfScalar *Scalar, exponent *Tensor) (retVal *Tensor, err error)
- func FloatPowerScalarOut(out *Tensor, selfScalar *Scalar, exponent *Tensor) (retVal *Tensor, err error)
- func FromCtensor(ctensor unsafe.Pointer) *Tensor
- func FromFile(filename string, shared bool, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func FromFileOut(out *Tensor, filename string, shared bool, size []int64) (retVal *Tensor, err error)
- func Full(size []int64, fillValue *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func FullOut(out *Tensor, size []int64, fillValue *Scalar) (retVal *Tensor, err error)
- func GluBackwardJvp(gradX *Tensor, gradGlu *Tensor, x *Tensor, dgradGlu *Tensor, dx *Tensor, ...) (retVal *Tensor, err error)
- func GluBackwardJvpOut(out *Tensor, gradX *Tensor, gradGlu *Tensor, x *Tensor, dgradGlu *Tensor, ...) (retVal *Tensor, err error)
- func GluJvp(glu *Tensor, x *Tensor, dx *Tensor, dim int64) (retVal *Tensor, err error)
- func GluJvpOut(out *Tensor, glu *Tensor, x *Tensor, dx *Tensor, dim int64) (retVal *Tensor, err error)
- func GridSampler(input *Tensor, grid *Tensor, interpolationMode int64, paddingMode int64, ...) (retVal *Tensor, err error)
- func GridSampler2d(input *Tensor, grid *Tensor, interpolationMode int64, paddingMode int64, ...) (retVal *Tensor, err error)
- func GridSampler2dOut(out *Tensor, input *Tensor, grid *Tensor, interpolationMode int64, ...) (retVal *Tensor, err error)
- func GridSampler3d(input *Tensor, grid *Tensor, interpolationMode int64, paddingMode int64, ...) (retVal *Tensor, err error)
- func GridSampler3dOut(out *Tensor, input *Tensor, grid *Tensor, interpolationMode int64, ...) (retVal *Tensor, err error)
- func GroupNorm(input *Tensor, numGroups int64, weight *Tensor, bias *Tensor, eps float64, ...) (retVal *Tensor, err error)
- func GruCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor) (retVal *Tensor, err error)
- func HammingWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func HammingWindowOut(out *Tensor, windowLength int64) (retVal *Tensor, err error)
- func HammingWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func HammingWindowPeriodicAlpha(windowLength int64, periodic bool, alpha float64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func HammingWindowPeriodicAlphaBeta(windowLength int64, periodic bool, alpha float64, beta float64, ...) (retVal *Tensor, err error)
- func HammingWindowPeriodicAlphaBetaOut(out *Tensor, windowLength int64, periodic bool, alpha float64, beta float64) (retVal *Tensor, err error)
- func HammingWindowPeriodicAlphaOut(out *Tensor, windowLength int64, periodic bool, alpha float64) (retVal *Tensor, err error)
- func HammingWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor, err error)
- func HannWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func HannWindowOut(out *Tensor, windowLength int64) (retVal *Tensor, err error)
- func HannWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func HannWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor, err error)
- func Hspmm(mat1 *Tensor, mat2 *Tensor) (retVal *Tensor, err error)
- func HspmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor) (retVal *Tensor, err error)
- func Hstack(tensors []*Tensor) (retVal *Tensor, err error)
- func HstackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor, err error)
- func IndexSelectBackward(grad *Tensor, selfSizes []int64, dim int64, index *Tensor) (retVal *Tensor, err error)
- func InstanceNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal *Tensor, err error)
- func Isin(elements *Tensor, testElements *Tensor, assumeUnique bool, invert bool) (retVal *Tensor, err error)
- func IsinScalarTensor(element *Scalar, testElements *Tensor, assumeUnique bool, invert bool) (retVal *Tensor, err error)
- func IsinScalarTensorOut(out *Tensor, element *Scalar, testElements *Tensor, assumeUnique bool, ...) (retVal *Tensor, err error)
- func IsinTensorScalar(elements *Tensor, testElement *Scalar, assumeUnique bool, invert bool) (retVal *Tensor, err error)
- func IsinTensorScalarOut(out *Tensor, elements *Tensor, testElement *Scalar, assumeUnique bool, ...) (retVal *Tensor, err error)
- func IsinTensorTensorOut(out *Tensor, elements *Tensor, testElements *Tensor, assumeUnique bool, ...) (retVal *Tensor, err error)
- func KaiserWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func KaiserWindowBeta(windowLength int64, periodic bool, beta float64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func KaiserWindowBetaOut(out *Tensor, windowLength int64, periodic bool, beta float64) (retVal *Tensor, err error)
- func KaiserWindowOut(out *Tensor, windowLength int64) (retVal *Tensor, err error)
- func KaiserWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func KaiserWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor, err error)
- func LayerNorm(input *Tensor, normalizedShape []int64, weight *Tensor, bias *Tensor, ...) (retVal *Tensor, err error)
- func LinalgDet(a *Tensor) (retVal *Tensor, err error)
- func LinalgDetOut(out *Tensor, a *Tensor) (retVal *Tensor, err error)
- func LinalgDiagonal(a *Tensor, offset int64, dim1 int64, dim2 int64) (retVal *Tensor, err error)
- func LinalgHouseholderProduct(input *Tensor, tau *Tensor) (retVal *Tensor, err error)
- func LinalgHouseholderProductOut(out *Tensor, input *Tensor, tau *Tensor) (retVal *Tensor, err error)
- func LinalgInv(a *Tensor) (retVal *Tensor, err error)
- func LinalgInvOut(out *Tensor, a *Tensor) (retVal *Tensor, err error)
- func LinalgLdlSolve(lD *Tensor, pivots *Tensor, b *Tensor, hermitian bool) (retVal *Tensor, err error)
- func LinalgLdlSolveOut(out *Tensor, lD *Tensor, pivots *Tensor, b *Tensor, hermitian bool) (retVal *Tensor, err error)
- func LinalgLuSolve(lU *Tensor, pivots *Tensor, b *Tensor, left bool, adjoint bool) (retVal *Tensor, err error)
- func LinalgLuSolveOut(out *Tensor, lU *Tensor, pivots *Tensor, b *Tensor, left bool, adjoint bool) (retVal *Tensor, err error)
- func LinalgMatrixRankAtolRtolTensor(input *Tensor, atol *Tensor, rtol *Tensor, hermitian bool) (retVal *Tensor, err error)
- func LinalgMatrixRankAtolRtolTensorOut(out *Tensor, input *Tensor, atol *Tensor, rtol *Tensor, hermitian bool) (retVal *Tensor, err error)
- func LinalgMatrixRankOutTolTensor(out *Tensor, input *Tensor, tol *Tensor, hermitian bool) (retVal *Tensor, err error)
- func LinalgMatrixRankTolTensor(input *Tensor, tol *Tensor, hermitian bool) (retVal *Tensor, err error)
- func LinalgMultiDot(tensors []*Tensor) (retVal *Tensor, err error)
- func LinalgMultiDotOut(out *Tensor, tensors []*Tensor) (retVal *Tensor, err error)
- func LinalgSolve(a *Tensor, b *Tensor, left bool) (retVal *Tensor, err error)
- func LinalgSolveOut(out *Tensor, a *Tensor, b *Tensor, left bool) (retVal *Tensor, err error)
- func LinalgSvdvals(a *Tensor, driver string) (retVal *Tensor, err error)
- func LinalgSvdvalsOut(out *Tensor, a *Tensor, driver string) (retVal *Tensor, err error)
- func LinalgVander(x *Tensor, n []int64) (retVal *Tensor, err error)
- func LinalgVecdot(x *Tensor, y *Tensor, dim int64) (retVal *Tensor, err error)
- func LinalgVecdotOut(out *Tensor, x *Tensor, y *Tensor, dim int64) (retVal *Tensor, err error)
- func Linear(input *Tensor, weight *Tensor, bias *Tensor) (retVal *Tensor, err error)
- func LinearOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor) (retVal *Tensor, err error)
- func Linspace(start *Scalar, end *Scalar, steps int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func LinspaceOut(out *Tensor, start *Scalar, end *Scalar, steps int64) (retVal *Tensor, err error)
- func Load(path string, nameOpt ...string) (*Tensor, error)
- func LoadHwc(path string) (*Tensor, error)
- func Logspace(start *Scalar, end *Scalar, steps int64, base float64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func LogspaceOut(out *Tensor, start *Scalar, end *Scalar, steps int64, base float64) (retVal *Tensor, err error)
- func MarginRankingLoss(input1 *Tensor, input2 *Tensor, target *Tensor, margin float64, ...) (retVal *Tensor, err error)
- func MaskedSelectBackward(grad *Tensor, input *Tensor, mask *Tensor) (retVal *Tensor, err error)
- func Meshgrid(tensors []*Tensor) (retVal []*Tensor, err error)
- func MkldnnLinearBackwardInput(inputSize []int64, gradOutput *Tensor, weight *Tensor) (retVal *Tensor, err error)
- func MkldnnLinearBackwardInputOut(out *Tensor, inputSize []int64, gradOutput *Tensor, weight *Tensor) (retVal *Tensor, err error)
- func MkldnnMaxPool2dBackward(gradOutput *Tensor, output *Tensor, input *Tensor, kernelSize []int64, ...) (retVal *Tensor, err error)
- func MkldnnMaxPool2dBackwardOut(out *Tensor, gradOutput *Tensor, output *Tensor, input *Tensor, ...) (retVal *Tensor, err error)
- func MkldnnMaxPool3dBackward(gradOutput *Tensor, output *Tensor, input *Tensor, kernelSize []int64, ...) (retVal *Tensor, err error)
- func MkldnnMaxPool3dBackwardOut(out *Tensor, gradOutput *Tensor, output *Tensor, input *Tensor, ...) (retVal *Tensor, err error)
- func Must(ts Tensor, err error) (retVal Tensor)
- func MustAffineGridGenerator(theta *Tensor, size []int64, alignCorners bool) (retVal *Tensor)
- func MustAffineGridGeneratorBackward(grad *Tensor, size []int64, alignCorners bool) (retVal *Tensor)
- func MustAffineGridGeneratorOut(out *Tensor, theta *Tensor, size []int64, alignCorners bool) (retVal *Tensor)
- func MustAlignTensors(tensors []*Tensor, del bool) (retVal []*Tensor)
- func MustAlphaDropout(input *Tensor, p float64, train bool) (retVal *Tensor)
- func MustArange(end *Scalar, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustArangeStart(start *Scalar, end *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustArangeStartStep(start *Scalar, end *Scalar, step *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustBartlettWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustBartlettWindowOut(out *Tensor, windowLength int64) (retVal *Tensor)
- func MustBartlettWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustBartlettWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor)
- func MustBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal *Tensor)
- func MustBatchNormBackwardElemt(gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, weight *Tensor, ...) (retVal *Tensor)
- func MustBatchNormBackwardElemtOut(out *Tensor, gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal *Tensor)
- func MustBatchNormElemt(input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, invstd *Tensor, ...) (retVal *Tensor)
- func MustBatchNormElemtOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, ...) (retVal *Tensor)
- func MustBilinear(input1 *Tensor, input2 *Tensor, weight *Tensor, bias *Tensor) (retVal *Tensor)
- func MustBinomial(count *Tensor, prob *Tensor) (retVal *Tensor)
- func MustBinomialOut(out *Tensor, count *Tensor, prob *Tensor) (retVal *Tensor)
- func MustBitwiseAndScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseAndScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseLeftShiftScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseLeftShiftScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseOrScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseOrScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseRightShiftScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseRightShiftScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseXorScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBitwiseXorScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustBlackmanWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustBlackmanWindowOut(out *Tensor, windowLength int64) (retVal *Tensor)
- func MustBlackmanWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustBlackmanWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor)
- func MustBlockDiag(tensors []*Tensor) (retVal *Tensor)
- func MustBlockDiagOut(out *Tensor, tensors []*Tensor) (retVal *Tensor)
- func MustBroadcastTensors(tensors []*Tensor, del bool) (retVal []*Tensor)
- func MustBucketizeScalar(selfScalar *Scalar, boundaries *Tensor, outInt32 bool, right bool) (retVal *Tensor)
- func MustBucketizeScalarOut(out *Tensor, selfScalar *Scalar, boundaries *Tensor, outInt32 bool, right bool) (retVal *Tensor)
- func MustCartesianProd(tensors []*Tensor) (retVal *Tensor)
- func MustCat(tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustCatOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustCdist(x1 *Tensor, x2 *Tensor, p float64, computeMode []int64) (retVal *Tensor)
- func MustChainMatmul(matrices []*Tensor) (retVal *Tensor)
- func MustChainMatmulOut(out *Tensor, matrices []*Tensor) (retVal *Tensor)
- func MustColumnStack(tensors []*Tensor) (retVal *Tensor)
- func MustColumnStackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor)
- func MustComplex(real *Tensor, imag *Tensor) (retVal *Tensor)
- func MustComplexOut(out *Tensor, real *Tensor, imag *Tensor) (retVal *Tensor)
- func MustConcat(tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustConcatOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustConcatenate(tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustConcatenateOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustConv1d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConv1dPadding(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding string, ...) (retVal *Tensor)
- func MustConv2d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConv2dPadding(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding string, ...) (retVal *Tensor)
- func MustConv3d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConv3dPadding(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding string, ...) (retVal *Tensor)
- func MustConvTranspose1d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConvTranspose2d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConvTranspose3d(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConvolution(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConvolutionOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func MustConvolutionOverrideable(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func MustConvolutionOverrideableOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func MustCosineEmbeddingLoss(input1 *Tensor, input2 *Tensor, target *Tensor, margin float64, ...) (retVal *Tensor)
- func MustCosineSimilarity(x1 *Tensor, x2 *Tensor, dim int64, eps float64) (retVal *Tensor)
- func MustCtcLoss(logProbs *Tensor, targets *Tensor, inputLengths []int64, targetLengths []int64, ...) (retVal *Tensor)
- func MustCtcLossTensor(logProbs *Tensor, targets *Tensor, inputLengths *Tensor, targetLengths *Tensor, ...) (retVal *Tensor)
- func MustCudnnAffineGridGenerator(theta *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor)
- func MustCudnnAffineGridGeneratorBackward(grad *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor)
- func MustCudnnAffineGridGeneratorBackwardOut(out *Tensor, grad *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor)
- func MustCudnnAffineGridGeneratorOut(out *Tensor, theta *Tensor, n int64, c int64, h int64, w int64) (retVal *Tensor)
- func MustCummaxminBackward(grad *Tensor, input *Tensor, indices *Tensor, dim int64) (retVal *Tensor)
- func MustCumprodBackward(grad *Tensor, input *Tensor, dim int64, output *Tensor) (retVal *Tensor)
- func MustCumulativeTrapezoid(y *Tensor, dim int64) (retVal *Tensor)
- func MustCumulativeTrapezoidX(y *Tensor, x *Tensor, dim int64) (retVal *Tensor)
- func MustDiagonalBackward(gradOutput *Tensor, inputSizes []int64, offset int64, dim1 int64, dim2 int64) (retVal *Tensor)
- func MustDiagonalBackwardOut(out *Tensor, gradOutput *Tensor, inputSizes []int64, offset int64, dim1 int64, ...) (retVal *Tensor)
- func MustDropout(input *Tensor, p float64, train bool) (retVal *Tensor)
- func MustDstack(tensors []*Tensor) (retVal *Tensor)
- func MustDstackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor)
- func MustEinsum(equation string, tensors []*Tensor, path []int64) (retVal *Tensor)
- func MustEluBackward(gradOutput *Tensor, alpha *Scalar, scale *Scalar, inputScale *Scalar, ...) (retVal *Tensor)
- func MustEluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, alpha *Scalar, scale *Scalar, ...) (retVal *Tensor)
- func MustEmbedding(weight *Tensor, indices *Tensor, paddingIdx int64, scaleGradByFreq bool, ...) (retVal *Tensor)
- func MustEmbeddingBackward(grad *Tensor, indices *Tensor, numWeights int64, paddingIdx int64, ...) (retVal *Tensor)
- func MustEmbeddingDenseBackward(gradOutput *Tensor, indices *Tensor, numWeights int64, paddingIdx int64, ...) (retVal *Tensor)
- func MustEmbeddingDenseBackwardOut(out *Tensor, gradOutput *Tensor, indices *Tensor, numWeights int64, ...) (retVal *Tensor)
- func MustEmbeddingOut(out *Tensor, weight *Tensor, indices *Tensor, paddingIdx int64, ...) (retVal *Tensor)
- func MustEmbeddingSparseBackward(grad *Tensor, indices *Tensor, numWeights int64, paddingIdx int64, ...) (retVal *Tensor)
- func MustEmpty(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustEmptyOut(out *Tensor, size []int64) (retVal *Tensor)
- func MustEmptyPermuted(size []int64, physicalLayout []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustEmptyPermutedOut(out *Tensor, size []int64, physicalLayout []int64) (retVal *Tensor)
- func MustEmptyQuantized(size []int64, qtensor *Tensor, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustEmptyQuantizedOut(out *Tensor, size []int64, qtensor *Tensor) (retVal *Tensor)
- func MustEmptyStrided(size []int64, stride []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustEmptyStridedOut(out *Tensor, size []int64, stride []int64) (retVal *Tensor)
- func MustEye(n int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustEyeM(n int64, m int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustEyeMOut(out *Tensor, n int64, m int64) (retVal *Tensor)
- func MustEyeOut(out *Tensor, n int64) (retVal *Tensor)
- func MustFakeQuantizePerChannelAffineCachemaskBackward(grad *Tensor, mask *Tensor) (retVal *Tensor)
- func MustFakeQuantizePerTensorAffineCachemaskBackward(grad *Tensor, mask *Tensor) (retVal *Tensor)
- func MustFbgemmLinearFp16Weight(input *Tensor, packedWeight *Tensor, bias *Tensor) (retVal *Tensor)
- func MustFbgemmLinearFp16WeightFp32Activation(input *Tensor, packedWeight *Tensor, bias *Tensor) (retVal *Tensor)
- func MustFbgemmLinearInt8Weight(input *Tensor, weight *Tensor, packed *Tensor, colOffsets *Tensor, ...) (retVal *Tensor)
- func MustFbgemmLinearInt8WeightFp32Activation(input *Tensor, weight *Tensor, packed *Tensor, colOffsets *Tensor, ...) (retVal *Tensor)
- func MustFbgemmPackGemmMatrixFp16(input *Tensor) (retVal *Tensor)
- func MustFbgemmPackQuantizedMatrix(input *Tensor) (retVal *Tensor)
- func MustFbgemmPackQuantizedMatrixKn(input *Tensor, k int64, n int64) (retVal *Tensor)
- func MustFeatureAlphaDropout(input *Tensor, p float64, train bool) (retVal *Tensor)
- func MustFeatureDropout(input *Tensor, p float64, train bool) (retVal *Tensor)
- func MustFftFftfreq(n int64, d float64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustFftFftfreqOut(out *Tensor, n int64, d float64) (retVal *Tensor)
- func MustFftRfftfreq(n int64, d float64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustFftRfftfreqOut(out *Tensor, n int64, d float64) (retVal *Tensor)
- func MustFlattenDenseTensors(tensors []*Tensor) (retVal *Tensor)
- func MustFloatPowerScalar(selfScalar *Scalar, exponent *Tensor) (retVal *Tensor)
- func MustFloatPowerScalarOut(out *Tensor, selfScalar *Scalar, exponent *Tensor) (retVal *Tensor)
- func MustFromFile(filename string, shared bool, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustFromFileOut(out *Tensor, filename string, shared bool, size []int64) (retVal *Tensor)
- func MustFull(size []int64, fillValue *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustFullOut(out *Tensor, size []int64, fillValue *Scalar) (retVal *Tensor)
- func MustGluBackwardJvp(gradX *Tensor, gradGlu *Tensor, x *Tensor, dgradGlu *Tensor, dx *Tensor, ...) (retVal *Tensor)
- func MustGluBackwardJvpOut(out *Tensor, gradX *Tensor, gradGlu *Tensor, x *Tensor, dgradGlu *Tensor, ...) (retVal *Tensor)
- func MustGluJvp(glu *Tensor, x *Tensor, dx *Tensor, dim int64) (retVal *Tensor)
- func MustGluJvpOut(out *Tensor, glu *Tensor, x *Tensor, dx *Tensor, dim int64) (retVal *Tensor)
- func MustGridSampler(input *Tensor, grid *Tensor, interpolationMode int64, paddingMode int64, ...) (retVal *Tensor)
- func MustGridSampler2d(input *Tensor, grid *Tensor, interpolationMode int64, paddingMode int64, ...) (retVal *Tensor)
- func MustGridSampler2dOut(out *Tensor, input *Tensor, grid *Tensor, interpolationMode int64, ...) (retVal *Tensor)
- func MustGridSampler3d(input *Tensor, grid *Tensor, interpolationMode int64, paddingMode int64, ...) (retVal *Tensor)
- func MustGridSampler3dOut(out *Tensor, input *Tensor, grid *Tensor, interpolationMode int64, ...) (retVal *Tensor)
- func MustGroupNorm(input *Tensor, numGroups int64, weight *Tensor, bias *Tensor, eps float64, ...) (retVal *Tensor)
- func MustGruCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor) (retVal *Tensor)
- func MustHammingWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustHammingWindowOut(out *Tensor, windowLength int64) (retVal *Tensor)
- func MustHammingWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustHammingWindowPeriodicAlpha(windowLength int64, periodic bool, alpha float64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustHammingWindowPeriodicAlphaBeta(windowLength int64, periodic bool, alpha float64, beta float64, ...) (retVal *Tensor)
- func MustHammingWindowPeriodicAlphaBetaOut(out *Tensor, windowLength int64, periodic bool, alpha float64, beta float64) (retVal *Tensor)
- func MustHammingWindowPeriodicAlphaOut(out *Tensor, windowLength int64, periodic bool, alpha float64) (retVal *Tensor)
- func MustHammingWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor)
- func MustHannWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustHannWindowOut(out *Tensor, windowLength int64) (retVal *Tensor)
- func MustHannWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustHannWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor)
- func MustHspmm(mat1 *Tensor, mat2 *Tensor) (retVal *Tensor)
- func MustHspmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor) (retVal *Tensor)
- func MustHstack(tensors []*Tensor) (retVal *Tensor)
- func MustHstackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor)
- func MustIndexSelectBackward(grad *Tensor, selfSizes []int64, dim int64, index *Tensor) (retVal *Tensor)
- func MustInstanceNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, ...) (retVal *Tensor)
- func MustIsin(elements *Tensor, testElements *Tensor, assumeUnique bool, invert bool) (retVal *Tensor)
- func MustIsinScalarTensor(element *Scalar, testElements *Tensor, assumeUnique bool, invert bool) (retVal *Tensor)
- func MustIsinScalarTensorOut(out *Tensor, element *Scalar, testElements *Tensor, assumeUnique bool, ...) (retVal *Tensor)
- func MustIsinTensorScalar(elements *Tensor, testElement *Scalar, assumeUnique bool, invert bool) (retVal *Tensor)
- func MustIsinTensorScalarOut(out *Tensor, elements *Tensor, testElement *Scalar, assumeUnique bool, ...) (retVal *Tensor)
- func MustIsinTensorTensorOut(out *Tensor, elements *Tensor, testElements *Tensor, assumeUnique bool, ...) (retVal *Tensor)
- func MustKaiserWindow(windowLength int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustKaiserWindowBeta(windowLength int64, periodic bool, beta float64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustKaiserWindowBetaOut(out *Tensor, windowLength int64, periodic bool, beta float64) (retVal *Tensor)
- func MustKaiserWindowOut(out *Tensor, windowLength int64) (retVal *Tensor)
- func MustKaiserWindowPeriodic(windowLength int64, periodic bool, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustKaiserWindowPeriodicOut(out *Tensor, windowLength int64, periodic bool) (retVal *Tensor)
- func MustLayerNorm(input *Tensor, normalizedShape []int64, weight *Tensor, bias *Tensor, ...) (retVal *Tensor)
- func MustLinalgDet(a *Tensor) (retVal *Tensor)
- func MustLinalgDetOut(out *Tensor, a *Tensor) (retVal *Tensor)
- func MustLinalgDiagonal(a *Tensor, offset int64, dim1 int64, dim2 int64) (retVal *Tensor)
- func MustLinalgHouseholderProduct(input *Tensor, tau *Tensor) (retVal *Tensor)
- func MustLinalgHouseholderProductOut(out *Tensor, input *Tensor, tau *Tensor) (retVal *Tensor)
- func MustLinalgInv(a *Tensor) (retVal *Tensor)
- func MustLinalgInvOut(out *Tensor, a *Tensor) (retVal *Tensor)
- func MustLinalgLdlSolve(lD *Tensor, pivots *Tensor, b *Tensor, hermitian bool) (retVal *Tensor)
- func MustLinalgLdlSolveOut(out *Tensor, lD *Tensor, pivots *Tensor, b *Tensor, hermitian bool) (retVal *Tensor)
- func MustLinalgLuSolve(lU *Tensor, pivots *Tensor, b *Tensor, left bool, adjoint bool) (retVal *Tensor)
- func MustLinalgLuSolveOut(out *Tensor, lU *Tensor, pivots *Tensor, b *Tensor, left bool, adjoint bool) (retVal *Tensor)
- func MustLinalgMatrixRankAtolRtolTensor(input *Tensor, atol *Tensor, rtol *Tensor, hermitian bool) (retVal *Tensor)
- func MustLinalgMatrixRankAtolRtolTensorOut(out *Tensor, input *Tensor, atol *Tensor, rtol *Tensor, hermitian bool) (retVal *Tensor)
- func MustLinalgMatrixRankOutTolTensor(out *Tensor, input *Tensor, tol *Tensor, hermitian bool) (retVal *Tensor)
- func MustLinalgMatrixRankTolTensor(input *Tensor, tol *Tensor, hermitian bool) (retVal *Tensor)
- func MustLinalgMultiDot(tensors []*Tensor) (retVal *Tensor)
- func MustLinalgMultiDotOut(out *Tensor, tensors []*Tensor) (retVal *Tensor)
- func MustLinalgSolve(a *Tensor, b *Tensor, left bool) (retVal *Tensor)
- func MustLinalgSolveOut(out *Tensor, a *Tensor, b *Tensor, left bool) (retVal *Tensor)
- func MustLinalgSvdvals(a *Tensor, driver string) (retVal *Tensor)
- func MustLinalgSvdvalsOut(out *Tensor, a *Tensor, driver string) (retVal *Tensor)
- func MustLinalgVander(x *Tensor, n []int64) (retVal *Tensor)
- func MustLinalgVecdot(x *Tensor, y *Tensor, dim int64) (retVal *Tensor)
- func MustLinalgVecdotOut(out *Tensor, x *Tensor, y *Tensor, dim int64) (retVal *Tensor)
- func MustLinear(input *Tensor, weight *Tensor, bias *Tensor) (retVal *Tensor)
- func MustLinearOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor) (retVal *Tensor)
- func MustLinspace(start *Scalar, end *Scalar, steps int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustLinspaceOut(out *Tensor, start *Scalar, end *Scalar, steps int64) (retVal *Tensor)
- func MustLoad(path string, nameOpt ...string) *Tensor
- func MustLogspace(start *Scalar, end *Scalar, steps int64, base float64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustLogspaceOut(out *Tensor, start *Scalar, end *Scalar, steps int64, base float64) (retVal *Tensor)
- func MustMarginRankingLoss(input1 *Tensor, input2 *Tensor, target *Tensor, margin float64, ...) (retVal *Tensor)
- func MustMaskedSelectBackward(grad *Tensor, input *Tensor, mask *Tensor) (retVal *Tensor)
- func MustMeshgrid(tensors []*Tensor) (retVal []*Tensor)
- func MustMkldnnLinearBackwardInput(inputSize []int64, gradOutput *Tensor, weight *Tensor) (retVal *Tensor)
- func MustMkldnnLinearBackwardInputOut(out *Tensor, inputSize []int64, gradOutput *Tensor, weight *Tensor) (retVal *Tensor)
- func MustMkldnnMaxPool2dBackward(gradOutput *Tensor, output *Tensor, input *Tensor, kernelSize []int64, ...) (retVal *Tensor)
- func MustMkldnnMaxPool2dBackwardOut(out *Tensor, gradOutput *Tensor, output *Tensor, input *Tensor, ...) (retVal *Tensor)
- func MustMkldnnMaxPool3dBackward(gradOutput *Tensor, output *Tensor, input *Tensor, kernelSize []int64, ...) (retVal *Tensor)
- func MustMkldnnMaxPool3dBackwardOut(out *Tensor, gradOutput *Tensor, output *Tensor, input *Tensor, ...) (retVal *Tensor)
- func MustNativeDropoutBackward(gradOutput *Tensor, mask *Tensor, scale float64) (retVal *Tensor)
- func MustNativeDropoutBackwardOut(out *Tensor, gradOutput *Tensor, mask *Tensor, scale float64) (retVal *Tensor)
- func MustNormExceptDim(v *Tensor, pow int64, dim int64) (retVal *Tensor)
- func MustOfDataSize(data []byte, size []int64, dtype gotch.DType, opts ...TensorOpt) *Tensor
- func MustOfSlice(data interface{}, opts ...TensorOpt) *Tensor
- func MustOnes(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustOnesOut(out *Tensor, size []int64) (retVal *Tensor)
- func MustPadSequence(sequences []*Tensor, batchFirst bool, paddingValue float64) (retVal *Tensor)
- func MustPairwiseDistance(x1 *Tensor, x2 *Tensor, p float64, eps float64, keepdim bool) (retVal *Tensor)
- func MustPoissonNllLoss(input *Tensor, target *Tensor, logInput bool, full bool, eps float64, ...) (retVal *Tensor)
- func MustPolar(abs *Tensor, angle *Tensor) (retVal *Tensor)
- func MustPolarOut(out *Tensor, abs *Tensor, angle *Tensor) (retVal *Tensor)
- func MustPowScalar(selfScalar *Scalar, exponent *Tensor) (retVal *Tensor)
- func MustPowScalarOut(out *Tensor, selfScalar *Scalar, exponent *Tensor) (retVal *Tensor)
- func MustQuantizedBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, vari *Tensor, ...) (retVal *Tensor)
- func MustQuantizedBatchNormOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, ...) (retVal *Tensor)
- func MustQuantizedGruCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor, ...) (retVal *Tensor)
- func MustQuantizedRnnReluCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor, ...) (retVal *Tensor)
- func MustQuantizedRnnTanhCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor, ...) (retVal *Tensor)
- func MustRand(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustRandOut(out *Tensor, size []int64) (retVal *Tensor)
- func MustRandint(high int64, size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustRandintLow(low int64, high int64, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustRandintLowOut(out *Tensor, low int64, high int64, size []int64) (retVal *Tensor)
- func MustRandintOut(out *Tensor, high int64, size []int64) (retVal *Tensor)
- func MustRandn(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustRandnOut(out *Tensor, size []int64) (retVal *Tensor)
- func MustRandperm(n int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustRandpermOut(out *Tensor, n int64) (retVal *Tensor)
- func MustRange(start *Scalar, end *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustRangeOut(out *Tensor, start *Scalar, end *Scalar) (retVal *Tensor)
- func MustRangeOut_(out *Tensor, start *Scalar, end *Scalar) (retVal *Tensor)
- func MustRangeStep(start *Scalar, end *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustRemainderScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustRemainderScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustRepeatInterleave(repeats *Tensor, outputSize []int64) (retVal *Tensor)
- func MustRepeatInterleaveTensorOut(out *Tensor, repeats *Tensor, outputSize []int64) (retVal *Tensor)
- func MustRnnReluCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor) (retVal *Tensor)
- func MustRnnTanhCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor) (retVal *Tensor)
- func MustRowStack(tensors []*Tensor) (retVal *Tensor)
- func MustRowStackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor)
- func MustScalarTensor(s *Scalar, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustScalarTensorOut(out *Tensor, s *Scalar) (retVal *Tensor)
- func MustScaledDotProductAttention(query *Tensor, key *Tensor, value *Tensor, attnMask *Tensor, dropoutP float64, ...) (retVal *Tensor)
- func MustSearchsortedScalar(sortedSequence *Tensor, selfScalar *Scalar, outInt32 bool, right bool, ...) (retVal *Tensor)
- func MustSearchsortedScalarOut(out *Tensor, sortedSequence *Tensor, selfScalar *Scalar, outInt32 bool, ...) (retVal *Tensor)
- func MustSegmentReduce(data *Tensor, reduce string, lengths *Tensor, indices *Tensor, offsets *Tensor, ...) (retVal *Tensor)
- func MustSegmentReduceOut(out *Tensor, data *Tensor, reduce string, lengths *Tensor, indices *Tensor, ...) (retVal *Tensor)
- func MustSelectBackward(gradOutput *Tensor, inputSizes []int64, dim int64, index int64) (retVal *Tensor)
- func MustSelectBackwardOut(out *Tensor, gradOutput *Tensor, inputSizes []int64, dim int64, index int64) (retVal *Tensor)
- func MustSigmoidBackward(gradOutput *Tensor, output *Tensor) (retVal *Tensor)
- func MustSigmoidBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, output *Tensor) (retVal *Tensor)
- func MustSliceBackward(gradOutput *Tensor, inputSizes []int64, dim int64, start int64, end int64, ...) (retVal *Tensor)
- func MustSliceBackwardOut(out *Tensor, gradOutput *Tensor, inputSizes []int64, dim int64, start int64, ...) (retVal *Tensor)
- func MustSparseBscTensor(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, ...) (retVal *Tensor)
- func MustSparseBscTensorCcolRowValueSize(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func MustSparseBsrTensor(crowIndices *Tensor, colIndices *Tensor, values *Tensor, ...) (retVal *Tensor)
- func MustSparseBsrTensorCrowColValueSize(crowIndices *Tensor, colIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func MustSparseCompressedTensor(compressedIndices *Tensor, plainIndices *Tensor, values *Tensor, ...) (retVal *Tensor)
- func MustSparseCompressedTensorCompPlainValueSize(compressedIndices *Tensor, plainIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func MustSparseCooTensor(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustSparseCooTensorIndices(indices *Tensor, values *Tensor, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustSparseCooTensorIndicesSize(indices *Tensor, values *Tensor, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustSparseCooTensorSizeOut(out *Tensor, size []int64) (retVal *Tensor)
- func MustSparseCscTensor(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, ...) (retVal *Tensor)
- func MustSparseCscTensorCcolRowValueSize(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func MustSparseCsrTensor(crowIndices *Tensor, colIndices *Tensor, values *Tensor, ...) (retVal *Tensor)
- func MustSparseCsrTensorCrowColValueSize(crowIndices *Tensor, colIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func MustSpecialAiryAi(x *Tensor) (retVal *Tensor)
- func MustSpecialAiryAiOut(out *Tensor, x *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialT(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialTNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialTNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialTOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialTXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialTXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialU(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialUNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialUNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialUOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialUXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialUXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialV(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialVNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialVNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialVOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialVXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialVXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialW(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialWNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialWNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialWOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialWXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialChebyshevPolynomialWXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialH(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialHNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialHermitePolynomialHNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialHermitePolynomialHOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialHXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialHXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialHe(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialHeNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialHermitePolynomialHeNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialHermitePolynomialHeOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialHeXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialHermitePolynomialHeXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialLaguerrePolynomialL(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialLaguerrePolynomialLNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialLaguerrePolynomialLNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialLaguerrePolynomialLOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialLaguerrePolynomialLXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialLaguerrePolynomialLXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialLegendrePolynomialP(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialLegendrePolynomialPNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialLegendrePolynomialPNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialLegendrePolynomialPOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialLegendrePolynomialPXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialLegendrePolynomialPXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialScaledModifiedBesselK0(x *Tensor) (retVal *Tensor)
- func MustSpecialScaledModifiedBesselK0Out(out *Tensor, x *Tensor) (retVal *Tensor)
- func MustSpecialScaledModifiedBesselK1(x *Tensor) (retVal *Tensor)
- func MustSpecialScaledModifiedBesselK1Out(out *Tensor, x *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialT(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialTNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialTNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialTOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialTXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialTXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialU(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialUNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialUNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialUOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialUXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialUXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialV(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialVNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialVNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialVOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialVXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialVXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialW(x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialWNScalar(x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialWNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialWOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialWXScalar(x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialShiftedChebyshevPolynomialWXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor)
- func MustSpecialSphericalBesselJ0(x *Tensor) (retVal *Tensor)
- func MustSpecialSphericalBesselJ0Out(out *Tensor, x *Tensor) (retVal *Tensor)
- func MustSpecialXlog1pySelfScalar(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustSpecialXlog1pySelfScalarOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustSpecialXlogySelfScalar(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustSpecialXlogySelfScalarOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustSpecialZetaSelfScalar(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustSpecialZetaSelfScalarOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustStack(tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustStackOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor)
- func MustTanhBackward(gradOutput *Tensor, output *Tensor) (retVal *Tensor)
- func MustTanhBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, output *Tensor) (retVal *Tensor)
- func MustToDenseBackward(grad *Tensor, input *Tensor, maskedGrad bool) (retVal *Tensor)
- func MustToMkldnnBackward(grad *Tensor, input *Tensor) (retVal *Tensor)
- func MustTraceBackward(grad *Tensor, sizes []int64) (retVal *Tensor)
- func MustTrapezoid(y *Tensor, dim int64) (retVal *Tensor)
- func MustTrapezoidX(y *Tensor, x *Tensor, dim int64) (retVal *Tensor)
- func MustTrapz(y *Tensor, x *Tensor, dim int64) (retVal *Tensor)
- func MustTrapzDx(y *Tensor, dx float64, dim int64) (retVal *Tensor)
- func MustTrilIndices(row int64, col int64, offset int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustTrilIndicesOut(out *Tensor, row int64, col int64, offset int64) (retVal *Tensor)
- func MustTripletMarginLoss(anchor *Tensor, positive *Tensor, negative *Tensor, margin float64, p float64, ...) (retVal *Tensor)
- func MustTriuIndices(row int64, col int64, offset int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func MustTriuIndicesOut(out *Tensor, row int64, col int64, offset int64) (retVal *Tensor)
- func MustUnfoldBackward(gradIn *Tensor, inputSizes []int64, dim int64, size int64, step int64) (retVal *Tensor)
- func MustUnfoldBackwardOut(out *Tensor, gradIn *Tensor, inputSizes []int64, dim int64, size int64, ...) (retVal *Tensor)
- func MustUpsampleBicubic2dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor)
- func MustUpsampleBicubic2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func MustUpsampleBicubic2dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor)
- func MustUpsampleBilinear2dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor)
- func MustUpsampleBilinear2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func MustUpsampleBilinear2dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor)
- func MustUpsampleLinear1dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor)
- func MustUpsampleLinear1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func MustUpsampleLinear1dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor)
- func MustUpsampleNearest1dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scales []float64) (retVal *Tensor)
- func MustUpsampleNearest1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func MustUpsampleNearest1dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor)
- func MustUpsampleNearest2dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scalesH []float64, ...) (retVal *Tensor)
- func MustUpsampleNearest2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func MustUpsampleNearest2dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor)
- func MustUpsampleNearest3dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scalesD []float64, ...) (retVal *Tensor)
- func MustUpsampleNearest3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func MustUpsampleNearest3dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor)
- func MustUpsampleTrilinear3dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor)
- func MustUpsampleTrilinear3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func MustUpsampleTrilinear3dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor)
- func MustValueSelectingReductionBackward(grad *Tensor, dim int64, indices *Tensor, sizes []int64, keepdim bool) (retVal *Tensor)
- func MustVander(x *Tensor, n []int64, increasing bool) (retVal *Tensor)
- func MustVstack(tensors []*Tensor) (retVal *Tensor)
- func MustVstackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor)
- func MustWhere(condition Tensor, del bool) (retVal []*Tensor)
- func MustWhereScalar(condition *Tensor, selfScalar *Scalar, other *Scalar) (retVal *Tensor)
- func MustWhereScalarself(condition *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustXlogyOutscalarSelf(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustXlogyScalarSelf(selfScalar *Scalar, other *Tensor) (retVal *Tensor)
- func MustZeros(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func MustZerosOut(out *Tensor, size []int64) (retVal *Tensor)
- func Must_CdistBackward(grad *Tensor, x1 *Tensor, x2 *Tensor, p float64, cdist *Tensor) (retVal *Tensor)
- func Must_CdistBackwardOut(out *Tensor, grad *Tensor, x1 *Tensor, x2 *Tensor, p float64, cdist *Tensor) (retVal *Tensor)
- func Must_ComputeLinearCombination(input *Tensor, coefficients *Tensor) (retVal *Tensor)
- func Must_ComputeLinearCombinationOut(out *Tensor, input *Tensor, coefficients *Tensor) (retVal *Tensor)
- func Must_ConvertIndicesFromCsrToCoo(crowIndices *Tensor, colIndices *Tensor, outInt32 bool, transpose bool) (retVal *Tensor)
- func Must_ConvertIndicesFromCsrToCooOut(out *Tensor, crowIndices *Tensor, colIndices *Tensor, outInt32 bool, ...) (retVal *Tensor)
- func Must_Convolution(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func Must_ConvolutionDeprecated(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func Must_ConvolutionMode(input *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding string, ...) (retVal *Tensor)
- func Must_ConvolutionOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func Must_CsltCompress(input *Tensor) (retVal *Tensor)
- func Must_CsltSparseMm(compressedA *Tensor, denseB *Tensor, bias *Tensor, transposeResult bool) (retVal *Tensor)
- func Must_CtcLossBackward(grad *Tensor, logProbs *Tensor, targets *Tensor, inputLengths []int64, ...) (retVal *Tensor)
- func Must_CtcLossBackwardOut(out *Tensor, grad *Tensor, logProbs *Tensor, targets *Tensor, ...) (retVal *Tensor)
- func Must_CtcLossBackwardTensor(grad *Tensor, logProbs *Tensor, targets *Tensor, inputLengths *Tensor, ...) (retVal *Tensor)
- func Must_CudnnInitDropoutState(dropout float64, train bool, dropoutSeed int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func Must_CudnnInitDropoutStateOut(out *Tensor, dropout float64, train bool, dropoutSeed int64) (retVal *Tensor)
- func Must_CudnnRnnFlattenWeight(weightArr []*Tensor, weightStride0 int64, inputSize int64, mode int64, ...) (retVal *Tensor)
- func Must_CudnnRnnFlattenWeightOut(out *Tensor, weightArr []*Tensor, weightStride0 int64, inputSize int64, ...) (retVal *Tensor)
- func Must_DimArange(like *Tensor, dim int64) (retVal *Tensor)
- func Must_DirichletGrad(x *Tensor, alpha *Tensor, total *Tensor) (retVal *Tensor)
- func Must_DirichletGradOut(out *Tensor, x *Tensor, alpha *Tensor, total *Tensor) (retVal *Tensor)
- func Must_Efficientzerotensor(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func Must_EfficientzerotensorOut(out *Tensor, size []int64) (retVal *Tensor)
- func Must_EmbeddingBagBackward(grad *Tensor, indices *Tensor, offsets *Tensor, offset2bag *Tensor, ...) (retVal *Tensor)
- func Must_EmbeddingBagDenseBackward(grad *Tensor, indices *Tensor, offset2bag *Tensor, bagSize *Tensor, ...) (retVal *Tensor)
- func Must_EmbeddingBagDenseBackwardOut(out *Tensor, grad *Tensor, indices *Tensor, offset2bag *Tensor, ...) (retVal *Tensor)
- func Must_EmbeddingBagPerSampleWeightsBackward(grad *Tensor, weight *Tensor, indices *Tensor, offsets *Tensor, ...) (retVal *Tensor)
- func Must_EmbeddingBagPerSampleWeightsBackwardOut(out *Tensor, grad *Tensor, weight *Tensor, indices *Tensor, offsets *Tensor, ...) (retVal *Tensor)
- func Must_EmbeddingBagSparseBackward(grad *Tensor, indices *Tensor, offsets *Tensor, offset2bag *Tensor, ...) (retVal *Tensor)
- func Must_EmptyAffineQuantized(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device, ...) (retVal *Tensor)
- func Must_EmptyAffineQuantizedOut(out *Tensor, size []int64, scale float64, zeroPoint int64) (retVal *Tensor)
- func Must_EmptyPerChannelAffineQuantized(size []int64, scales *Tensor, zeroPoints *Tensor, axis int64, ...) (retVal *Tensor)
- func Must_EmptyPerChannelAffineQuantizedOut(out *Tensor, size []int64, scales *Tensor, zeroPoints *Tensor, axis int64) (retVal *Tensor)
- func Must_EuclideanDist(x1 *Tensor, x2 *Tensor) (retVal *Tensor)
- func Must_EuclideanDistOut(out *Tensor, x1 *Tensor, x2 *Tensor) (retVal *Tensor)
- func Must_FunctionalSymConstrainRange(size *Scalar, min []int64, max []int64, depToken *Tensor) (retVal *Tensor)
- func Must_FunctionalSymConstrainRangeForSize(size *Scalar, min []int64, max []int64, depToken *Tensor) (retVal *Tensor)
- func Must_GridSampler2dCpuFallback(input *Tensor, grid *Tensor, interpolationMode int64, paddingMode int64, ...) (retVal *Tensor)
- func Must_GridSampler2dCpuFallbackOut(out *Tensor, input *Tensor, grid *Tensor, interpolationMode int64, ...) (retVal *Tensor)
- func Must_LogSoftmaxBackwardData(gradOutput *Tensor, output *Tensor, dim int64, inputDtype gotch.DType) (retVal *Tensor)
- func Must_LogSoftmaxBackwardDataOut(out *Tensor, gradOutput *Tensor, output *Tensor, dim int64, ...) (retVal *Tensor)
- func Must_MakeDepToken(optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor)
- func Must_MakeDual(primal *Tensor, tangent *Tensor, level int64) (retVal *Tensor)
- func Must_MakeDualCopy(primal *Tensor, tangent *Tensor, level int64) (retVal *Tensor)
- func Must_MakeDualCopyOut(out *Tensor, primal *Tensor, tangent *Tensor, level int64) (retVal *Tensor)
- func Must_MaskedSoftmaxBackward(gradOutput *Tensor, output *Tensor, mask *Tensor, dim []int64) (retVal *Tensor)
- func Must_MaskedSoftmaxBackwardOut(out *Tensor, gradOutput *Tensor, output *Tensor, mask *Tensor, dim []int64) (retVal *Tensor)
- func Must_NestedFromPadded(padded *Tensor, cpuNestedShapeExample *Tensor, fuseTransform0213 bool) (retVal *Tensor)
- func Must_NestedFromPaddedAndNestedExample(padded *Tensor, ntExample *Tensor) (retVal *Tensor)
- func Must_NestedFromPaddedAndNestedExampleOut(out *Tensor, padded *Tensor, ntExample *Tensor) (retVal *Tensor)
- func Must_NestedFromPaddedOut(out *Tensor, padded *Tensor, cpuNestedShapeExample *Tensor, ...) (retVal *Tensor)
- func Must_NnpackSpatialConvolution(input *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64) (retVal *Tensor)
- func Must_NnpackSpatialConvolutionOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, padding []int64, ...) (retVal *Tensor)
- func Must_PackPaddedSequenceBackward(grad *Tensor, inputSize []int64, batchSizes *Tensor, batchFirst bool) (retVal *Tensor)
- func Must_SaturateWeightToFp16(weight *Tensor) (retVal *Tensor)
- func Must_SegmentReduceBackward(grad *Tensor, output *Tensor, data *Tensor, reduce string, lengths *Tensor, ...) (retVal *Tensor)
- func Must_SegmentReduceBackwardOut(out *Tensor, grad *Tensor, output *Tensor, data *Tensor, reduce string, ...) (retVal *Tensor)
- func Must_SoftmaxBackwardData(gradOutput *Tensor, output *Tensor, dim int64, inputDtype gotch.DType) (retVal *Tensor)
- func Must_SoftmaxBackwardDataOut(gradInput *Tensor, gradOutput *Tensor, output *Tensor, dim int64, ...) (retVal *Tensor)
- func Must_SparseBscTensorUnsafe(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func Must_SparseBsrTensorUnsafe(crowIndices *Tensor, colIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func Must_SparseCompressedTensorUnsafe(compressedIndices *Tensor, plainIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func Must_SparseCooTensorUnsafe(indices *Tensor, values *Tensor, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func Must_SparseCooTensorWithDims(sparseDim int64, denseDim int64, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func Must_SparseCooTensorWithDimsAndTensors(sparseDim int64, denseDim int64, size []int64, indices *Tensor, values *Tensor, ...) (retVal *Tensor)
- func Must_SparseCooTensorWithDimsAndTensorsOut(out *Tensor, sparseDim int64, denseDim int64, size []int64, indices *Tensor, ...) (retVal *Tensor)
- func Must_SparseCooTensorWithDimsOut(out *Tensor, sparseDim int64, denseDim int64, size []int64) (retVal *Tensor)
- func Must_SparseCscTensorUnsafe(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func Must_SparseCsrTensorUnsafe(crowIndices *Tensor, colIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor)
- func Must_SparseMm(sparse *Tensor, dense *Tensor) (retVal *Tensor)
- func Must_SparseMmReduce(sparse *Tensor, dense *Tensor, reduce string) (retVal *Tensor)
- func Must_SparseSemiStructuredLinear(input *Tensor, weight *Tensor, meta *Tensor, bias *Tensor, activation string) (retVal *Tensor)
- func Must_Spdiags(diagonals *Tensor, offsets *Tensor, shape []int64, layout Layout) (retVal *Tensor)
- func Must_SpdiagsOut(out *Tensor, diagonals *Tensor, offsets *Tensor, shape []int64, layout Layout) (retVal *Tensor)
- func Must_Stack(tensors []*Tensor, dim int64) (retVal *Tensor)
- func Must_StackOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor)
- func Must_TestAmbiguousDefaults(dummy *Tensor, a int64, b int64) (retVal *Tensor)
- func Must_TestAmbiguousDefaultsB(dummy *Tensor, a int64, b string) (retVal *Tensor)
- func Must_TestOptionalFilledIntlist(values *Tensor, addends []int64) (retVal *Tensor)
- func Must_TestOptionalFilledIntlistOut(out *Tensor, values *Tensor, addends []int64) (retVal *Tensor)
- func Must_TestOptionalFloatlist(values *Tensor, addends []float64) (retVal *Tensor)
- func Must_TestOptionalFloatlistOut(out *Tensor, values *Tensor, addends []float64) (retVal *Tensor)
- func Must_TestOptionalIntlist(values *Tensor, addends []int64) (retVal *Tensor)
- func Must_TestOptionalIntlistOut(out *Tensor, values *Tensor, addends []int64) (retVal *Tensor)
- func Must_TestStringDefault(dummy *Tensor, a string, b string) (retVal *Tensor)
- func Must_TransformerEncoderLayerFwd(src *Tensor, embedDim int64, numHeads int64, qkvWeight *Tensor, ...) (retVal *Tensor)
- func Must_TransformerEncoderLayerFwdOut(out *Tensor, src *Tensor, embedDim int64, numHeads int64, qkvWeight *Tensor, ...) (retVal *Tensor)
- func Must_Trilinear(i1 *Tensor, i2 *Tensor, i3 *Tensor, expand1 []int64, expand2 []int64, ...) (retVal *Tensor)
- func Must_TrilinearOut(out *Tensor, i1 *Tensor, i2 *Tensor, i3 *Tensor, expand1 []int64, ...) (retVal *Tensor)
- func Must_TritonMultiHeadAttention(query *Tensor, key *Tensor, value *Tensor, embedDim int64, numHead int64, ...) (retVal *Tensor)
- func Must_TritonMultiHeadAttentionOut(out *Tensor, query *Tensor, key *Tensor, value *Tensor, embedDim int64, ...) (retVal *Tensor)
- func Must_TritonScaledDotAttention(q *Tensor, k *Tensor, v *Tensor, dropoutP float64) (retVal *Tensor)
- func Must_TritonScaledDotAttentionOut(out *Tensor, q *Tensor, k *Tensor, v *Tensor, dropoutP float64) (retVal *Tensor)
- func Must_UpsampleBicubic2dAaBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor)
- func Must_UpsampleBicubic2dAaBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func Must_UpsampleBicubic2dAaVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor)
- func Must_UpsampleBilinear2dAaBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor)
- func Must_UpsampleBilinear2dAaBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func Must_UpsampleBilinear2dAaVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor)
- func Must_UpsampleNearestExact1dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scales []float64) (retVal *Tensor)
- func Must_UpsampleNearestExact1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func Must_UpsampleNearestExact1dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor)
- func Must_UpsampleNearestExact2dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scalesH []float64, ...) (retVal *Tensor)
- func Must_UpsampleNearestExact2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func Must_UpsampleNearestExact2dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor)
- func Must_UpsampleNearestExact3dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scalesD []float64, ...) (retVal *Tensor)
- func Must_UpsampleNearestExact3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor)
- func Must_UpsampleNearestExact3dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor)
- func Must_WeightNorm(v *Tensor, g *Tensor, dim int64) (retVal *Tensor)
- func NativeDropoutBackward(gradOutput *Tensor, mask *Tensor, scale float64) (retVal *Tensor, err error)
- func NativeDropoutBackwardOut(out *Tensor, gradOutput *Tensor, mask *Tensor, scale float64) (retVal *Tensor, err error)
- func New(ctensor lib.Ctensor, nameOpt ...string) *Tensor
- func NewTensor(nameOpt ...string) *Tensor
- func NewTensorFromData(data interface{}, shape []int64, opts ...TensorOpt) (*Tensor, error)
- func NormExceptDim(v *Tensor, pow int64, dim int64) (retVal *Tensor, err error)
- func OfDataSize(data []byte, shape []int64, dtype gotch.DType, opts ...TensorOpt) (*Tensor, error)
- func OfSlice(data interface{}, opts ...TensorOpt) (*Tensor, error)
- func Ones(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func OnesOut(out *Tensor, size []int64) (retVal *Tensor, err error)
- func PadSequence(sequences []*Tensor, batchFirst bool, paddingValue float64) (retVal *Tensor, err error)
- func PairwiseDistance(x1 *Tensor, x2 *Tensor, p float64, eps float64, keepdim bool) (retVal *Tensor, err error)
- func PoissonNllLoss(input *Tensor, target *Tensor, logInput bool, full bool, eps float64, ...) (retVal *Tensor, err error)
- func Polar(abs *Tensor, angle *Tensor) (retVal *Tensor, err error)
- func PolarOut(out *Tensor, abs *Tensor, angle *Tensor) (retVal *Tensor, err error)
- func PowScalar(selfScalar *Scalar, exponent *Tensor) (retVal *Tensor, err error)
- func PowScalarOut(out *Tensor, selfScalar *Scalar, exponent *Tensor) (retVal *Tensor, err error)
- func QuantizedBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, vari *Tensor, ...) (retVal *Tensor, err error)
- func QuantizedBatchNormOut(out *Tensor, input *Tensor, weight *Tensor, bias *Tensor, mean *Tensor, ...) (retVal *Tensor, err error)
- func QuantizedGruCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor, ...) (retVal *Tensor, err error)
- func QuantizedRnnReluCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor, ...) (retVal *Tensor, err error)
- func QuantizedRnnTanhCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor, ...) (retVal *Tensor, err error)
- func Rand(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func RandOut(out *Tensor, size []int64) (retVal *Tensor, err error)
- func Randint(high int64, size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func RandintLow(low int64, high int64, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func RandintLowOut(out *Tensor, low int64, high int64, size []int64) (retVal *Tensor, err error)
- func RandintOut(out *Tensor, high int64, size []int64) (retVal *Tensor, err error)
- func Randn(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func RandnOut(out *Tensor, size []int64) (retVal *Tensor, err error)
- func Randperm(n int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func RandpermOut(out *Tensor, n int64) (retVal *Tensor, err error)
- func Range(start *Scalar, end *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func RangeOut(out *Tensor, start *Scalar, end *Scalar) (retVal *Tensor, err error)
- func RangeOut_(out *Tensor, start *Scalar, end *Scalar) (retVal *Tensor, err error)
- func RangeStep(start *Scalar, end *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func ReadNpy(filepath string) (*Tensor, error)
- func RemainderScalarTensor(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func RemainderScalarTensorOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func RepeatInterleave(repeats *Tensor, outputSize []int64) (retVal *Tensor, err error)
- func RepeatInterleaveTensorOut(out *Tensor, repeats *Tensor, outputSize []int64) (retVal *Tensor, err error)
- func ResizeHwc(ts *Tensor, outWidth, outHeight int64) (*Tensor, error)
- func RnnReluCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor) (retVal *Tensor, err error)
- func RnnTanhCell(input *Tensor, hx *Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor) (retVal *Tensor, err error)
- func RowStack(tensors []*Tensor) (retVal *Tensor, err error)
- func RowStackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor, err error)
- func RunBackward(tensors []*Tensor, inputs []*Tensor, keepGraphB bool, createGraphB bool) ([]*Tensor, error)
- func ScalarTensor(s *Scalar, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func ScalarTensorOut(out *Tensor, s *Scalar) (retVal *Tensor, err error)
- func ScaledDotProductAttention(query *Tensor, key *Tensor, value *Tensor, attnMask *Tensor, dropoutP float64, ...) (retVal *Tensor, err error)
- func SearchsortedScalar(sortedSequence *Tensor, selfScalar *Scalar, outInt32 bool, right bool, ...) (retVal *Tensor, err error)
- func SearchsortedScalarOut(out *Tensor, sortedSequence *Tensor, selfScalar *Scalar, outInt32 bool, ...) (retVal *Tensor, err error)
- func SegmentReduce(data *Tensor, reduce string, lengths *Tensor, indices *Tensor, offsets *Tensor, ...) (retVal *Tensor, err error)
- func SegmentReduceOut(out *Tensor, data *Tensor, reduce string, lengths *Tensor, indices *Tensor, ...) (retVal *Tensor, err error)
- func SelectBackward(gradOutput *Tensor, inputSizes []int64, dim int64, index int64) (retVal *Tensor, err error)
- func SelectBackwardOut(out *Tensor, gradOutput *Tensor, inputSizes []int64, dim int64, index int64) (retVal *Tensor, err error)
- func SigmoidBackward(gradOutput *Tensor, output *Tensor) (retVal *Tensor, err error)
- func SigmoidBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, output *Tensor) (retVal *Tensor, err error)
- func SliceBackward(gradOutput *Tensor, inputSizes []int64, dim int64, start int64, end int64, ...) (retVal *Tensor, err error)
- func SliceBackwardOut(out *Tensor, gradOutput *Tensor, inputSizes []int64, dim int64, start int64, ...) (retVal *Tensor, err error)
- func SparseBscTensor(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, ...) (retVal *Tensor, err error)
- func SparseBscTensorCcolRowValueSize(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor, err error)
- func SparseBsrTensor(crowIndices *Tensor, colIndices *Tensor, values *Tensor, ...) (retVal *Tensor, err error)
- func SparseBsrTensorCrowColValueSize(crowIndices *Tensor, colIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor, err error)
- func SparseCompressedTensor(compressedIndices *Tensor, plainIndices *Tensor, values *Tensor, ...) (retVal *Tensor, err error)
- func SparseCompressedTensorCompPlainValueSize(compressedIndices *Tensor, plainIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor, err error)
- func SparseCooTensor(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func SparseCooTensorIndices(indices *Tensor, values *Tensor, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func SparseCooTensorIndicesSize(indices *Tensor, values *Tensor, size []int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func SparseCooTensorSizeOut(out *Tensor, size []int64) (retVal *Tensor, err error)
- func SparseCscTensor(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, ...) (retVal *Tensor, err error)
- func SparseCscTensorCcolRowValueSize(ccolIndices *Tensor, rowIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor, err error)
- func SparseCsrTensor(crowIndices *Tensor, colIndices *Tensor, values *Tensor, ...) (retVal *Tensor, err error)
- func SparseCsrTensorCrowColValueSize(crowIndices *Tensor, colIndices *Tensor, values *Tensor, size []int64, ...) (retVal *Tensor, err error)
- func SpecialAiryAi(x *Tensor) (retVal *Tensor, err error)
- func SpecialAiryAiOut(out *Tensor, x *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialT(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialTNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialTNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialTOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialTXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialTXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialU(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialUNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialUNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialUOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialUXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialUXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialV(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialVNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialVNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialVOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialVXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialVXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialW(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialWNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialWNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialWOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialWXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialChebyshevPolynomialWXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialH(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHe(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHeNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHeNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHeOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHeXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialHermitePolynomialHeXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialLaguerrePolynomialL(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialLaguerrePolynomialLNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialLaguerrePolynomialLNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialLaguerrePolynomialLOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialLaguerrePolynomialLXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialLaguerrePolynomialLXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialLegendrePolynomialP(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialLegendrePolynomialPNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialLegendrePolynomialPNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialLegendrePolynomialPOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialLegendrePolynomialPXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialLegendrePolynomialPXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialScaledModifiedBesselK0(x *Tensor) (retVal *Tensor, err error)
- func SpecialScaledModifiedBesselK0Out(out *Tensor, x *Tensor) (retVal *Tensor, err error)
- func SpecialScaledModifiedBesselK1(x *Tensor) (retVal *Tensor, err error)
- func SpecialScaledModifiedBesselK1Out(out *Tensor, x *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialT(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialTNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialTNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialTOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialTXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialTXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialU(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialUNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialUNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialUOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialUXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialUXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialV(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialVNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialVNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialVOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialVXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialVXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialW(x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialWNScalar(x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialWNScalarOut(out *Tensor, x *Tensor, n *Scalar) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialWOut(out *Tensor, x *Tensor, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialWXScalar(x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialShiftedChebyshevPolynomialWXScalarOut(out *Tensor, x *Scalar, n *Tensor) (retVal *Tensor, err error)
- func SpecialSphericalBesselJ0(x *Tensor) (retVal *Tensor, err error)
- func SpecialSphericalBesselJ0Out(out *Tensor, x *Tensor) (retVal *Tensor, err error)
- func SpecialXlog1pySelfScalar(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func SpecialXlog1pySelfScalarOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func SpecialXlogySelfScalar(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func SpecialXlogySelfScalarOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func SpecialZetaSelfScalar(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func SpecialZetaSelfScalarOut(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func Stack(tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func StackOut(out *Tensor, tensors []*Tensor, dim int64) (retVal *Tensor, err error)
- func TanhBackward(gradOutput *Tensor, output *Tensor) (retVal *Tensor, err error)
- func TanhBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, output *Tensor) (retVal *Tensor, err error)
- func TensorFrom(data interface{}, opts ...TensorOpt) *Tensor
- func ToDenseBackward(grad *Tensor, input *Tensor, maskedGrad bool) (retVal *Tensor, err error)
- func ToMkldnnBackward(grad *Tensor, input *Tensor) (retVal *Tensor, err error)
- func TraceBackward(grad *Tensor, sizes []int64) (retVal *Tensor, err error)
- func Trapezoid(y *Tensor, dim int64) (retVal *Tensor, err error)
- func TrapezoidX(y *Tensor, x *Tensor, dim int64) (retVal *Tensor, err error)
- func Trapz(y *Tensor, x *Tensor, dim int64) (retVal *Tensor, err error)
- func TrapzDx(y *Tensor, dx float64, dim int64) (retVal *Tensor, err error)
- func TrilIndices(row int64, col int64, offset int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func TrilIndicesOut(out *Tensor, row int64, col int64, offset int64) (retVal *Tensor, err error)
- func TripletMarginLoss(anchor *Tensor, positive *Tensor, negative *Tensor, margin float64, p float64, ...) (retVal *Tensor, err error)
- func TriuIndices(row int64, col int64, offset int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func TriuIndicesOut(out *Tensor, row int64, col int64, offset int64) (retVal *Tensor, err error)
- func UnfoldBackward(gradIn *Tensor, inputSizes []int64, dim int64, size int64, step int64) (retVal *Tensor, err error)
- func UnfoldBackwardOut(out *Tensor, gradIn *Tensor, inputSizes []int64, dim int64, size int64, ...) (retVal *Tensor, err error)
- func UpsampleBicubic2dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor, err error)
- func UpsampleBicubic2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor, err error)
- func UpsampleBicubic2dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor, err error)
- func UpsampleBilinear2dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor, err error)
- func UpsampleBilinear2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor, err error)
- func UpsampleBilinear2dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor, err error)
- func UpsampleLinear1dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor, err error)
- func UpsampleLinear1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor, err error)
- func UpsampleLinear1dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor, err error)
- func UpsampleNearest1dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scales []float64) (retVal *Tensor, err error)
- func UpsampleNearest1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor, err error)
- func UpsampleNearest1dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor, err error)
- func UpsampleNearest2dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scalesH []float64, ...) (retVal *Tensor, err error)
- func UpsampleNearest2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor, err error)
- func UpsampleNearest2dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor, err error)
- func UpsampleNearest3dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, scalesD []float64, ...) (retVal *Tensor, err error)
- func UpsampleNearest3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor, err error)
- func UpsampleNearest3dVec(input *Tensor, outputSize []int64, scaleFactors []float64) (retVal *Tensor, err error)
- func UpsampleTrilinear3dBackward(gradOutput *Tensor, outputSize []int64, inputSize []int64, alignCorners bool, ...) (retVal *Tensor, err error)
- func UpsampleTrilinear3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, outputSize []int64, inputSize []int64, ...) (retVal *Tensor, err error)
- func UpsampleTrilinear3dVec(input *Tensor, outputSize []int64, alignCorners bool, scaleFactors []float64) (retVal *Tensor, err error)
- func ValueSelectingReductionBackward(grad *Tensor, dim int64, indices *Tensor, sizes []int64, keepdim bool) (retVal *Tensor, err error)
- func Vander(x *Tensor, n []int64, increasing bool) (retVal *Tensor, err error)
- func Vstack(tensors []*Tensor) (retVal *Tensor, err error)
- func VstackOut(out *Tensor, tensors []*Tensor) (retVal *Tensor, err error)
- func Where(condition Tensor) (retVal []*Tensor, err error)
- func WhereScalar(condition *Tensor, selfScalar *Scalar, other *Scalar) (retVal *Tensor, err error)
- func WhereScalarself(condition *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func XlogyOutscalarSelf(out *Tensor, selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func XlogyScalarSelf(selfScalar *Scalar, other *Tensor) (retVal *Tensor, err error)
- func Zeros(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device) (retVal *Tensor, err error)
- func ZerosOut(out *Tensor, size []int64) (retVal *Tensor, err error)
- func (ts *Tensor) Abs(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AbsOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Abs_() (err error)
- func (ts *Tensor) Absolute(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AbsoluteOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Absolute_() (err error)
- func (ts *Tensor) AccuracyForLogits(targets *Tensor) (retVal *Tensor)
- func (ts *Tensor) Acos(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AcosOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Acos_() (err error)
- func (ts *Tensor) Acosh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AcoshOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Acosh_() (err error)
- func (ts *Tensor) AdaptiveAvgPool1d(outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveAvgPool2d(outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveAvgPool2dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveAvgPool3d(outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveAvgPool3dBackward(gradInput *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveAvgPool3dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool1d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool2d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool2dBackward(gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool2dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool3d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool3dBackward(gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AdaptiveMaxPool3dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Add(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddScalar_(other *Scalar) (err error)
- func (ts *Tensor) Add_(other *Tensor) (err error)
- func (ts *Tensor) Addbmm(batch1 *Tensor, batch2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddbmmOut(out *Tensor, batch1 *Tensor, batch2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Addbmm_(batch1 *Tensor, batch2 *Tensor) (err error)
- func (ts *Tensor) Addcdiv(tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddcdivOut(out *Tensor, tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Addcdiv_(tensor1 *Tensor, tensor2 *Tensor) (err error)
- func (ts *Tensor) Addcmul(tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddcmulOut(out *Tensor, tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Addcmul_(tensor1 *Tensor, tensor2 *Tensor) (err error)
- func (ts *Tensor) Addmm(mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Addmm_(mat1 *Tensor, mat2 *Tensor) (err error)
- func (ts *Tensor) Addmv(mat *Tensor, vec *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddmvOut(out *Tensor, mat *Tensor, vec *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Addmv_(mat *Tensor, vec *Tensor) (err error)
- func (ts *Tensor) Addr(vec1 *Tensor, vec2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AddrOut(out *Tensor, vec1 *Tensor, vec2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Addr_(vec1 *Tensor, vec2 *Tensor) (err error)
- func (ts *Tensor) Adjoint(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Alias(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AliasCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AliasCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AlignAs(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) All(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AllAllOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AllDim(dim int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AllOut(out *Tensor, dim int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Allclose(other *Tensor, rtol float64, atol float64, equalNan bool, del bool) (retVal bool, err error)
- func (ts *Tensor) AlphaDropout_(p float64, train bool) (err error)
- func (ts *Tensor) Amax(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AmaxOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Amin(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AminOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Aminmax(dim []int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) AminmaxOut(min *Tensor, max *Tensor, dim []int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Angle(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AngleOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Any(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AnyAllOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AnyDim(dim int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AnyOut(out *Tensor, dim int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Apply(m Module) (retVal *Tensor)
- func (ts *Tensor) ApplyCModule(m *CModule) *Tensor
- func (ts *Tensor) ApplyOpt(opts ...ModuleOption) (retVal *Tensor)
- func (ts *Tensor) ApplyOptT(train bool, opts ...ModuleTOption) (retVal *Tensor)
- func (ts *Tensor) ApplyT(m ModuleT, train bool) (retVal *Tensor)
- func (ts *Tensor) Arccos(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArccosOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arccos_() (err error)
- func (ts *Tensor) Arccosh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArccoshOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arccosh_() (err error)
- func (ts *Tensor) Arcsin(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArcsinOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arcsin_() (err error)
- func (ts *Tensor) Arcsinh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArcsinhOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arcsinh_() (err error)
- func (ts *Tensor) Arctan(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arctan2(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arctan2Out(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arctan2_(other *Tensor) (err error)
- func (ts *Tensor) ArctanOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arctan_() (err error)
- func (ts *Tensor) Arctanh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArctanhOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Arctanh_() (err error)
- func (ts *Tensor) Argmax(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArgmaxOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Argmin(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArgminOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Argsort(dim int64, descending bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArgsortStable(stable bool, dim int64, descending bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ArgsortStableOut(out *Tensor, stable bool, dim int64, descending bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Argwhere(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AsStrided(size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AsStridedCopy(size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AsStridedCopyOut(out *Tensor, size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AsStridedScatter(src *Tensor, size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AsStridedScatterOut(out *Tensor, src *Tensor, size []int64, stride []int64, storageOffset []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AsStrided_(size []int64, stride []int64, storageOffset []int64) (err error)
- func (ts *Tensor) Asin(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AsinOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Asin_() (err error)
- func (ts *Tensor) Asinh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AsinhOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Asinh_() (err error)
- func (ts *Tensor) Atan(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Atan2(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Atan2Out(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Atan2_(other *Tensor) (err error)
- func (ts *Tensor) AtanOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Atan_() (err error)
- func (ts *Tensor) Atanh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AtanhOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Atanh_() (err error)
- func (ts *Tensor) Atleast1d(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Atleast2d(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Atleast3d(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool1d(kernelSize []int64, stride []int64, padding []int64, ceilMode bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool2DDefault(ksize int64, del bool) *Tensor
- func (ts *Tensor) AvgPool2d(kernelSize []int64, stride []int64, padding []int64, ceilMode bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool2dBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool2dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool3d(kernelSize []int64, stride []int64, padding []int64, ceilMode bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool3dBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) AvgPool3dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Backward() error
- func (ts *Tensor) Baddbmm(batch1 *Tensor, batch2 *Tensor, beta *Scalar, alpha *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BaddbmmOut(out *Tensor, batch1 *Tensor, batch2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Baddbmm_(batch1 *Tensor, batch2 *Tensor) (err error)
- func (ts *Tensor) Bernoulli(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BernoulliFloat_(p float64) (err error)
- func (ts *Tensor) BernoulliP(p float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BernoulliTensor(p *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Bernoulli_(p *Tensor) (err error)
- func (ts *Tensor) BinaryCrossEntropy(target *Tensor, weight *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BinaryCrossEntropyBackward(gradOutput *Tensor, target *Tensor, weight *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BinaryCrossEntropyBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, weight *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) BinaryCrossEntropyOut(out *Tensor, target *Tensor, weight *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BinaryCrossEntropyWithLogits(target *Tensor, weight *Tensor, posWeight *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BinaryCrossEntropyWithLogitsOut(out *Tensor, target *Tensor, weight *Tensor, posWeight *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Bincount(weights *Tensor, minlength int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BincountOut(out *Tensor, weights *Tensor, minlength int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseAnd(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseAndScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseAndTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseAndTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseAndTensor_(other *Tensor) (err error)
- func (ts *Tensor) BitwiseAnd_(other *Scalar) (err error)
- func (ts *Tensor) BitwiseLeftShift(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseLeftShiftTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseLeftShiftTensorScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseLeftShiftTensorScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseLeftShiftTensorScalar_(other *Scalar) (err error)
- func (ts *Tensor) BitwiseLeftShift_(other *Tensor) (err error)
- func (ts *Tensor) BitwiseNot(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseNotOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseNot_() (err error)
- func (ts *Tensor) BitwiseOr(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseOrScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseOrTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseOrTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseOrTensor_(other *Tensor) (err error)
- func (ts *Tensor) BitwiseOr_(other *Scalar) (err error)
- func (ts *Tensor) BitwiseRightShift(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseRightShiftTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseRightShiftTensorScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseRightShiftTensorScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseRightShiftTensorScalar_(other *Scalar) (err error)
- func (ts *Tensor) BitwiseRightShift_(other *Tensor) (err error)
- func (ts *Tensor) BitwiseXor(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseXorScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseXorTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseXorTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BitwiseXorTensor_(other *Tensor) (err error)
- func (ts *Tensor) BitwiseXor_(other *Scalar) (err error)
- func (ts *Tensor) Bmm(mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BmmOut(out *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BroadcastTo(size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Bucketize(boundaries *Tensor, outInt32 bool, right bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) BucketizeTensorOut(out *Tensor, boundaries *Tensor, outInt32 bool, right bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cauchy(median float64, sigma float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CauchyOut(out *Tensor, median float64, sigma float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cauchy_(median float64, sigma float64) (err error)
- func (ts *Tensor) CcolIndices(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CcolIndicesCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CcolIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Ceil(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CeilOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Ceil_() (err error)
- func (ts *Tensor) Celu(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CeluOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Celu_() (err error)
- func (ts *Tensor) Chalf(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ChannelShuffle(groups int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ChannelShuffleOut(out *Tensor, groups int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cholesky(upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CholeskyInverse(upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CholeskyInverseOut(out *Tensor, upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CholeskyOut(out *Tensor, upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CholeskySolve(input2 *Tensor, upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CholeskySolveOut(out *Tensor, input2 *Tensor, upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Chunk(chunks int64, dim int64) (retVal []*Tensor, err error)
- func (ts *Tensor) Clamp(min *Scalar, max *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMax(max *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMaxOut(out *Tensor, max *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMaxTensor(max *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMaxTensorOut(out *Tensor, max *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMaxTensor_(max *Tensor) (err error)
- func (ts *Tensor) ClampMax_(max *Scalar) (err error)
- func (ts *Tensor) ClampMin(min *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMinOut(out *Tensor, min *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMinTensor(min *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMinTensorOut(out *Tensor, min *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampMinTensor_(min *Tensor) (err error)
- func (ts *Tensor) ClampMin_(min *Scalar) (err error)
- func (ts *Tensor) ClampOut(out *Tensor, min *Scalar, max *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampTensor(min *Tensor, max *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampTensorOut(out *Tensor, min *Tensor, max *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClampTensor_(min *Tensor, max *Tensor) (err error)
- func (ts *Tensor) Clamp_(min *Scalar, max *Scalar) (err error)
- func (ts *Tensor) Clip(min *Scalar, max *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClipOut(out *Tensor, min *Scalar, max *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClipTensor(min *Tensor, max *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClipTensorOut(out *Tensor, min *Tensor, max *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ClipTensor_(min *Tensor, max *Tensor) (err error)
- func (ts *Tensor) Clip_(min *Scalar, max *Scalar) (err error)
- func (ts *Tensor) Clone(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Coalesce(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Col2im(outputSize []int64, kernelSize []int64, dilation []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Col2imOut(out *Tensor, outputSize []int64, kernelSize []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) ColIndices(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ColIndicesCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ColIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Combinations(r int64, withReplacement bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Conj(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ConjPhysical(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ConjPhysicalOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ConjPhysical_() (err error)
- func (ts *Tensor) ConstantPadNd(pad []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ConstantPadNdOut(out *Tensor, pad []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ConstantPadNdWithVal(pad []int64, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Contiguous(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ConvDepthwise3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) ConvDepthwise3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) ConvTbc(weight *Tensor, bias *Tensor, pad int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ConvTbcBackward(input *Tensor, weight *Tensor, bias *Tensor, pad int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) ConvTbcOut(out *Tensor, weight *Tensor, bias *Tensor, pad int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Copy(src *Tensor, nonBlocking bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopyData(dst interface{}, numel uint) error
- func (ts *Tensor) CopyDataUint8(dst []uint8, numel uint) error
- func (ts *Tensor) CopyOut(out *Tensor, src *Tensor, nonBlocking bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopySparseToSparse(src *Tensor, nonBlocking bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopySparseToSparseOut(out *Tensor, src *Tensor, nonBlocking bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopySparseToSparse_(src *Tensor, nonBlocking bool) (err error)
- func (ts *Tensor) Copy_(src *Tensor)
- func (ts *Tensor) Copysign(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopysignOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopysignScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopysignScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CopysignScalar_(other *Scalar) (err error)
- func (ts *Tensor) Copysign_(other *Tensor) (err error)
- func (ts *Tensor) Corrcoef(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cos(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CosOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cos_() (err error)
- func (ts *Tensor) Cosh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CoshOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cosh_() (err error)
- func (ts *Tensor) CountNonzero(dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CountNonzeroDimIntlist(dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CountNonzeroDimIntlistOut(out *Tensor, dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CountNonzeroOut(out *Tensor, dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cov(correction int64, fweights *Tensor, aweights *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cross(other *Tensor, dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CrossEntropyForLogits(targets *Tensor) (retVal *Tensor)
- func (ts *Tensor) CrossEntropyLoss(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CrossOut(out *Tensor, other *Tensor, dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CrowIndices(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CrowIndicesCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CrowIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Ctensor() unsafe.Pointer
- func (ts *Tensor) CudnnConvolution(weight *Tensor, padding []int64, stride []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnConvolutionAddRelu(weight *Tensor, z *Tensor, alpha *Scalar, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnConvolutionAddReluOut(out *Tensor, weight *Tensor, z *Tensor, alpha *Scalar, bias *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnConvolutionOut(out *Tensor, weight *Tensor, padding []int64, stride []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnConvolutionRelu(weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnConvolutionReluOut(out *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnConvolutionTranspose(weight *Tensor, padding []int64, outputPadding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnConvolutionTransposeOut(out *Tensor, weight *Tensor, padding []int64, outputPadding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnGridSampler(grid *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnGridSamplerBackward(grid *Tensor, gradOutput *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) CudnnGridSamplerBackwardOut(out0 *Tensor, out1 *Tensor, grid *Tensor, gradOutput *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) CudnnGridSamplerOut(out *Tensor, grid *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CudnnIsAcceptable(del bool) (retVal bool, err error)
- func (ts *Tensor) Cummax(dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) CummaxOut(values *Tensor, indices *Tensor, dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Cummin(dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) CumminOut(values *Tensor, indices *Tensor, dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Cumprod(dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CumprodOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cumprod_(dim int64, dtype gotch.DType) (err error)
- func (ts *Tensor) Cumsum(dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) CumsumOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Cumsum_(dim int64, dtype gotch.DType) (err error)
- func (ts *Tensor) DType() gotch.DType
- func (ts *Tensor) Data(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DataPtr() (unsafe.Pointer, error)
- func (ts *Tensor) Defined() (bool, error)
- func (ts *Tensor) Deg2rad(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Deg2radOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Deg2rad_() (err error)
- func (ts *Tensor) DenseDim(del bool) (retVal int64, err error)
- func (ts *Tensor) Dequantize(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Det(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Detach(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DetachCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DetachCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Detach_() (err error)
- func (ts *Tensor) Device() (gotch.Device, error)
- func (ts *Tensor) Diag(diagonal int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiagEmbed(offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiagEmbedOut(out *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiagOut(out *Tensor, diagonal int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Diagflat(offset int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Diagonal(offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiagonalCopy(offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiagonalCopyOut(out *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiagonalScatter(src *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiagonalScatterOut(out *Tensor, src *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Diff(n int64, dim int64, prepend *Tensor, append *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DiffOut(out *Tensor, n int64, dim int64, prepend *Tensor, append *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Digamma(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DigammaOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Digamma_() (err error)
- func (ts *Tensor) Dim() uint64
- func (ts *Tensor) Dist(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DistOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Div(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivOutMode(out *Tensor, other *Tensor, roundingMode string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivScalarMode(other *Scalar, roundingMode string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivScalarModeOut(out *Tensor, other *Scalar, roundingMode string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivScalarMode_(other *Scalar, roundingMode string) (err error)
- func (ts *Tensor) DivScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivScalar_(other *Scalar) (err error)
- func (ts *Tensor) DivTensorMode(other *Tensor, roundingMode string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivTensorMode_(other *Tensor, roundingMode string) (err error)
- func (ts *Tensor) Div_(other *Tensor) (err error)
- func (ts *Tensor) Divide(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivideOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivideOutMode(out *Tensor, other *Tensor, roundingMode string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivideScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivideScalarMode(other *Scalar, roundingMode string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivideScalarMode_(other *Scalar, roundingMode string) (err error)
- func (ts *Tensor) DivideScalar_(other *Scalar) (err error)
- func (ts *Tensor) DivideTensorMode(other *Tensor, roundingMode string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DivideTensorMode_(other *Tensor, roundingMode string) (err error)
- func (ts *Tensor) Divide_(other *Tensor) (err error)
- func (ts *Tensor) Dot(tensor *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) DotOut(out *Tensor, tensor *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Drop() error
- func (ts *Tensor) Dropout_(p float64, train bool) (err error)
- func (ts *Tensor) Elu(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EluOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Elu_() (err error)
- func (ts *Tensor) EmbeddingRenorm(indices *Tensor, maxNorm float64, normType float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EmbeddingRenormOut(out *Tensor, indices *Tensor, maxNorm float64, normType float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EmbeddingRenorm_(indices *Tensor, maxNorm float64, normType float64) (err error)
- func (ts *Tensor) EmptyLike(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EmptyLikeOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Eq(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EqScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EqTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EqTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) EqTensor_(other *Tensor) (err error)
- func (ts *Tensor) Eq_(other *Scalar) (err error)
- func (ts *Tensor) Equal(other *Tensor, del bool) (retVal bool, err error)
- func (ts *Tensor) Erf(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ErfOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Erf_() (err error)
- func (ts *Tensor) Erfc(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ErfcOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Erfc_() (err error)
- func (ts *Tensor) Erfinv(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ErfinvOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Erfinv_() (err error)
- func (ts *Tensor) Exp(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Exp2(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Exp2Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Exp2_() (err error)
- func (ts *Tensor) ExpOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Exp_() (err error)
- func (ts *Tensor) Expand(size []int64, implicit bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ExpandAs(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ExpandCopy(size []int64, implicit bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ExpandCopyOut(out *Tensor, size []int64, implicit bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Expm1(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Expm1Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Expm1_() (err error)
- func (ts *Tensor) Exponential(lambd float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ExponentialOut(out *Tensor, lambd float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Exponential_(lambd float64) (err error)
- func (ts *Tensor) FakeQuantizePerChannelAffine(scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, quantMax int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) FakeQuantizePerChannelAffineCachemask(scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, quantMax int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FakeQuantizePerChannelAffineCachemaskOut(out0 *Tensor, out1 *Tensor, scale *Tensor, zeroPoint *Tensor, axis int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FakeQuantizePerTensorAffine(scale float64, zeroPoint int64, quantMin int64, quantMax int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FakeQuantizePerTensorAffineCachemask(scale float64, zeroPoint int64, quantMin int64, quantMax int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FakeQuantizePerTensorAffineCachemaskOut(out0 *Tensor, out1 *Tensor, scale float64, zeroPoint int64, quantMin int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FakeQuantizePerTensorAffineTensorQparams(scale *Tensor, zeroPoint *Tensor, quantMin int64, quantMax int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FeatureAlphaDropout_(p float64, train bool) (err error)
- func (ts *Tensor) FeatureDropout_(p float64, train bool) (err error)
- func (ts *Tensor) FftFft(n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftFft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftFft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftFftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftFftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftFftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftFftshift(dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftHfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftHfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftHfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftHfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftHfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftHfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIfftshift(dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIhfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIhfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIhfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIhfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIhfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIhfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIrfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIrfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIrfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIrfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIrfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftIrfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftRfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftRfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftRfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftRfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftRfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FftRfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Fill(value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FillDiagonal_(fillValue *Scalar, wrap bool) (err error)
- func (ts *Tensor) FillScalarOut(out *Tensor, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FillTensor(value *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FillTensorOut(out *Tensor, value *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FillTensor_(value *Tensor) (err error)
- func (ts *Tensor) Fill_(value *Scalar) (err error)
- func (ts *Tensor) Fix(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FixOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Fix_() (err error)
- func (ts *Tensor) FlatView() *Tensor
- func (ts *Tensor) Flatten(startDim int64, endDim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Flip(dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FlipOut(out *Tensor, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Fliplr(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Flipud(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Float64Value(idx []int64) (float64, error)
- func (ts *Tensor) Float64Values(delOpt ...bool) []float64
- func (ts *Tensor) FloatPower(exponent *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloatPowerTensorScalar(exponent *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloatPowerTensorScalarOut(out *Tensor, exponent *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloatPowerTensorTensorOut(out *Tensor, exponent *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloatPowerTensor_(exponent *Tensor) (err error)
- func (ts *Tensor) FloatPower_(exponent *Scalar) (err error)
- func (ts *Tensor) Floor(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloorDivide(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloorDivideOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloorDivideScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FloorDivideScalar_(other *Scalar) (err error)
- func (ts *Tensor) FloorDivide_(other *Tensor) (err error)
- func (ts *Tensor) FloorOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Floor_() (err error)
- func (ts *Tensor) Fmax(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FmaxOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Fmin(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FminOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Fmod(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FmodScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FmodTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FmodTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FmodTensor_(other *Tensor) (err error)
- func (ts *Tensor) Fmod_(other *Scalar) (err error)
- func (ts *Tensor) Format(s fmt.State, verb rune)
- func (ts *Tensor) Frac(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FracOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Frac_() (err error)
- func (ts *Tensor) FractionalMaxPool2d(kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FractionalMaxPool2dBackward(gradOutput *Tensor, kernelSize []int64, outputSize []int64, indices *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) FractionalMaxPool2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) FractionalMaxPool2dOutput(output *Tensor, indices *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FractionalMaxPool3d(kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FractionalMaxPool3dBackward(gradOutput *Tensor, kernelSize []int64, outputSize []int64, indices *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) FractionalMaxPool3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) FractionalMaxPool3dOutput(output *Tensor, indices *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Frexp(del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FrexpTensorOut(mantissa *Tensor, exponent *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) FrobeniusNorm(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FrobeniusNormOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FullLike(fillValue *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FullLikeOut(out *Tensor, fillValue *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) FusedMovingAvgObsFakeQuant(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Gather(dim int64, index *Tensor, sparseGrad bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GatherBackward(grad *Tensor, dim int64, index *Tensor, sparseGrad bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GatherOut(out *Tensor, dim int64, index *Tensor, sparseGrad bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Gcd(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GcdOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Gcd_(other *Tensor) (err error)
- func (ts *Tensor) Ge(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeTensor_(other *Tensor) (err error)
- func (ts *Tensor) Ge_(other *Scalar) (err error)
- func (ts *Tensor) Gelu(approximate string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeluBackward(gradOutput *Tensor, approximate string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, approximate string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeluOut(out *Tensor, approximate string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Gelu_(approximate string) (err error)
- func (ts *Tensor) Geometric(p float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GeometricOut(out *Tensor, p float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Geometric_(p float64) (err error)
- func (ts *Tensor) Geqrf(del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) GeqrfA(a *Tensor, tau *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Ger(vec2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GerOut(out *Tensor, vec2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Get(index int) (*Tensor, error)
- func (ts *Tensor) Glu(dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GluBackward(gradOutput *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GluOut(out *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Grad(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Greater(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterEqual(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterEqualScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterEqualTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterEqualTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterEqualTensor_(other *Tensor) (err error)
- func (ts *Tensor) GreaterEqual_(other *Scalar) (err error)
- func (ts *Tensor) GreaterScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GreaterTensor_(other *Tensor) (err error)
- func (ts *Tensor) Greater_(other *Scalar) (err error)
- func (ts *Tensor) Gru(hx *Tensor, paramsData []*Tensor, hasBiases bool, numLayers int64, ...) (output, h *Tensor, err error)
- func (ts *Tensor) Gt(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GtScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GtTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GtTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) GtTensor_(other *Tensor) (err error)
- func (ts *Tensor) Gt_(other *Scalar) (err error)
- func (ts *Tensor) Hardshrink(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardshrinkBackward(gradOut *Tensor, lambd *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardshrinkBackwardGradInput(gradInput *Tensor, gradOut *Tensor, lambd *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardshrinkOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Hardsigmoid(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardsigmoidBackward(gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardsigmoidBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardsigmoidOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Hardsigmoid_() (err error)
- func (ts *Tensor) Hardswish(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardswishBackward(gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardswishBackwardOut(out *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardswishOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Hardswish_() (err error)
- func (ts *Tensor) Hardtanh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardtanhBackward(gradOutput *Tensor, minVal *Scalar, maxVal *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HardtanhBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, minVal *Scalar, maxVal *Scalar, ...) (retVal *Tensor, err error)
- func (ts *Tensor) HardtanhOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Hardtanh_() (err error)
- func (ts *Tensor) Heaviside(values *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HeavisideOut(out *Tensor, values *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Heaviside_(values *Tensor) (err error)
- func (ts *Tensor) HingeEmbeddingLoss(target *Tensor, margin float64, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Histc(bins int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HistcOut(out *Tensor, bins int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HuberLoss(target *Tensor, reduction int64, delta float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HuberLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, delta float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HuberLossBackwardOut(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) HuberLossOut(out *Tensor, target *Tensor, reduction int64, delta float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Hypot(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) HypotOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Hypot_(other *Tensor) (err error)
- func (ts *Tensor) I0(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) I0Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) I0_() (err error)
- func (ts *Tensor) Idx(index interface{}) (retVal *Tensor)
- func (ts *Tensor) Igamma(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IgammaOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Igamma_(other *Tensor) (err error)
- func (ts *Tensor) Igammac(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IgammacOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Igammac_(other *Tensor) (err error)
- func (ts *Tensor) Im2col(kernelSize []int64, dilation []int64, padding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Im2colOut(out *Tensor, kernelSize []int64, dilation []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Imag(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexAdd(dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexAddOut(out *Tensor, dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexAdd_(dim int64, index *Tensor, source *Tensor) (err error)
- func (ts *Tensor) IndexCopy(dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexCopyOut(out *Tensor, dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexCopy_(dim int64, index *Tensor, source *Tensor) (err error)
- func (ts *Tensor) IndexFill(dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexFillIntScalarOut(out *Tensor, dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexFillIntTensor(dim int64, index *Tensor, value *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexFillIntTensorOut(out *Tensor, dim int64, index *Tensor, value *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexFillIntTensor_(dim int64, index *Tensor, value *Tensor) (err error)
- func (ts *Tensor) IndexFill_(dim int64, index *Tensor, value *Scalar) (err error)
- func (ts *Tensor) IndexPutOut(out *Tensor, indices []*Tensor, values *Tensor, accumulate bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexReduce(dim int64, index *Tensor, source *Tensor, reduce string, includeSelf bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) IndexReduceOut(out *Tensor, dim int64, index *Tensor, source *Tensor, reduce string, ...) (retVal *Tensor, err error)
- func (ts *Tensor) IndexReduce_(dim int64, index *Tensor, source *Tensor, reduce string, includeSelf bool) (err error)
- func (ts *Tensor) IndexSelect(dim int64, index *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexSelectOut(out *Tensor, dim int64, index *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndexTensorOut(out *Tensor, indices []*Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Indices(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndicesCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IndicesCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) InfinitelyDifferentiableGeluBackward(grad *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Info()
- func (ts *Tensor) Inner(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) InnerOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Int64Value(idx []int64) (int64, error)
- func (ts *Tensor) Int64Values(delOpt ...bool) []int64
- func (ts *Tensor) IntRepr(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IntReprOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Inverse(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) InverseOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IsCoalesced(del bool) (retVal bool, err error)
- func (ts *Tensor) IsComplex(del bool) (retVal bool, err error)
- func (ts *Tensor) IsConj(del bool) (retVal bool, err error)
- func (ts *Tensor) IsContiguous() (bool, error)
- func (ts *Tensor) IsDistributed(del bool) (retVal bool, err error)
- func (ts *Tensor) IsFloatingPoint(del bool) (retVal bool, err error)
- func (ts *Tensor) IsInference(del bool) (retVal bool, err error)
- func (ts *Tensor) IsLeaf(del bool) (retVal bool, err error)
- func (ts *Tensor) IsMkldnn() (bool, error)
- func (ts *Tensor) IsNeg(del bool) (retVal bool, err error)
- func (ts *Tensor) IsNonzero(del bool) (retVal bool, err error)
- func (ts *Tensor) IsPinned(device gotch.Device, del bool) (retVal bool, err error)
- func (ts *Tensor) IsSameSize(other *Tensor, del bool) (retVal bool, err error)
- func (ts *Tensor) IsSetTo(tensor *Tensor, del bool) (retVal bool, err error)
- func (ts *Tensor) IsSigned(del bool) (retVal bool, err error)
- func (ts *Tensor) IsSparse() (bool, error)
- func (ts *Tensor) Isclose(other *Tensor, rtol float64, atol float64, equalNan bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Isfinite(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Isinf(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IsinfOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Isnan(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IsnanOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Isneginf(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IsneginfOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Isposinf(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) IsposinfOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Isreal(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Istft(nFft int64, hopLength []int64, winLength []int64, window *Tensor, center bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Iter(dtype gotch.DType) (*Iterable, error)
- func (ts *Tensor) KlDiv(target *Tensor, reduction int64, logTarget bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Kron(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) KronOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Kthvalue(k int64, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) KthvalueValues(values *Tensor, indices *Tensor, k int64, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) L1Loss(target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Lcm(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LcmOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Lcm_(other *Tensor) (err error)
- func (ts *Tensor) Ldexp(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LdexpOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Ldexp_(other *Tensor) (err error)
- func (ts *Tensor) Le(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LeScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LeTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LeTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LeTensor_(other *Tensor) (err error)
- func (ts *Tensor) Le_(other *Scalar) (err error)
- func (ts *Tensor) LeakyRelu(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LeakyReluBackward(gradOutput *Tensor, negativeSlope *Scalar, selfIsResult bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LeakyReluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, negativeSlope *Scalar, ...) (retVal *Tensor, err error)
- func (ts *Tensor) LeakyReluOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LeakyRelu_() (err error)
- func (ts *Tensor) Lerp(end *Tensor, weight *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LerpScalarOut(out *Tensor, end *Tensor, weight *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LerpTensor(end *Tensor, weight *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LerpTensorOut(out *Tensor, end *Tensor, weight *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LerpTensor_(end *Tensor, weight *Tensor) (err error)
- func (ts *Tensor) Lerp_(end *Tensor, weight *Scalar) (err error)
- func (ts *Tensor) Less(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessEqual(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessEqualScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessEqualTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessEqualTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessEqualTensor_(other *Tensor) (err error)
- func (ts *Tensor) LessEqual_(other *Scalar) (err error)
- func (ts *Tensor) LessScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LessTensor_(other *Tensor) (err error)
- func (ts *Tensor) Less_(other *Scalar) (err error)
- func (ts *Tensor) Lgamma(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LgammaOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Lgamma_() (err error)
- func (ts *Tensor) Lift(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LiftFresh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LiftFreshCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LiftFreshCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LiftOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCholesky(upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCholeskyEx(upper bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgCholeskyExL(l *Tensor, info *Tensor, upper bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgCholeskyOut(out *Tensor, upper bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCond(p *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCondOut(out *Tensor, p *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCondPStr(p string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCondPStrOut(out *Tensor, p string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCross(other *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgCrossOut(out *Tensor, other *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgEig(del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgEigOut(eigenvalues *Tensor, eigenvectors *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgEigh(uPLO string, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgEighEigvals(eigvals *Tensor, eigvecs *Tensor, uPLO string, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgEigvals(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgEigvalsOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgEigvalsh(uPLO string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgEigvalshOut(out *Tensor, uPLO string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgLdlFactor(hermitian bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgLdlFactorEx(hermitian bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) LinalgLdlFactorExOut(lD *Tensor, pivots *Tensor, info *Tensor, hermitian bool, checkErrors bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) LinalgLdlFactorOut(lD *Tensor, pivots *Tensor, hermitian bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) LinalgLstsq(b *Tensor, rcond []float64, driver string, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func (ts *Tensor) LinalgLstsqOut(solution *Tensor, residuals *Tensor, rank *Tensor, singularValues *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
- func (ts *Tensor) LinalgMatmul(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatmulOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixExp(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixExpOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixPower(n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixPowerOut(out *Tensor, n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixRank(tol float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixRankAtolRtolFloat(atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixRankAtolRtolFloatOut(out *Tensor, atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgMatrixRankOut(out *Tensor, tol float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgNorm(ord *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgNormOrdStr(ord string, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgNormOrdStrOut(out *Tensor, ord string, dim []int64, keepdim bool, dtype gotch.DType, ...) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgNormOut(out *Tensor, ord *Scalar, dim []int64, keepdim bool, dtype gotch.DType, ...) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinv(rcond float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinvAtolRtolFloat(atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinvAtolRtolFloatOut(out *Tensor, atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinvAtolRtolTensor(atol *Tensor, rtol *Tensor, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinvAtolRtolTensorOut(out *Tensor, atol *Tensor, rtol *Tensor, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinvOut(out *Tensor, rcond float64, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinvOutRcondTensor(out *Tensor, rcond *Tensor, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgPinvRcondTensor(rcond *Tensor, hermitian bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgSolveTriangular(b *Tensor, upper bool, left bool, unitriangular bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgSolveTriangularOut(out *Tensor, b *Tensor, upper bool, left bool, unitriangular bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgTensorinv(ind int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgTensorinvOut(out *Tensor, ind int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgTensorsolve(other *Tensor, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LinalgTensorsolveOut(out *Tensor, other *Tensor, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log1p(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log1pOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log1p_() (err error)
- func (ts *Tensor) Log2(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log2Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log2_() (err error)
- func (ts *Tensor) Log10(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log10Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log10_() (err error)
- func (ts *Tensor) LogNormal(mean float64, std float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogNormalOut(out *Tensor, mean float64, std float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogNormal_(mean float64, std float64) (err error)
- func (ts *Tensor) LogOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogSigmoid(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogSigmoidBackward(gradOutput *Tensor, buffer *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogSigmoidBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, buffer *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogSigmoidOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogSoftmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogSoftmaxIntOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Log_() (err error)
- func (ts *Tensor) Logaddexp(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Logaddexp2(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Logaddexp2Out(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogaddexpOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Logcumsumexp(dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogcumsumexpOut(out *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Logdet(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalAnd(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalAndOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalAnd_(other *Tensor) (err error)
- func (ts *Tensor) LogicalNot(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalNotOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalNot_() (err error)
- func (ts *Tensor) LogicalOr(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalOrOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalOr_(other *Tensor) (err error)
- func (ts *Tensor) LogicalXor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalXorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogicalXor_(other *Tensor) (err error)
- func (ts *Tensor) Logit(eps []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogitBackward(gradOutput *Tensor, eps []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogitBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, eps []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogitOut(out *Tensor, eps []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Logit_(eps []float64) (err error)
- func (ts *Tensor) Logsumexp(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LogsumexpOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Lstm(hxData []*Tensor, paramsData []*Tensor, hasBiases bool, numLayers int64, ...) (output, h, c *Tensor, err error)
- func (ts *Tensor) Lt(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LtScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LtTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LtTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LtTensor_(other *Tensor) (err error)
- func (ts *Tensor) Lt_(other *Scalar) (err error)
- func (ts *Tensor) LuSolve(lUData *Tensor, lUPivots *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) LuSolveOut(out *Tensor, lUData *Tensor, lUPivots *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedFill(mask *Tensor, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedFillScalarOut(out *Tensor, mask *Tensor, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedFillTensor(mask *Tensor, value *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedFillTensorOut(out *Tensor, mask *Tensor, value *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedFillTensor_(mask *Tensor, value *Tensor) (err error)
- func (ts *Tensor) MaskedFill_(mask *Tensor, value *Scalar) (err error)
- func (ts *Tensor) MaskedScatter(mask *Tensor, source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedScatterOut(out *Tensor, mask *Tensor, source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedScatter_(mask *Tensor, source *Tensor) (err error)
- func (ts *Tensor) MaskedSelect(mask *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaskedSelectOut(out *Tensor, mask *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Matmul(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MatmulOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MatrixExp(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MatrixExpBackward(grad *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MatrixH(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MatrixPower(n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MatrixPowerOut(out *Tensor, n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Max(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaxDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MaxDimMax(max *Tensor, maxValues *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MaxOther(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaxOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool1d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool1dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MaxPool2DDefault(ksize int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MaxPool2d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool2dBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool2dBackwardOut(out *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool2dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MaxPool2dWithIndicesBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool2dWithIndicesBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool2dWithIndicesOut(out *Tensor, indices *Tensor, kernelSize []int64, stride []int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MaxPool3d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool3dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MaxPool3dWithIndicesBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool3dWithIndicesBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MaxPool3dWithIndicesOut(out *Tensor, indices *Tensor, kernelSize []int64, stride []int64, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MaxUnaryOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaxUnpool2d(indices *Tensor, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaxUnpool2dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaxUnpool3d(indices *Tensor, outputSize []int64, stride []int64, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaxUnpool3dOut(out *Tensor, indices *Tensor, outputSize []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Maximum(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MaximumOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mean(dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MeanDim(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MeanOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Median(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MedianDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MedianDimValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MedianOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Min(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MinDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MinDimMin(min *Tensor, minIndices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) MinOther(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MinOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MinUnaryOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Minimum(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MinimumOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenConvolution(weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenConvolutionAddRelu(weight *Tensor, z *Tensor, alpha *Scalar, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenConvolutionOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenConvolutionRelu(weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenConvolutionTranspose(weight *Tensor, bias *Tensor, padding []int64, outputPadding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenConvolutionTransposeOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenDepthwiseConvolution(weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MiopenDepthwiseConvolutionOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Mish(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MishBackward(gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MishOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mish_() (err error)
- func (ts *Tensor) MkldnnAdaptiveAvgPool2d(outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnAdaptiveAvgPool2dBackward(gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnAdaptiveAvgPool2dBackwardOut(out *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnAdaptiveAvgPool2dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnConvolution(weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnConvolutionOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnLinear(weight *Tensor, bias *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnLinearOut(out *Tensor, weight *Tensor, bias *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnMaxPool2d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnMaxPool2dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnMaxPool3d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnMaxPool3dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnReorderConv2dWeight(padding []int64, stride []int64, dilation []int64, groups int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnReorderConv2dWeightOut(out *Tensor, padding []int64, stride []int64, dilation []int64, groups int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnReorderConv3dWeight(padding []int64, stride []int64, dilation []int64, groups int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MkldnnReorderConv3dWeightOut(out *Tensor, padding []int64, stride []int64, dilation []int64, groups int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Mm(mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MmOut(out *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mode(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) ModeValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Moveaxis(source []int64, destination []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MoveaxisInt(source int64, destination int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Movedim(source []int64, destination []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MovedimInt(source int64, destination int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MseLoss(target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MseLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MseLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MseLossOut(out *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Msort(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MsortOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mt(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mul(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MulOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MulScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MulScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MulScalar_(other *Scalar) (err error)
- func (ts *Tensor) Mul_(other *Tensor) (err error)
- func (ts *Tensor) MultiMarginLossBackward(gradOutput *Tensor, target *Tensor, p *Scalar, margin *Scalar, weight *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MultiMarginLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, p *Scalar, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MultilabelMarginLoss(target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MultilabelMarginLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, isTarget *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MultilabelMarginLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) MultilabelMarginLossOut(out *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Multinomial(numSamples int64, replacement bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MultinomialOut(out *Tensor, numSamples int64, replacement bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Multiply(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MultiplyOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MultiplyScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MultiplyScalar_(other *Scalar) (err error)
- func (ts *Tensor) Multiply_(other *Tensor) (err error)
- func (ts *Tensor) MustAbs(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAbsOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAbs_()
- func (ts *Tensor) MustAbsolute(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAbsoluteOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAbsolute_()
- func (ts *Tensor) MustAcos(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAcosOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAcos_()
- func (ts *Tensor) MustAcosh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAcoshOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAcosh_()
- func (ts *Tensor) MustAdaptiveAvgPool1d(outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveAvgPool2d(outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveAvgPool2dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveAvgPool3d(outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveAvgPool3dBackward(gradInput *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveAvgPool3dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool1d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool2d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool2dBackward(gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool2dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool3d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool3dBackward(gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, indices *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAdaptiveMaxPool3dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustAdd(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddScalar_(other *Scalar)
- func (ts *Tensor) MustAdd_(other *Tensor)
- func (ts *Tensor) MustAddbmm(batch1 *Tensor, batch2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddbmmOut(out *Tensor, batch1 *Tensor, batch2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddbmm_(batch1 *Tensor, batch2 *Tensor)
- func (ts *Tensor) MustAddcdiv(tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddcdivOut(out *Tensor, tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddcdiv_(tensor1 *Tensor, tensor2 *Tensor)
- func (ts *Tensor) MustAddcmul(tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddcmulOut(out *Tensor, tensor1 *Tensor, tensor2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddcmul_(tensor1 *Tensor, tensor2 *Tensor)
- func (ts *Tensor) MustAddmm(mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddmm_(mat1 *Tensor, mat2 *Tensor)
- func (ts *Tensor) MustAddmv(mat *Tensor, vec *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddmvOut(out *Tensor, mat *Tensor, vec *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddmv_(mat *Tensor, vec *Tensor)
- func (ts *Tensor) MustAddr(vec1 *Tensor, vec2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddrOut(out *Tensor, vec1 *Tensor, vec2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAddr_(vec1 *Tensor, vec2 *Tensor)
- func (ts *Tensor) MustAdjoint(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAlias(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAliasCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAliasCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAlignAs(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAll(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAllAllOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAllDim(dim int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAllOut(out *Tensor, dim int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAllclose(other *Tensor, rtol float64, atol float64, equalNan bool, del bool) (retVal bool)
- func (ts *Tensor) MustAlphaDropout_(p float64, train bool)
- func (ts *Tensor) MustAmax(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAmaxOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAmin(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAminOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAminmax(dim []int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustAminmaxOut(min *Tensor, max *Tensor, dim []int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustAngle(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAngleOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAny(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAnyAllOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAnyDim(dim int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAnyOut(out *Tensor, dim int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArccos(del bool) (retVal *Tensor)
- func (ts *Tensor) MustArccosOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArccos_()
- func (ts *Tensor) MustArccosh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustArccoshOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArccosh_()
- func (ts *Tensor) MustArcsin(del bool) (retVal *Tensor)
- func (ts *Tensor) MustArcsinOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArcsin_()
- func (ts *Tensor) MustArcsinh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustArcsinhOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArcsinh_()
- func (ts *Tensor) MustArctan(del bool) (retVal *Tensor)
- func (ts *Tensor) MustArctan2(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArctan2Out(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArctan2_(other *Tensor)
- func (ts *Tensor) MustArctanOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArctan_()
- func (ts *Tensor) MustArctanh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustArctanhOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArctanh_()
- func (ts *Tensor) MustArgmax(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArgmaxOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArgmin(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArgminOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArgsort(dim int64, descending bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArgsortStable(stable bool, dim int64, descending bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArgsortStableOut(out *Tensor, stable bool, dim int64, descending bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustArgwhere(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsStrided(size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsStridedCopy(size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsStridedCopyOut(out *Tensor, size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsStridedScatter(src *Tensor, size []int64, stride []int64, storageOffset []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsStridedScatterOut(out *Tensor, src *Tensor, size []int64, stride []int64, storageOffset []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustAsStrided_(size []int64, stride []int64, storageOffset []int64)
- func (ts *Tensor) MustAsin(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsinOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsin_()
- func (ts *Tensor) MustAsinh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsinhOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAsinh_()
- func (ts *Tensor) MustAtan(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtan2(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtan2Out(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtan2_(other *Tensor)
- func (ts *Tensor) MustAtanOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtan_()
- func (ts *Tensor) MustAtanh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtanhOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtanh_()
- func (ts *Tensor) MustAtleast1d(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtleast2d(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAtleast3d(del bool) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool1d(kernelSize []int64, stride []int64, padding []int64, ceilMode bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool2d(kernelSize []int64, stride []int64, padding []int64, ceilMode bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool2dBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool2dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool3d(kernelSize []int64, stride []int64, padding []int64, ceilMode bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool3dBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustAvgPool3dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustBackward()
- func (ts *Tensor) MustBaddbmm(batch1 *Tensor, batch2 *Tensor, beta *Scalar, alpha *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBaddbmmOut(out *Tensor, batch1 *Tensor, batch2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBaddbmm_(batch1 *Tensor, batch2 *Tensor)
- func (ts *Tensor) MustBernoulli(del bool) (retVal *Tensor)
- func (ts *Tensor) MustBernoulliFloat_(p float64)
- func (ts *Tensor) MustBernoulliP(p float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBernoulliTensor(p *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBernoulli_(p *Tensor)
- func (ts *Tensor) MustBinaryCrossEntropy(target *Tensor, weight *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBinaryCrossEntropyBackward(gradOutput *Tensor, target *Tensor, weight *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBinaryCrossEntropyBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, weight *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustBinaryCrossEntropyOut(out *Tensor, target *Tensor, weight *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBinaryCrossEntropyWithLogits(target *Tensor, weight *Tensor, posWeight *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBinaryCrossEntropyWithLogitsOut(out *Tensor, target *Tensor, weight *Tensor, posWeight *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustBincount(weights *Tensor, minlength int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBincountOut(out *Tensor, weights *Tensor, minlength int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseAnd(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseAndScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseAndTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseAndTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseAndTensor_(other *Tensor)
- func (ts *Tensor) MustBitwiseAnd_(other *Scalar)
- func (ts *Tensor) MustBitwiseLeftShift(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseLeftShiftTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseLeftShiftTensorScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseLeftShiftTensorScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseLeftShiftTensorScalar_(other *Scalar)
- func (ts *Tensor) MustBitwiseLeftShift_(other *Tensor)
- func (ts *Tensor) MustBitwiseNot(del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseNotOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseNot_()
- func (ts *Tensor) MustBitwiseOr(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseOrScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseOrTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseOrTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseOrTensor_(other *Tensor)
- func (ts *Tensor) MustBitwiseOr_(other *Scalar)
- func (ts *Tensor) MustBitwiseRightShift(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseRightShiftTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseRightShiftTensorScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseRightShiftTensorScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseRightShiftTensorScalar_(other *Scalar)
- func (ts *Tensor) MustBitwiseRightShift_(other *Tensor)
- func (ts *Tensor) MustBitwiseXor(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseXorScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseXorTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseXorTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBitwiseXorTensor_(other *Tensor)
- func (ts *Tensor) MustBitwiseXor_(other *Scalar)
- func (ts *Tensor) MustBmm(mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBmmOut(out *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBroadcastTo(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBucketize(boundaries *Tensor, outInt32 bool, right bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustBucketizeTensorOut(out *Tensor, boundaries *Tensor, outInt32 bool, right bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCauchy(median float64, sigma float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCauchyOut(out *Tensor, median float64, sigma float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCauchy_(median float64, sigma float64)
- func (ts *Tensor) MustCcolIndices(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCcolIndicesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCcolIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCeil(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCeilOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCeil_()
- func (ts *Tensor) MustCelu(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCeluOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCelu_()
- func (ts *Tensor) MustChalf(del bool) (retVal *Tensor)
- func (ts *Tensor) MustChannelShuffle(groups int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustChannelShuffleOut(out *Tensor, groups int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCholesky(upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCholeskyInverse(upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCholeskyInverseOut(out *Tensor, upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCholeskyOut(out *Tensor, upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCholeskySolve(input2 *Tensor, upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCholeskySolveOut(out *Tensor, input2 *Tensor, upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustChunk(chunks int64, dim int64, del bool) (retVal []*Tensor)
- func (ts *Tensor) MustClamp(min *Scalar, max *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMax(max *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMaxOut(out *Tensor, max *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMaxTensor(max *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMaxTensorOut(out *Tensor, max *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMaxTensor_(max *Tensor)
- func (ts *Tensor) MustClampMax_(max *Scalar)
- func (ts *Tensor) MustClampMin(min *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMinOut(out *Tensor, min *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMinTensor(min *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMinTensorOut(out *Tensor, min *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampMinTensor_(min *Tensor)
- func (ts *Tensor) MustClampMin_(min *Scalar)
- func (ts *Tensor) MustClampOut(out *Tensor, min *Scalar, max *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampTensor(min *Tensor, max *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampTensorOut(out *Tensor, min *Tensor, max *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClampTensor_(min *Tensor, max *Tensor)
- func (ts *Tensor) MustClamp_(min *Scalar, max *Scalar)
- func (ts *Tensor) MustClip(min *Scalar, max *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClipOut(out *Tensor, min *Scalar, max *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClipTensor(min *Tensor, max *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClipTensorOut(out *Tensor, min *Tensor, max *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustClipTensor_(min *Tensor, max *Tensor)
- func (ts *Tensor) MustClip_(min *Scalar, max *Scalar)
- func (ts *Tensor) MustClone(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCoalesce(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCol2im(outputSize []int64, kernelSize []int64, dilation []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCol2imOut(out *Tensor, outputSize []int64, kernelSize []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustColIndices(del bool) (retVal *Tensor)
- func (ts *Tensor) MustColIndicesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustColIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCombinations(r int64, withReplacement bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustConj(del bool) (retVal *Tensor)
- func (ts *Tensor) MustConjPhysical(del bool) (retVal *Tensor)
- func (ts *Tensor) MustConjPhysicalOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustConjPhysical_()
- func (ts *Tensor) MustConstantPadNd(pad []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustConstantPadNdOut(out *Tensor, pad []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustConstantPadNdWithVal(pad []int64, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustContiguous(del bool) (retVal *Tensor)
- func (ts *Tensor) MustConvDepthwise3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustConvDepthwise3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustConvTbc(weight *Tensor, bias *Tensor, pad int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustConvTbcBackward(input *Tensor, weight *Tensor, bias *Tensor, pad int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustConvTbcOut(out *Tensor, weight *Tensor, bias *Tensor, pad int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopy(src *Tensor, nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopyData(dst interface{}, numel uint)
- func (ts *Tensor) MustCopyDataUint8(dst []uint8, numel uint)
- func (ts *Tensor) MustCopyOut(out *Tensor, src *Tensor, nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopySparseToSparse(src *Tensor, nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopySparseToSparseOut(out *Tensor, src *Tensor, nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopySparseToSparse_(src *Tensor, nonBlocking bool)
- func (ts *Tensor) MustCopysign(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopysignOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopysignScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopysignScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCopysignScalar_(other *Scalar)
- func (ts *Tensor) MustCopysign_(other *Tensor)
- func (ts *Tensor) MustCorrcoef(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCos(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCosOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCos_()
- func (ts *Tensor) MustCosh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCoshOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCosh_()
- func (ts *Tensor) MustCountNonzero(dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCountNonzeroDimIntlist(dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCountNonzeroDimIntlistOut(out *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCountNonzeroOut(out *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCov(correction int64, fweights *Tensor, aweights *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCross(other *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCrossEntropyLoss(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCrossOut(out *Tensor, other *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCrowIndices(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCrowIndicesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustCrowIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolution(weight *Tensor, padding []int64, stride []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolutionAddRelu(weight *Tensor, z *Tensor, alpha *Scalar, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolutionAddReluOut(out *Tensor, weight *Tensor, z *Tensor, alpha *Scalar, bias *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolutionOut(out *Tensor, weight *Tensor, padding []int64, stride []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolutionRelu(weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolutionReluOut(out *Tensor, weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolutionTranspose(weight *Tensor, padding []int64, outputPadding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnConvolutionTransposeOut(out *Tensor, weight *Tensor, padding []int64, outputPadding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustCudnnGridSampler(grid *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCudnnGridSamplerBackward(grid *Tensor, gradOutput *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustCudnnGridSamplerBackwardOut(out0 *Tensor, out1 *Tensor, grid *Tensor, gradOutput *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustCudnnGridSamplerOut(out *Tensor, grid *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCudnnIsAcceptable(del bool) (retVal bool)
- func (ts *Tensor) MustCummax(dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustCummaxOut(values *Tensor, indices *Tensor, dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustCummin(dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustCumminOut(values *Tensor, indices *Tensor, dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustCumprod(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCumprodOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCumprod_(dim int64, dtype gotch.DType)
- func (ts *Tensor) MustCumsum(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCumsumOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustCumsum_(dim int64, dtype gotch.DType)
- func (ts *Tensor) MustData(del bool) (retVal *Tensor)
- func (ts *Tensor) MustDataPtr() unsafe.Pointer
- func (ts *Tensor) MustDefined() bool
- func (ts *Tensor) MustDeg2rad(del bool) (retVal *Tensor)
- func (ts *Tensor) MustDeg2radOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDeg2rad_()
- func (ts *Tensor) MustDenseDim(del bool) (retVal int64)
- func (ts *Tensor) MustDequantize(del bool) (retVal *Tensor)
- func (ts *Tensor) MustDet(del bool) (retVal *Tensor)
- func (ts *Tensor) MustDetach(del bool) (retVal *Tensor)
- func (ts *Tensor) MustDetachCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustDetachCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDetach_()
- func (ts *Tensor) MustDevice() gotch.Device
- func (ts *Tensor) MustDiag(diagonal int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagEmbed(offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagEmbedOut(out *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagOut(out *Tensor, diagonal int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagflat(offset int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagonal(offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagonalCopy(offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagonalCopyOut(out *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagonalScatter(src *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiagonalScatterOut(out *Tensor, src *Tensor, offset int64, dim1 int64, dim2 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiff(n int64, dim int64, prepend *Tensor, append *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiffOut(out *Tensor, n int64, dim int64, prepend *Tensor, append *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDigamma(del bool) (retVal *Tensor)
- func (ts *Tensor) MustDigammaOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDigamma_()
- func (ts *Tensor) MustDist(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDistOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDiv(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivOutMode(out *Tensor, other *Tensor, roundingMode string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivScalarMode(other *Scalar, roundingMode string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivScalarModeOut(out *Tensor, other *Scalar, roundingMode string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivScalarMode_(other *Scalar, roundingMode string)
- func (ts *Tensor) MustDivScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivScalar_(other *Scalar)
- func (ts *Tensor) MustDivTensorMode(other *Tensor, roundingMode string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivTensorMode_(other *Tensor, roundingMode string)
- func (ts *Tensor) MustDiv_(other *Tensor)
- func (ts *Tensor) MustDivide(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivideOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivideOutMode(out *Tensor, other *Tensor, roundingMode string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivideScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivideScalarMode(other *Scalar, roundingMode string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivideScalarMode_(other *Scalar, roundingMode string)
- func (ts *Tensor) MustDivideScalar_(other *Scalar)
- func (ts *Tensor) MustDivideTensorMode(other *Tensor, roundingMode string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDivideTensorMode_(other *Tensor, roundingMode string)
- func (ts *Tensor) MustDivide_(other *Tensor)
- func (ts *Tensor) MustDot(tensor *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDotOut(out *Tensor, tensor *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustDrop()
- func (ts *Tensor) MustDropout_(p float64, train bool)
- func (ts *Tensor) MustElu(del bool) (retVal *Tensor)
- func (ts *Tensor) MustEluOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustElu_()
- func (ts *Tensor) MustEmbeddingRenorm(indices *Tensor, maxNorm float64, normType float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustEmbeddingRenormOut(out *Tensor, indices *Tensor, maxNorm float64, normType float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustEmbeddingRenorm_(indices *Tensor, maxNorm float64, normType float64)
- func (ts *Tensor) MustEmptyLike(del bool) (retVal *Tensor)
- func (ts *Tensor) MustEmptyLikeOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustEq(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustEqScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustEqTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustEqTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustEqTensor_(other *Tensor)
- func (ts *Tensor) MustEq_(other *Scalar)
- func (ts *Tensor) MustEqual(other *Tensor, del bool) (retVal bool)
- func (ts *Tensor) MustErf(del bool) (retVal *Tensor)
- func (ts *Tensor) MustErfOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustErf_()
- func (ts *Tensor) MustErfc(del bool) (retVal *Tensor)
- func (ts *Tensor) MustErfcOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustErfc_()
- func (ts *Tensor) MustErfinv(del bool) (retVal *Tensor)
- func (ts *Tensor) MustErfinvOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustErfinv_()
- func (ts *Tensor) MustExp(del bool) (retVal *Tensor)
- func (ts *Tensor) MustExp2(del bool) (retVal *Tensor)
- func (ts *Tensor) MustExp2Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExp2_()
- func (ts *Tensor) MustExpOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExp_()
- func (ts *Tensor) MustExpand(size []int64, implicit bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExpandAs(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExpandCopy(size []int64, implicit bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExpandCopyOut(out *Tensor, size []int64, implicit bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExpm1(del bool) (retVal *Tensor)
- func (ts *Tensor) MustExpm1Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExpm1_()
- func (ts *Tensor) MustExponential(lambd float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExponentialOut(out *Tensor, lambd float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustExponential_(lambd float64)
- func (ts *Tensor) MustFakeQuantizePerChannelAffine(scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, quantMax int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustFakeQuantizePerChannelAffineCachemask(scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, quantMax int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFakeQuantizePerChannelAffineCachemaskOut(out0 *Tensor, out1 *Tensor, scale *Tensor, zeroPoint *Tensor, axis int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFakeQuantizePerTensorAffine(scale float64, zeroPoint int64, quantMin int64, quantMax int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFakeQuantizePerTensorAffineCachemask(scale float64, zeroPoint int64, quantMin int64, quantMax int64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFakeQuantizePerTensorAffineCachemaskOut(out0 *Tensor, out1 *Tensor, scale float64, zeroPoint int64, quantMin int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFakeQuantizePerTensorAffineTensorQparams(scale *Tensor, zeroPoint *Tensor, quantMin int64, quantMax int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFeatureAlphaDropout_(p float64, train bool)
- func (ts *Tensor) MustFeatureDropout_(p float64, train bool)
- func (ts *Tensor) MustFftFft(n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftFft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftFft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftFftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftFftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftFftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftFftshift(dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftHfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftHfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftHfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftHfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftHfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftHfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIfftshift(dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIhfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIhfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIhfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIhfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIhfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIhfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIrfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIrfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIrfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIrfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIrfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftIrfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftRfft(n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftRfft2(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftRfft2Out(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftRfftOut(out *Tensor, n []int64, dim int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftRfftn(s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFftRfftnOut(out *Tensor, s []int64, dim []int64, norm string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFill(value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFillDiagonal_(fillValue *Scalar, wrap bool)
- func (ts *Tensor) MustFillScalarOut(out *Tensor, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFillTensor(value *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFillTensorOut(out *Tensor, value *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFillTensor_(value *Tensor)
- func (ts *Tensor) MustFill_(value *Scalar)
- func (ts *Tensor) MustFix(del bool) (retVal *Tensor)
- func (ts *Tensor) MustFixOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFix_()
- func (ts *Tensor) MustFlatten(startDim int64, endDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFlip(dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFlipOut(out *Tensor, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFliplr(del bool) (retVal *Tensor)
- func (ts *Tensor) MustFlipud(del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloat64Value(idx []int64) float64
- func (ts *Tensor) MustFloatPower(exponent *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloatPowerTensorScalar(exponent *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloatPowerTensorScalarOut(out *Tensor, exponent *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloatPowerTensorTensorOut(out *Tensor, exponent *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloatPowerTensor_(exponent *Tensor)
- func (ts *Tensor) MustFloatPower_(exponent *Scalar)
- func (ts *Tensor) MustFloor(del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloorDivide(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloorDivideOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloorDivideScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloorDivideScalar_(other *Scalar)
- func (ts *Tensor) MustFloorDivide_(other *Tensor)
- func (ts *Tensor) MustFloorOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFloor_()
- func (ts *Tensor) MustFmax(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFmaxOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFmin(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFminOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFmod(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFmodScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFmodTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFmodTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFmodTensor_(other *Tensor)
- func (ts *Tensor) MustFmod_(other *Scalar)
- func (ts *Tensor) MustFrac(del bool) (retVal *Tensor)
- func (ts *Tensor) MustFracOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFrac_()
- func (ts *Tensor) MustFractionalMaxPool2d(kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFractionalMaxPool2dBackward(gradOutput *Tensor, kernelSize []int64, outputSize []int64, indices *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustFractionalMaxPool2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustFractionalMaxPool2dOutput(output *Tensor, indices *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFractionalMaxPool3d(kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFractionalMaxPool3dBackward(gradOutput *Tensor, kernelSize []int64, outputSize []int64, indices *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustFractionalMaxPool3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustFractionalMaxPool3dOutput(output *Tensor, indices *Tensor, kernelSize []int64, outputSize []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFrexp(del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFrexpTensorOut(mantissa *Tensor, exponent *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustFrobeniusNorm(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFrobeniusNormOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFullLike(fillValue *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFullLikeOut(out *Tensor, fillValue *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustFusedMovingAvgObsFakeQuant(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustGather(dim int64, index *Tensor, sparseGrad bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGatherBackward(grad *Tensor, dim int64, index *Tensor, sparseGrad bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGatherOut(out *Tensor, dim int64, index *Tensor, sparseGrad bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGcd(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGcdOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGcd_(other *Tensor)
- func (ts *Tensor) MustGe(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeTensor_(other *Tensor)
- func (ts *Tensor) MustGe_(other *Scalar)
- func (ts *Tensor) MustGelu(approximate string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeluBackward(gradOutput *Tensor, approximate string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, approximate string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeluOut(out *Tensor, approximate string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGelu_(approximate string)
- func (ts *Tensor) MustGeometric(p float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeometricOut(out *Tensor, p float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGeometric_(p float64)
- func (ts *Tensor) MustGeqrf(del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustGeqrfA(a *Tensor, tau *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustGer(vec2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGerOut(out *Tensor, vec2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGet(index int) *Tensor
- func (ts *Tensor) MustGlu(dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGluBackward(gradOutput *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGluOut(out *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGrad(del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreater(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterEqual(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterEqualScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterEqualTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterEqualTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterEqualTensor_(other *Tensor)
- func (ts *Tensor) MustGreaterEqual_(other *Scalar)
- func (ts *Tensor) MustGreaterScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGreaterTensor_(other *Tensor)
- func (ts *Tensor) MustGreater_(other *Scalar)
- func (ts *Tensor) MustGru(hx *Tensor, paramsData []*Tensor, hasBiases bool, numLayers int64, ...) (output, h *Tensor)
- func (ts *Tensor) MustGt(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGtScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGtTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGtTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustGtTensor_(other *Tensor)
- func (ts *Tensor) MustGt_(other *Scalar)
- func (ts *Tensor) MustHardshrink(del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardshrinkBackward(gradOut *Tensor, lambd *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardshrinkBackwardGradInput(gradInput *Tensor, gradOut *Tensor, lambd *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardshrinkOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardsigmoid(del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardsigmoidBackward(gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardsigmoidBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardsigmoidOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardsigmoid_()
- func (ts *Tensor) MustHardswish(del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardswishBackward(gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardswishBackwardOut(out *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardswishOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardswish_()
- func (ts *Tensor) MustHardtanh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardtanhBackward(gradOutput *Tensor, minVal *Scalar, maxVal *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardtanhBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, minVal *Scalar, maxVal *Scalar, ...) (retVal *Tensor)
- func (ts *Tensor) MustHardtanhOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHardtanh_()
- func (ts *Tensor) MustHeaviside(values *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHeavisideOut(out *Tensor, values *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHeaviside_(values *Tensor)
- func (ts *Tensor) MustHingeEmbeddingLoss(target *Tensor, margin float64, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHistc(bins int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHistcOut(out *Tensor, bins int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHuberLoss(target *Tensor, reduction int64, delta float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHuberLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, delta float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHuberLossBackwardOut(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustHuberLossOut(out *Tensor, target *Tensor, reduction int64, delta float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHypot(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHypotOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustHypot_(other *Tensor)
- func (ts *Tensor) MustI0(del bool) (retVal *Tensor)
- func (ts *Tensor) MustI0Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustI0_()
- func (ts *Tensor) MustIgamma(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIgammaOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIgamma_(other *Tensor)
- func (ts *Tensor) MustIgammac(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIgammacOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIgammac_(other *Tensor)
- func (ts *Tensor) MustIm2col(kernelSize []int64, dilation []int64, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustIm2colOut(out *Tensor, kernelSize []int64, dilation []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustImag(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexAdd(dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexAddOut(out *Tensor, dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexAdd_(dim int64, index *Tensor, source *Tensor)
- func (ts *Tensor) MustIndexCopy(dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexCopyOut(out *Tensor, dim int64, index *Tensor, source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexCopy_(dim int64, index *Tensor, source *Tensor)
- func (ts *Tensor) MustIndexFill(dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexFillIntScalarOut(out *Tensor, dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexFillIntTensor(dim int64, index *Tensor, value *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexFillIntTensorOut(out *Tensor, dim int64, index *Tensor, value *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexFillIntTensor_(dim int64, index *Tensor, value *Tensor)
- func (ts *Tensor) MustIndexFill_(dim int64, index *Tensor, value *Scalar)
- func (ts *Tensor) MustIndexPutOut(out *Tensor, indices []*Tensor, values *Tensor, accumulate bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexReduce(dim int64, index *Tensor, source *Tensor, reduce string, includeSelf bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustIndexReduceOut(out *Tensor, dim int64, index *Tensor, source *Tensor, reduce string, ...) (retVal *Tensor)
- func (ts *Tensor) MustIndexReduce_(dim int64, index *Tensor, source *Tensor, reduce string, includeSelf bool)
- func (ts *Tensor) MustIndexSelect(dim int64, index *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexSelectOut(out *Tensor, dim int64, index *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndexTensorOut(out *Tensor, indices []*Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndices(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndicesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustInfinitelyDifferentiableGeluBackward(grad *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustInner(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustInnerOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustInt64Value(idx []int64) int64
- func (ts *Tensor) MustIntRepr(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIntReprOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustInverse(del bool) (retVal *Tensor)
- func (ts *Tensor) MustInverseOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsCoalesced(del bool) (retVal bool)
- func (ts *Tensor) MustIsComplex(del bool) (retVal bool)
- func (ts *Tensor) MustIsConj(del bool) (retVal bool)
- func (ts *Tensor) MustIsContiguous() bool
- func (ts *Tensor) MustIsDistributed(del bool) (retVal bool)
- func (ts *Tensor) MustIsFloatingPoint(del bool) (retVal bool)
- func (ts *Tensor) MustIsInference(del bool) (retVal bool)
- func (ts *Tensor) MustIsLeaf(del bool) (retVal bool)
- func (ts *Tensor) MustIsMkldnn() bool
- func (ts *Tensor) MustIsNeg(del bool) (retVal bool)
- func (ts *Tensor) MustIsNonzero(del bool) (retVal bool)
- func (ts *Tensor) MustIsPinned(device gotch.Device, del bool) (retVal bool)
- func (ts *Tensor) MustIsSameSize(other *Tensor, del bool) (retVal bool)
- func (ts *Tensor) MustIsSetTo(tensor *Tensor, del bool) (retVal bool)
- func (ts *Tensor) MustIsSigned(del bool) (retVal bool)
- func (ts *Tensor) MustIsSparse() bool
- func (ts *Tensor) MustIsclose(other *Tensor, rtol float64, atol float64, equalNan bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsfinite(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsinf(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsinfOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsnan(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsnanOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsneginf(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsneginfOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsposinf(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsposinfOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustIsreal(del bool) (retVal *Tensor)
- func (ts *Tensor) MustIstft(nFft int64, hopLength []int64, winLength []int64, window *Tensor, center bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustKlDiv(target *Tensor, reduction int64, logTarget bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustKron(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustKronOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustKthvalue(k int64, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustKthvalueValues(values *Tensor, indices *Tensor, k int64, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustL1Loss(target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLcm(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLcmOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLcm_(other *Tensor)
- func (ts *Tensor) MustLdexp(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLdexpOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLdexp_(other *Tensor)
- func (ts *Tensor) MustLe(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLeScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLeTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLeTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLeTensor_(other *Tensor)
- func (ts *Tensor) MustLe_(other *Scalar)
- func (ts *Tensor) MustLeakyRelu(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLeakyReluBackward(gradOutput *Tensor, negativeSlope *Scalar, selfIsResult bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLeakyReluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, negativeSlope *Scalar, ...) (retVal *Tensor)
- func (ts *Tensor) MustLeakyReluOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLeakyRelu_()
- func (ts *Tensor) MustLerp(end *Tensor, weight *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLerpScalarOut(out *Tensor, end *Tensor, weight *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLerpTensor(end *Tensor, weight *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLerpTensorOut(out *Tensor, end *Tensor, weight *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLerpTensor_(end *Tensor, weight *Tensor)
- func (ts *Tensor) MustLerp_(end *Tensor, weight *Scalar)
- func (ts *Tensor) MustLess(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessEqual(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessEqualScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessEqualTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessEqualTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessEqualTensor_(other *Tensor)
- func (ts *Tensor) MustLessEqual_(other *Scalar)
- func (ts *Tensor) MustLessScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLessTensor_(other *Tensor)
- func (ts *Tensor) MustLess_(other *Scalar)
- func (ts *Tensor) MustLgamma(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLgammaOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLgamma_()
- func (ts *Tensor) MustLift(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLiftFresh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLiftFreshCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLiftFreshCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLiftOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCholesky(upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCholeskyEx(upper bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgCholeskyExL(l *Tensor, info *Tensor, upper bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgCholeskyOut(out *Tensor, upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCond(p *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCondOut(out *Tensor, p *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCondPStr(p string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCondPStrOut(out *Tensor, p string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCross(other *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgCrossOut(out *Tensor, other *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgEig(del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgEigOut(eigenvalues *Tensor, eigenvectors *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgEigh(uPLO string, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgEighEigvals(eigvals *Tensor, eigvecs *Tensor, uPLO string, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgEigvals(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgEigvalsOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgEigvalsh(uPLO string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgEigvalshOut(out *Tensor, uPLO string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgLdlFactor(hermitian bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgLdlFactorEx(hermitian bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustLinalgLdlFactorExOut(lD *Tensor, pivots *Tensor, info *Tensor, hermitian bool, checkErrors bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustLinalgLdlFactorOut(lD *Tensor, pivots *Tensor, hermitian bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustLinalgLstsq(b *Tensor, rcond []float64, driver string, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func (ts *Tensor) MustLinalgLstsqOut(solution *Tensor, residuals *Tensor, rank *Tensor, singularValues *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
- func (ts *Tensor) MustLinalgMatmul(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatmulOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixExp(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixExpOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixPower(n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixPowerOut(out *Tensor, n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixRank(tol float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixRankAtolRtolFloat(atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixRankAtolRtolFloatOut(out *Tensor, atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgMatrixRankOut(out *Tensor, tol float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgNorm(ord *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgNormOrdStr(ord string, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgNormOrdStrOut(out *Tensor, ord string, dim []int64, keepdim bool, dtype gotch.DType, ...) (retVal *Tensor)
- func (ts *Tensor) MustLinalgNormOut(out *Tensor, ord *Scalar, dim []int64, keepdim bool, dtype gotch.DType, ...) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinv(rcond float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinvAtolRtolFloat(atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinvAtolRtolFloatOut(out *Tensor, atol []float64, rtol []float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinvAtolRtolTensor(atol *Tensor, rtol *Tensor, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinvAtolRtolTensorOut(out *Tensor, atol *Tensor, rtol *Tensor, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinvOut(out *Tensor, rcond float64, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinvOutRcondTensor(out *Tensor, rcond *Tensor, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgPinvRcondTensor(rcond *Tensor, hermitian bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgSolveTriangular(b *Tensor, upper bool, left bool, unitriangular bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgSolveTriangularOut(out *Tensor, b *Tensor, upper bool, left bool, unitriangular bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgTensorinv(ind int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgTensorinvOut(out *Tensor, ind int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgTensorsolve(other *Tensor, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLinalgTensorsolveOut(out *Tensor, other *Tensor, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog1p(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog1pOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog1p_()
- func (ts *Tensor) MustLog2(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog2Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog2_()
- func (ts *Tensor) MustLog10(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog10Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog10_()
- func (ts *Tensor) MustLogNormal(mean float64, std float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogNormalOut(out *Tensor, mean float64, std float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogNormal_(mean float64, std float64)
- func (ts *Tensor) MustLogOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogSigmoid(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogSigmoidBackward(gradOutput *Tensor, buffer *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogSigmoidBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, buffer *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogSigmoidOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogSoftmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogSoftmaxIntOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLog_()
- func (ts *Tensor) MustLogaddexp(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogaddexp2(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogaddexp2Out(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogaddexpOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogcumsumexp(dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogcumsumexpOut(out *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogdet(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalAnd(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalAndOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalAnd_(other *Tensor)
- func (ts *Tensor) MustLogicalNot(del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalNotOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalNot_()
- func (ts *Tensor) MustLogicalOr(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalOrOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalOr_(other *Tensor)
- func (ts *Tensor) MustLogicalXor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalXorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogicalXor_(other *Tensor)
- func (ts *Tensor) MustLogit(eps []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogitBackward(gradOutput *Tensor, eps []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogitBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, eps []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogitOut(out *Tensor, eps []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogit_(eps []float64)
- func (ts *Tensor) MustLogsumexp(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLogsumexpOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLstm(hxData []*Tensor, paramsData []*Tensor, hasBiases bool, numLayers int64, ...) (output, h, c *Tensor)
- func (ts *Tensor) MustLt(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLtScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLtTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLtTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLtTensor_(other *Tensor)
- func (ts *Tensor) MustLt_(other *Scalar)
- func (ts *Tensor) MustLuSolve(lUData *Tensor, lUPivots *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustLuSolveOut(out *Tensor, lUData *Tensor, lUPivots *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedFill(mask *Tensor, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedFillScalarOut(out *Tensor, mask *Tensor, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedFillTensor(mask *Tensor, value *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedFillTensorOut(out *Tensor, mask *Tensor, value *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedFillTensor_(mask *Tensor, value *Tensor)
- func (ts *Tensor) MustMaskedFill_(mask *Tensor, value *Scalar)
- func (ts *Tensor) MustMaskedScatter(mask *Tensor, source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedScatterOut(out *Tensor, mask *Tensor, source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedScatter_(mask *Tensor, source *Tensor)
- func (ts *Tensor) MustMaskedSelect(mask *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaskedSelectOut(out *Tensor, mask *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMatmul(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMatmulOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMatrixExp(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMatrixExpBackward(grad *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMatrixH(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMatrixPower(n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMatrixPowerOut(out *Tensor, n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMax(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaxDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMaxDimMax(max *Tensor, maxValues *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMaxOther(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaxOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool1d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool1dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMaxPool2d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool2dBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool2dBackwardOut(out *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool2dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMaxPool2dWithIndicesBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool2dWithIndicesBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool2dWithIndicesOut(out *Tensor, indices *Tensor, kernelSize []int64, stride []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMaxPool3d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool3dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMaxPool3dWithIndicesBackward(gradOutput *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool3dWithIndicesBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, kernelSize []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaxPool3dWithIndicesOut(out *Tensor, indices *Tensor, kernelSize []int64, stride []int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMaxUnaryOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaxUnpool2d(indices *Tensor, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaxUnpool2dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaxUnpool3d(indices *Tensor, outputSize []int64, stride []int64, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaxUnpool3dOut(out *Tensor, indices *Tensor, outputSize []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMaximum(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMaximumOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMean(dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMeanDim(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMeanOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMedian(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMedianDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMedianDimValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMedianOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMin(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMinDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMinDimMin(min *Tensor, minIndices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMinOther(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMinOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMinUnaryOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMinimum(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMinimumOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMiopenConvolution(weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMiopenConvolutionAddRelu(weight *Tensor, z *Tensor, alpha *Scalar, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMiopenConvolutionOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMiopenConvolutionRelu(weight *Tensor, bias *Tensor, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMiopenConvolutionTranspose(weight *Tensor, bias *Tensor, padding []int64, outputPadding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMiopenConvolutionTransposeOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMiopenDepthwiseConvolution(weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMiopenDepthwiseConvolutionOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMish(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMishBackward(gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMishOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMish_()
- func (ts *Tensor) MustMkldnnAdaptiveAvgPool2d(outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnAdaptiveAvgPool2dBackward(gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnAdaptiveAvgPool2dBackwardOut(out *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnAdaptiveAvgPool2dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnConvolution(weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnConvolutionOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnLinear(weight *Tensor, bias *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnLinearOut(out *Tensor, weight *Tensor, bias *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnMaxPool2d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnMaxPool2dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnMaxPool3d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnMaxPool3dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnReorderConv2dWeight(padding []int64, stride []int64, dilation []int64, groups int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnReorderConv2dWeightOut(out *Tensor, padding []int64, stride []int64, dilation []int64, groups int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnReorderConv3dWeight(padding []int64, stride []int64, dilation []int64, groups int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMkldnnReorderConv3dWeightOut(out *Tensor, padding []int64, stride []int64, dilation []int64, groups int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMm(mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMmOut(out *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMode(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustModeValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustMoveaxis(source []int64, destination []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMoveaxisInt(source int64, destination int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMovedim(source []int64, destination []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMovedimInt(source int64, destination int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMseLoss(target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMseLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMseLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMseLossOut(out *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMsort(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMsortOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMt(del bool) (retVal *Tensor)
- func (ts *Tensor) MustMul(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMulOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMulScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMulScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMulScalar_(other *Scalar)
- func (ts *Tensor) MustMul_(other *Tensor)
- func (ts *Tensor) MustMultiMarginLossBackward(gradOutput *Tensor, target *Tensor, p *Scalar, margin *Scalar, weight *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustMultiMarginLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, p *Scalar, ...) (retVal *Tensor)
- func (ts *Tensor) MustMultilabelMarginLoss(target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMultilabelMarginLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, isTarget *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustMultilabelMarginLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustMultilabelMarginLossOut(out *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMultinomial(numSamples int64, replacement bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMultinomialOut(out *Tensor, numSamples int64, replacement bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMultiply(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMultiplyOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMultiplyScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMultiplyScalar_(other *Scalar)
- func (ts *Tensor) MustMultiply_(other *Tensor)
- func (ts *Tensor) MustMv(vec *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMvOut(out *Tensor, vec *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMvlgamma(p int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMvlgammaOut(out *Tensor, p int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustMvlgamma_(p int64)
- func (ts *Tensor) MustNLLLoss(target *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanToNum(nan []float64, posinf []float64, neginf []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanToNumOut(out *Tensor, nan []float64, posinf []float64, neginf []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanToNum_(nan []float64, posinf []float64, neginf []float64)
- func (ts *Tensor) MustNanmean(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanmeanOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanmedian(del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanmedianDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustNanmedianDimValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustNanmedianOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanquantile(q *Tensor, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanquantileOut(out *Tensor, q *Tensor, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor)
- func (ts *Tensor) MustNanquantileScalar(q float64, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNanquantileScalarOut(out *Tensor, q float64, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor)
- func (ts *Tensor) MustNansum(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNansumOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNarrow(dim int64, start int64, length int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNarrowCopy(dim int64, start int64, length int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNarrowCopyOut(out *Tensor, dim int64, start int64, length int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNarrowTensor(dim int64, start *Tensor, length int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNativeChannelShuffle(groups int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNativeNorm(del bool) (retVal *Tensor)
- func (ts *Tensor) MustNativeNormOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNativeNormScalaroptDimDtype(p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNativeNormScalaroptDimDtypeOut(out *Tensor, p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNe(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNeScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNeTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNeTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNeTensor_(other *Tensor)
- func (ts *Tensor) MustNe_(other *Scalar)
- func (ts *Tensor) MustNeg(del bool) (retVal *Tensor)
- func (ts *Tensor) MustNegOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNeg_()
- func (ts *Tensor) MustNegative(del bool) (retVal *Tensor)
- func (ts *Tensor) MustNegativeOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNegative_()
- func (ts *Tensor) MustNestedToPaddedTensor(padding float64, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewEmpty(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewEmptyOut(out *Tensor, size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewEmptyStrided(size []int64, stride []int64, optionsKind gotch.DType, ...) (retVal *Tensor)
- func (ts *Tensor) MustNewEmptyStridedOut(out *Tensor, size []int64, stride []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewFull(size []int64, fillValue *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor)
- func (ts *Tensor) MustNewFullOut(out *Tensor, size []int64, fillValue *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewOnes(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewOnesOut(out *Tensor, size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewZeros(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNewZerosOut(out *Tensor, size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNextafter(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNextafterOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNextafter_(other *Tensor)
- func (ts *Tensor) MustNllLoss(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNllLoss2d(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNllLoss2dBackward(gradOutput *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustNllLoss2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, weight *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustNllLoss2dOut(out *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustNllLossBackward(gradOutput *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustNllLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, weight *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustNllLossNd(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNllLossOut(out *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustNonzero(del bool) (retVal *Tensor)
- func (ts *Tensor) MustNonzeroNumpy(del bool) (retVal []*Tensor)
- func (ts *Tensor) MustNonzeroOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNonzeroStatic(size int64, fillValue int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNonzeroStaticOut(out *Tensor, size int64, fillValue int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNorm(del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormDtypeOut(out *Tensor, p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormOut(out *Tensor, p *Scalar, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormScalarOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormScalaroptDim(p *Scalar, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormScalaroptDimDtype(p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormScalaroptDtype(p *Scalar, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormScalaroptDtypeOut(out *Tensor, p *Scalar, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormalFunctional(mean float64, std float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNormal_(mean float64, std float64)
- func (ts *Tensor) MustNotEqual(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNotEqualScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNotEqualTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNotEqualTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNotEqualTensor_(other *Tensor)
- func (ts *Tensor) MustNotEqual_(other *Scalar)
- func (ts *Tensor) MustNuclearNorm(keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNuclearNormDim(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNuclearNormDimOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNuclearNormOut(out *Tensor, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustNumpyT(del bool) (retVal *Tensor)
- func (ts *Tensor) MustOneHot(numClasses int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustOnesLike(del bool) (retVal *Tensor)
- func (ts *Tensor) MustOnesLikeOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustOrgqr(input2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustOrgqrOut(out *Tensor, input2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustOrmqr(input2 *Tensor, input3 *Tensor, left bool, transpose bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustOrmqrOut(out *Tensor, input2 *Tensor, input3 *Tensor, left bool, transpose bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustOuter(vec2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustOuterOut(out *Tensor, vec2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustOutputNr(del bool) (retVal int64)
- func (ts *Tensor) MustPad(pad []int64, mode string, value []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPdist(p float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPermute(dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPermuteCopy(dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPermuteCopyOut(out *Tensor, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPinMemory(device gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPinverse(rcond float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPixelShuffle(upscaleFactor int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPixelShuffleOut(out *Tensor, upscaleFactor int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPixelUnshuffle(downscaleFactor int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPixelUnshuffleOut(out *Tensor, downscaleFactor int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPoisson(del bool) (retVal *Tensor)
- func (ts *Tensor) MustPoissonOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPolygamma(n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPolygammaOut(out *Tensor, n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPolygamma_(n int64)
- func (ts *Tensor) MustPositive(del bool) (retVal *Tensor)
- func (ts *Tensor) MustPow(exponent *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPowTensorScalar(exponent *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPowTensorScalarOut(out *Tensor, exponent *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPowTensorTensorOut(out *Tensor, exponent *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPowTensor_(exponent *Tensor)
- func (ts *Tensor) MustPow_(exponent *Scalar)
- func (ts *Tensor) MustPrelu(weight *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustProd(dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustProdDimInt(dim int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustProdIntOut(out *Tensor, dim int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustProdOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPut(index *Tensor, source *Tensor, accumulate bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPutOut(out *Tensor, index *Tensor, source *Tensor, accumulate bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustPut_(index *Tensor, source *Tensor, accumulate bool)
- func (ts *Tensor) MustQPerChannelAxis(del bool) (retVal int64)
- func (ts *Tensor) MustQPerChannelScales(del bool) (retVal *Tensor)
- func (ts *Tensor) MustQPerChannelScalesOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQPerChannelZeroPoints(del bool) (retVal *Tensor)
- func (ts *Tensor) MustQPerChannelZeroPointsOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQScale(del bool) (retVal float64)
- func (ts *Tensor) MustQZeroPoint(del bool) (retVal int64)
- func (ts *Tensor) MustQr(some bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustQrQ(q *Tensor, r *Tensor, some bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustQuantile(q *Tensor, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQuantileOut(out *Tensor, q *Tensor, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantileScalar(q float64, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQuantileScalarOut(out *Tensor, q float64, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantizePerChannel(scales *Tensor, zeroPoints *Tensor, axis int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQuantizePerChannelOut(out *Tensor, scales *Tensor, zeroPoints *Tensor, axis int64, dtype gotch.DType, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantizePerTensor(scale float64, zeroPoint int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQuantizePerTensorDynamic(dtype gotch.DType, reduceRange bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQuantizePerTensorDynamicOut(out *Tensor, dtype gotch.DType, reduceRange bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQuantizePerTensorTensorQparams(scale *Tensor, zeroPoint *Tensor, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustQuantizedMaxPool1d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantizedMaxPool1dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantizedMaxPool2d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantizedMaxPool2dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantizedMaxPool3d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustQuantizedMaxPool3dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustRad2deg(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRad2degOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRad2deg_()
- func (ts *Tensor) MustRandLike(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandLikeOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandintLike(high int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandintLikeLowDtype(low int64, high int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandintLikeLowDtypeOut(out *Tensor, low int64, high int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandintLikeOut(out *Tensor, high int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandnLike(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandnLikeOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandom(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandomFrom(from int64, to []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandomFromOut(out *Tensor, from int64, to []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandomFrom_(from int64, to []int64)
- func (ts *Tensor) MustRandomOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandomTo(to int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandomToOut(out *Tensor, to int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRandomTo_(to int64)
- func (ts *Tensor) MustRandom_()
- func (ts *Tensor) MustRavel(del bool) (retVal *Tensor)
- func (ts *Tensor) MustReal(del bool) (retVal *Tensor)
- func (ts *Tensor) MustReciprocal(del bool) (retVal *Tensor)
- func (ts *Tensor) MustReciprocalOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReciprocal_()
- func (ts *Tensor) MustReflectionPad1d(padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad1dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad1dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad2d(padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad2dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad2dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad3d(padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad3dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReflectionPad3dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRelu(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRelu6(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRelu6_()
- func (ts *Tensor) MustReluOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRelu_()
- func (ts *Tensor) MustRemainder(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRemainderScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRemainderTensor(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRemainderTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRemainderTensor_(other *Tensor)
- func (ts *Tensor) MustRemainder_(other *Scalar)
- func (ts *Tensor) MustRenorm(p *Scalar, dim int64, maxnorm *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRenormOut(out *Tensor, p *Scalar, dim int64, maxnorm *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRenorm_(p *Scalar, dim int64, maxnorm *Scalar)
- func (ts *Tensor) MustRepeat(repeats []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRepeatInterleaveSelfInt(repeats int64, dim []int64, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRepeatInterleaveSelfTensor(repeats *Tensor, dim []int64, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRepeatOut(out *Tensor, repeats []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad1d(padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad1dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad1dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad2d(padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad2dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad2dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad3d(padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad3dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReplicationPad3dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRequiresGrad() bool
- func (ts *Tensor) MustRequiresGrad_(requiresGrad bool)
- func (ts *Tensor) MustReshape(shape []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustReshapeAs(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustResize(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustResizeAs(theTemplate *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustResizeAsOut(out *Tensor, theTemplate *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustResizeAsSparse(theTemplate *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustResizeAsSparseOut(out *Tensor, theTemplate *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustResizeAsSparse_(theTemplate *Tensor)
- func (ts *Tensor) MustResizeAs_(theTemplate *Tensor)
- func (ts *Tensor) MustResizeOut(out *Tensor, size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustResize_(size []int64)
- func (ts *Tensor) MustResolveConj(del bool) (retVal *Tensor)
- func (ts *Tensor) MustResolveNeg(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRetainsGrad(del bool) (retVal bool)
- func (ts *Tensor) MustRoll(shifts []int64, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRollOut(out *Tensor, shifts []int64, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRot90(k int64, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRot90Out(out *Tensor, k int64, dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRound(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRoundDecimals(decimals int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRoundDecimalsOut(out *Tensor, decimals int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRoundDecimals_(decimals int64)
- func (ts *Tensor) MustRoundOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRound_()
- func (ts *Tensor) MustRowIndices(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRowIndicesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRowIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRrelu(training bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRreluWithNoise(noise *Tensor, training bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRreluWithNoiseBackward(gradOutput *Tensor, noise *Tensor, lower *Scalar, upper *Scalar, training bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustRreluWithNoiseBackwardOut(out *Tensor, gradOutput *Tensor, noise *Tensor, lower *Scalar, upper *Scalar, ...) (retVal *Tensor)
- func (ts *Tensor) MustRreluWithNoiseOut(out *Tensor, noise *Tensor, training bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRreluWithNoise_(noise *Tensor, training bool)
- func (ts *Tensor) MustRrelu_(training bool)
- func (ts *Tensor) MustRsqrt(del bool) (retVal *Tensor)
- func (ts *Tensor) MustRsqrtOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRsqrt_()
- func (ts *Tensor) MustRsub(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRsubScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRsubScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustRsubTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSave(path string)
- func (ts *Tensor) MustScatter(dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterAdd(dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterAddOut(out *Tensor, dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterAdd_(dim int64, index *Tensor, src *Tensor)
- func (ts *Tensor) MustScatterReduce(dim int64, index *Tensor, src *Tensor, reduce string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterReduceOut(out *Tensor, dim int64, index *Tensor, src *Tensor, reduce string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterReduce_(dim int64, index *Tensor, src *Tensor, reduce string)
- func (ts *Tensor) MustScatterSrcOut(out *Tensor, dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterValue(dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterValueOut(out *Tensor, dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterValueReduce(dim int64, index *Tensor, value *Scalar, reduce string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterValueReduceOut(out *Tensor, dim int64, index *Tensor, value *Scalar, reduce string, del bool) (retVal *Tensor)
- func (ts *Tensor) MustScatterValueReduce_(dim int64, index *Tensor, value *Scalar, reduce string)
- func (ts *Tensor) MustScatterValue_(dim int64, index *Tensor, value *Scalar)
- func (ts *Tensor) MustScatter_(dim int64, index *Tensor, src *Tensor)
- func (ts *Tensor) MustSearchsorted(sortedSequence *Tensor, outInt32 bool, right bool, side string, sorter *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustSearchsortedTensorOut(out *Tensor, sortedSequence *Tensor, outInt32 bool, right bool, side string, ...) (retVal *Tensor)
- func (ts *Tensor) MustSelect(dim int64, index int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSelectCopy(dim int64, index int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSelectCopyIntOut(out *Tensor, dim int64, index int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSelectScatter(src *Tensor, dim int64, index int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSelectScatterOut(out *Tensor, src *Tensor, dim int64, index int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSelu(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSelu_()
- func (ts *Tensor) MustSet(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSetOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSetRequiresGrad(r bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSetSourceTensor(source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSetSourceTensorOut(out *Tensor, source *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSetSourceTensorStorageOffset_(source *Tensor, storageOffset int64, size []int64, stride []int64)
- func (ts *Tensor) MustSetSourceTensor_(source *Tensor)
- func (ts *Tensor) MustSet_()
- func (ts *Tensor) MustSgn(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSgnOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSgn_()
- func (ts *Tensor) MustShallowClone() *Tensor
- func (ts *Tensor) MustSigmoid(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSigmoidOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSigmoid_()
- func (ts *Tensor) MustSign(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSignOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSign_()
- func (ts *Tensor) MustSignbit(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSignbitOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSilu(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSiluBackward(gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSiluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSiluOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSilu_()
- func (ts *Tensor) MustSin(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSinOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSin_()
- func (ts *Tensor) MustSinc(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSincOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSinc_()
- func (ts *Tensor) MustSinh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSinhOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSinh_()
- func (ts *Tensor) MustSize() []int64
- func (ts *Tensor) MustSlice(dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSliceCopy(dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSliceCopyTensorOut(out *Tensor, dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSliceScatter(src *Tensor, dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSliceScatterOut(out *Tensor, src *Tensor, dim int64, start []int64, end []int64, step int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlogdet(del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustSlogdetOut(sign *Tensor, logabsdet *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustSlowConv3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConv3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvDilated2d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvDilated2dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvDilated3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvDilated3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvTranspose2d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvTranspose2dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvTranspose3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSlowConvTranspose3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSmm(mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSmoothL1Loss(target *Tensor, reduction int64, beta float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSmoothL1LossBackward(gradOutput *Tensor, target *Tensor, reduction int64, beta float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSmoothL1LossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSmoothL1LossOut(out *Tensor, target *Tensor, reduction int64, beta float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftMarginLoss(target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftMarginLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftMarginLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor)
- func (ts *Tensor) MustSoftMarginLossOut(out *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftmaxIntOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftplus(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftplusBackward(gradOutput *Tensor, beta *Scalar, threshold *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftplusBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, beta *Scalar, threshold *Scalar, ...) (retVal *Tensor)
- func (ts *Tensor) MustSoftplusOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftshrink(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftshrinkBackward(gradOutput *Tensor, lambd *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftshrinkBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, lambd *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSoftshrinkOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSort(dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustSortStable(stable bool, dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustSortValues(values *Tensor, indices *Tensor, dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustSortValuesStable(values *Tensor, indices *Tensor, stable bool, dim int64, descending bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustSparseDim(del bool) (retVal int64)
- func (ts *Tensor) MustSparseMask(mask *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSparseMaskOut(out *Tensor, mask *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSparseResize(size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSparseResizeAndClear(size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSparseResizeAndClearOut(out *Tensor, size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSparseResizeAndClear_(size []int64, sparseDim int64, denseDim int64)
- func (ts *Tensor) MustSparseResizeOut(out *Tensor, size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSparseResize_(size []int64, sparseDim int64, denseDim int64)
- func (ts *Tensor) MustSparseSampledAddmm(mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSparseSampledAddmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselJ0(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselJ0Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselJ1(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselJ1Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselY0(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselY0Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselY1(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialBesselY1Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialDigamma(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialDigammaOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialEntr(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialEntrOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErf(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErfOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErfc(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErfcOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErfcx(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErfcxOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErfinv(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialErfinvOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialExp2(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialExp2Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialExpit(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialExpitOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialExpm1(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialExpm1Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialGammainc(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialGammaincOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialGammaincc(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialGammainccOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialGammaln(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialGammalnOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI0(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI0Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI0e(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI0eOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI1(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI1Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI1e(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialI1eOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLog1p(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLog1pOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLogNdtr(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLogNdtrOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLogSoftmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLogit(eps []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLogitOut(out *Tensor, eps []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLogsumexp(dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialLogsumexpOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselI0(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselI0Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselI1(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselI1Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselK0(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselK0Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselK1(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialModifiedBesselK1Out(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialMultigammaln(p int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialMultigammalnOut(out *Tensor, p int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialNdtr(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialNdtrOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialNdtri(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialNdtriOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialPolygamma(n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialPolygammaOut(out *Tensor, n int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialPsi(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialPsiOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialRound(decimals int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialRoundOut(out *Tensor, decimals int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialSinc(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialSincOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialSoftmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlog1py(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlog1pyOtherScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlog1pyOtherScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlog1pyOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlogy(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlogyOtherScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlogyOtherScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialXlogyOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialZeta(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialZetaOtherScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialZetaOtherScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSpecialZetaOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSplit(splitSize, dim int64, del bool) (retVal []*Tensor)
- func (ts *Tensor) MustSplitWithSizes(splitSizes []int64, dim int64, del bool) (retVal []*Tensor)
- func (ts *Tensor) MustSqrt(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqrtOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqrt_()
- func (ts *Tensor) MustSquare(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSquareOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSquare_()
- func (ts *Tensor) MustSqueeze(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeCopyDim(dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeCopyDimOut(out *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeCopyDims(dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeCopyDimsOut(out *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeDim(dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeDim_(dim int64)
- func (ts *Tensor) MustSqueezeDims(dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSqueezeDims_(dim []int64)
- func (ts *Tensor) MustSqueeze_()
- func (ts *Tensor) MustSspaddmm(mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSspaddmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustStd(unbiased bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustStdCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustStdCorrectionOut(out *Tensor, dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustStdDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustStdMean(unbiased bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustStdMeanCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustStdMeanCorrectionOut(out0 *Tensor, out1 *Tensor, dim []int64, correction *Scalar, keepdim bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustStdMeanDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustStdOut(out *Tensor, dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustStft(nFft int64, hopLength []int64, winLength []int64, window *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) MustStftCenter(nFft int64, hopLength []int64, winLength []int64, window *Tensor, center bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustStride() []int64
- func (ts *Tensor) MustSub(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSubOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSubScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSubScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSubScalar_(other *Scalar)
- func (ts *Tensor) MustSub_(other *Tensor)
- func (ts *Tensor) MustSubtract(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSubtractOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSubtractScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSubtractScalar_(other *Scalar)
- func (ts *Tensor) MustSubtract_(other *Tensor)
- func (ts *Tensor) MustSum(dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSumDimIntlist(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSumIntlistOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSumOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSumToSize(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSvd(some bool, computeUv bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustSvdU(u *Tensor, s *Tensor, v *Tensor, some bool, computeUv bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustSwapaxes(axis0 int64, axis1 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSwapaxes_(axis0 int64, axis1 int64)
- func (ts *Tensor) MustSwapdims(dim0 int64, dim1 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustSwapdims_(dim0 int64, dim1 int64)
- func (ts *Tensor) MustT(del bool) (retVal *Tensor)
- func (ts *Tensor) MustTCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustTCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustT_()
- func (ts *Tensor) MustTake(index *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTakeAlongDim(indices *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTakeAlongDimOut(out *Tensor, indices *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTakeOut(out *Tensor, index *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTan(del bool) (retVal *Tensor)
- func (ts *Tensor) MustTanOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTan_()
- func (ts *Tensor) MustTanh(del bool) (retVal *Tensor)
- func (ts *Tensor) MustTanhOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTanh_()
- func (ts *Tensor) MustTensordot(other *Tensor, dimsSelf []int64, dimsOther []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTensordotOut(out *Tensor, other *Tensor, dimsSelf []int64, dimsOther []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustThreshold(threshold *Scalar, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustThresholdBackward(gradOutput *Tensor, threshold *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustThresholdBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, threshold *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustThresholdOut(out *Tensor, threshold *Scalar, value *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustThreshold_(threshold *Scalar, value *Scalar)
- func (ts *Tensor) MustTile(dims []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTo(device gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToDense(dtype gotch.DType, maskedGrad bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToDevice(device gotch.Device, dtype gotch.DType, nonBlocking bool, copy bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToDtype(dtype gotch.DType, nonBlocking bool, copy bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToDtypeLayout(optionsKind gotch.DType, optionsDevice gotch.Device, nonBlocking bool, ...) (retVal *Tensor)
- func (ts *Tensor) MustToMkldnn(dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToMkldnnOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToOther(other *Tensor, nonBlocking bool, copy bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToPaddedTensor(padding float64, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToPaddedTensorOut(out *Tensor, padding float64, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToSparse(layout Layout, blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToSparseBsc(blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToSparseBsr(blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToSparseCsc(denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToSparseCsr(denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToSparseSparseDim(sparseDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustToString(lw int64) string
- func (ts *Tensor) MustTopK(k int64, dim int64, largest bool, sorted bool) (ts1, ts2 *Tensor)
- func (ts *Tensor) MustTopk(k int64, dim int64, largest bool, sorted bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustTopkValues(values *Tensor, indices *Tensor, k int64, dim int64, largest bool, sorted bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustTotype(scalarType gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTrace(del bool) (retVal *Tensor)
- func (ts *Tensor) MustTraceOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTranspose(dim0 int64, dim1 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTransposeCopy(dim0 int64, dim1 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTransposeCopyIntOut(out *Tensor, dim0 int64, dim1 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTranspose_(dim0 int64, dim1 int64)
- func (ts *Tensor) MustTriangularSolve(a *Tensor, upper bool, transpose bool, unitriangular bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustTriangularSolveX(x *Tensor, m *Tensor, a *Tensor, upper bool, transpose bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustTril(diagonal int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTrilOut(out *Tensor, diagonal int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTril_(diagonal int64)
- func (ts *Tensor) MustTriu(diagonal int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTriuOut(out *Tensor, diagonal int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTriu_(diagonal int64)
- func (ts *Tensor) MustTrueDivide(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTrueDivideOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTrueDivideScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTrueDivideScalar_(other *Scalar)
- func (ts *Tensor) MustTrueDivide_(other *Tensor)
- func (ts *Tensor) MustTrunc(del bool) (retVal *Tensor)
- func (ts *Tensor) MustTruncOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustTrunc_()
- func (ts *Tensor) MustTypeAs(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUnbind(dim int64, del bool) (retVal []*Tensor)
- func (ts *Tensor) MustUnflatten(dim int64, sizes []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUnfold(dimension int64, size int64, step int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUnfoldCopy(dimension int64, size int64, step int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUnfoldCopyOut(out *Tensor, dimension int64, size int64, step int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUniform(from float64, to float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUniformOut(out *Tensor, from float64, to float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUniform_(from float64, to float64)
- func (ts *Tensor) MustUniqueConsecutive(returnInverse bool, returnCounts bool, dim []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustUniqueConsecutiveOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, returnInverse bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustUniqueDim(dim int64, sorted bool, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustUniqueDimConsecutive(dim int64, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustUniqueDimConsecutiveOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, dim int64, returnInverse bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustUniqueDimOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, dim int64, sorted bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) MustUnsqueeze(dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUnsqueezeCopy(dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUnsqueezeCopyOut(out *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUnsqueeze_(dim int64)
- func (ts *Tensor) MustUpsampleBicubic2d(outputSize []int64, alignCorners bool, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleBicubic2dOut(out *Tensor, outputSize []int64, alignCorners bool, scalesH []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleBilinear2d(outputSize []int64, alignCorners bool, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleBilinear2dOut(out *Tensor, outputSize []int64, alignCorners bool, scalesH []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleLinear1d(outputSize []int64, alignCorners bool, scales []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleLinear1dOut(out *Tensor, outputSize []int64, alignCorners bool, scales []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleNearest1d(outputSize []int64, scales []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleNearest1dOut(out *Tensor, outputSize []int64, scales []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleNearest2d(outputSize []int64, scalesH []float64, scalesW []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleNearest2dOut(out *Tensor, outputSize []int64, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleNearest3d(outputSize []int64, scalesD []float64, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleNearest3dOut(out *Tensor, outputSize []int64, scalesD []float64, scalesH []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleTrilinear3d(outputSize []int64, alignCorners bool, scalesD []float64, scalesH []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustUpsampleTrilinear3dOut(out *Tensor, outputSize []int64, alignCorners bool, scalesD []float64, ...) (retVal *Tensor)
- func (ts *Tensor) MustValues(del bool) (retVal *Tensor)
- func (ts *Tensor) MustValuesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustValuesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustVar(unbiased bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustVarCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustVarCorrectionOut(out *Tensor, dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustVarDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustVarMean(unbiased bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustVarMeanCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustVarMeanCorrectionOut(out0 *Tensor, out1 *Tensor, dim []int64, correction *Scalar, keepdim bool, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustVarMeanDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) MustVarOut(out *Tensor, dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) MustVdot(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustVdotOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustView(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewAs(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewAsComplex(del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewAsComplexCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewAsComplexCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewAsReal(del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewAsRealCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewAsRealCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewCopy(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewCopyDtype(dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewCopyDtypeOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewCopyOut(out *Tensor, size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) MustViewDtype(dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) MustWhereScalarother(condition *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustWhereSelf(condition *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustWhereSelfOut(out *Tensor, condition *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustXlogy(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustXlogyOutscalarOther(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustXlogyOuttensor(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustXlogyScalarOther(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) MustXlogyScalarOther_(other *Scalar)
- func (ts *Tensor) MustXlogy_(other *Tensor)
- func (ts *Tensor) MustZero(del bool) (retVal *Tensor)
- func (ts *Tensor) MustZeroOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) MustZeroPad2d(left, right, top, bottom int64, del bool) *Tensor
- func (ts *Tensor) MustZero_()
- func (ts *Tensor) MustZerosLike(del bool) (retVal *Tensor)
- func (ts *Tensor) MustZerosLikeOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool2d(outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool2dBackward(gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool2dBackwardOut(out *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool2dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool3d(outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool3dBackward(gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool3dBackwardOut(out *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AdaptiveAvgPool3dOut(out *Tensor, outputSize []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AddBatchDim(batchDim int64, level int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AddRelu(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AddReluOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AddReluScalar(other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AddReluScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AddReluScalar_(other *Scalar)
- func (ts *Tensor) Must_AddRelu_(other *Tensor)
- func (ts *Tensor) Must_AddmmActivation(mat1 *Tensor, mat2 *Tensor, useGelu bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AddmmActivationOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, useGelu bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Aminmax(del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_AminmaxDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_AminmaxDimOut(out0 *Tensor, out1 *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_AminmaxOut(out0 *Tensor, out1 *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_AmpUpdateScale(growthTracker *Tensor, foundInf *Tensor, scaleGrowthFactor float64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_AmpUpdateScaleOut(out *Tensor, growthTracker *Tensor, foundInf *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) Must_AmpUpdateScale_(growthTracker *Tensor, foundInf *Tensor, scaleGrowthFactor float64, ...)
- func (ts *Tensor) Must_AutocastToFullPrecision(cudaEnabled bool, cpuEnabled bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_AutocastToReducedPrecision(cudaEnabled bool, cpuEnabled bool, cudaDtype gotch.DType, cpuDtype gotch.DType, ...) (retVal *Tensor)
- func (ts *Tensor) Must_CastByte(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CastChar(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CastDouble(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CastFloat(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CastHalf(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CastInt(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CastLong(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CastShort(nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CholeskySolveHelper(a *Tensor, upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CholeskySolveHelperOut(out *Tensor, a *Tensor, upper bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Coalesce(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CoalesceOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Coalesced(coalesced bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CoalescedOut(out *Tensor, coalesced bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Coalesced_(coalesced bool)
- func (ts *Tensor) Must_Conj(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ConjCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ConjCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ConjPhysical(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ConjPhysicalOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ConvDepthwise2d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_ConvDepthwise2dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_ConvertIndicesFromCooToCsr(size int64, outInt32 bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ConvertIndicesFromCooToCsrOut(out *Tensor, size int64, outInt32 bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CopyFrom(dst *Tensor, nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CopyFromAndResize(dst *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CopyFromAndResizeOut(out *Tensor, dst *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_CopyFromOut(out *Tensor, dst *Tensor, nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_DebugHasInternalOverlap(del bool) (retVal int64)
- func (ts *Tensor) Must_Dimi(del bool) (retVal int64)
- func (ts *Tensor) Must_Dimv(del bool) (retVal int64)
- func (ts *Tensor) Must_FakeQuantizeLearnablePerChannelAffine(scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, quantMax int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_FakeQuantizeLearnablePerChannelAffineBackward(grad *Tensor, scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) Must_FakeQuantizeLearnablePerChannelAffineOut(out *Tensor, scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_FakeQuantizeLearnablePerTensorAffine(scale *Tensor, zeroPoint *Tensor, quantMin int64, quantMax int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_FakeQuantizeLearnablePerTensorAffineBackward(grad *Tensor, scale *Tensor, zeroPoint *Tensor, quantMin int64, quantMax int64, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) Must_FakeQuantizeLearnablePerTensorAffineOut(out *Tensor, scale *Tensor, zeroPoint *Tensor, quantMin int64, quantMax int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_FakeQuantizePerTensorAffineCachemaskTensorQparams(scale *Tensor, zeroPoint *Tensor, fakeQuantEnabled *Tensor, quantMin int64, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_FakeQuantizePerTensorAffineCachemaskTensorQparamsOut(out0 *Tensor, out1 *Tensor, scale *Tensor, zeroPoint *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_FftC2c(dim []int64, normalization int64, forward bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FftC2cOut(out *Tensor, dim []int64, normalization int64, forward bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FftC2r(dim []int64, normalization int64, lastDimSize int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FftC2rOut(out *Tensor, dim []int64, normalization int64, lastDimSize int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FftR2c(dim []int64, normalization int64, onesided bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FftR2cOut(out *Tensor, dim []int64, normalization int64, onesided bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FillMemEffDropoutMask_(dropoutP float64, seed int64, offset int64)
- func (ts *Tensor) Must_Foobar(arg1 bool, arg2 bool, arg3 bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FoobarOut(out *Tensor, arg1 bool, arg2 bool, arg3 bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FunctionalAssertAsync(assertMsg string, depToken *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FusedDropout(p float64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_FusedDropoutOut(out0 *Tensor, out1 *Tensor, p float64, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_FusedMovingAvgObsFqHelper(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_FusedMovingAvgObsFqHelperFunctional(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, ...)
- func (ts *Tensor) Must_FusedMovingAvgObsFqHelperOut(out0 *Tensor, out1 *Tensor, observerOn *Tensor, fakeQuantOn *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_FwPrimal(level int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FwPrimalCopy(level int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_FwPrimalCopyOut(out *Tensor, level int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_GatherSparseBackward(dim int64, index *Tensor, grad *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_HasCompatibleShallowCopyType(from *Tensor, del bool) (retVal bool)
- func (ts *Tensor) Must_HasSameStorageNumel(other *Tensor, del bool) (retVal bool)
- func (ts *Tensor) Must_HistogramddFromBinCts(out *Tensor, bins []int64, rangeVals []float64, weight *Tensor, density bool, ...) (retVal *Tensor)
- func (ts *Tensor) Must_HistogramddFromBinTensors(bins []*Tensor, weight *Tensor, density bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_HistogramddFromBinTensorsOut(out *Tensor, bins []*Tensor, weight *Tensor, density bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IndexPutImpl(indices []*Tensor, values *Tensor, accumulate bool, unsafety bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IndexPutImplOut(out *Tensor, indices []*Tensor, values *Tensor, accumulate bool, unsafety bool, ...) (retVal *Tensor)
- func (ts *Tensor) Must_Indices(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IndicesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IndicesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IntMm(mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IntMmOut(out *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IsAllTrue(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IsAnyTrue(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_IsZerotensor(del bool) (retVal bool)
- func (ts *Tensor) Must_LogSoftmax(dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_LogSoftmaxOut(out *Tensor, dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Logcumsumexp(dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_LogcumsumexpOut(out *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_LuWithInfo(pivot bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) Must_MakePerChannelQuantizedTensor(scale *Tensor, zeroPoint *Tensor, axis int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MakePerChannelQuantizedTensorOut(out *Tensor, scale *Tensor, zeroPoint *Tensor, axis int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MakePerTensorQuantizedTensor(scale float64, zeroPoint int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MakePerTensorQuantizedTensorOut(out *Tensor, scale float64, zeroPoint int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MaskedScale(mask *Tensor, scale float64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MaskedScaleOut(out *Tensor, mask *Tensor, scale float64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MaskedSoftmax(mask *Tensor, dim []int64, maskType []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MaskedSoftmaxOut(out *Tensor, mask *Tensor, dim []int64, maskType []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MkldnnReshape(shape []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MkldnnReshapeOut(out *Tensor, shape []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MkldnnTranspose(dim0 int64, dim1 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MkldnnTransposeOut(out *Tensor, dim0 int64, dim1 int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_MkldnnTranspose_(dim0 int64, dim1 int64)
- func (ts *Tensor) Must_MpsConvolution(weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_MpsConvolutionOut(out *Tensor, weight *Tensor, bias *Tensor, padding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_MpsConvolutionTranspose(weight *Tensor, padding []int64, outputPadding []int64, stride []int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_MpsConvolutionTransposeOut(out *Tensor, weight *Tensor, padding []int64, outputPadding []int64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_NegView(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NegViewCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NegViewCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NestedSelectBackward(gradOutput *Tensor, dim int64, index int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NestedSumBackward(grad *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NestedViewFromBuffer(nestedSize *Tensor, nestedStrides *Tensor, offsets *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NestedViewFromBufferCopy(nestedSize *Tensor, nestedStrides *Tensor, offsets *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NestedViewFromBufferCopyOut(out *Tensor, nestedSize *Tensor, nestedStrides *Tensor, offsets *Tensor, ...) (retVal *Tensor)
- func (ts *Tensor) Must_NewZerosWithSameFeatureMeta(other *Tensor, selfNumBatchDims int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_NewZerosWithSameFeatureMetaOut(out *Tensor, other *Tensor, selfNumBatchDims int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Nnz(del bool) (retVal int64)
- func (ts *Tensor) Must_PadCircular(pad []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_PadEnum(pad []int64, mode int64, value []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_PdistBackward(grad *Tensor, p float64, pdist *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_PdistBackwardOut(out *Tensor, grad *Tensor, p float64, pdist *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_PinMemory(device gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_PinMemoryOut(out *Tensor, device gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_PreluKernel(weight *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_PreluKernelBackward(gradOutput *Tensor, weight *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_RemoveBatchDim(level int64, batchSize int64, outDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ReshapeAlias(size []int64, stride []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ReshapeAliasCopy(size []int64, stride []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ReshapeAliasCopyOut(out *Tensor, size []int64, stride []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ReshapeCopy(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ReshapeFromTensor(shape *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ResizeOutput(size []int64, device gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ResizeOutputOut(out *Tensor, size []int64, device gotch.Device, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ResizeOutput_(size []int64, device gotch.Device)
- func (ts *Tensor) Must_SampleDirichlet(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SampleDirichletOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ScaledMm(mat2 *Tensor, bias *Tensor, outDtype gotch.DType, scaleA *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_ScaledMmOut(out *Tensor, outAmax *Tensor, mat2 *Tensor, bias *Tensor, outDtype gotch.DType, ...) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_ScatterReduce(dim int64, index *Tensor, src *Tensor, reduce string, includeSelf bool, ...) (retVal *Tensor)
- func (ts *Tensor) Must_ScatterReduceTwoOut(out *Tensor, dim int64, index *Tensor, src *Tensor, reduce string, ...) (retVal *Tensor)
- func (ts *Tensor) Must_ScatterReduce_(dim int64, index *Tensor, src *Tensor, reduce string, includeSelf bool)
- func (ts *Tensor) Must_ShapeAsTensor(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SlowConv2dBackward(gradInput *Tensor, gradWeight *Tensor, gradBias *Tensor, gradOutput *Tensor, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) Must_SobolEngineFf_(n int64, sobolstate *Tensor, dimension int64, numGenerated int64)
- func (ts *Tensor) Must_SobolEngineInitializeState_(dimension int64)
- func (ts *Tensor) Must_SobolEngineScramble_(ltm *Tensor, dimension int64)
- func (ts *Tensor) Must_Softmax(dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SoftmaxOut(out *Tensor, dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseAddmm(mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseAddmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseBroadcastTo(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseBroadcastToCopy(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseBroadcastToCopyOut(out *Tensor, size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseCsrProd(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseCsrProdDimDtypeOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseCsrSum(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseCsrSumDimDtypeOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseLogSoftmax(dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseLogSoftmaxBackwardData(gradOutput *Tensor, output *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseLogSoftmaxBackwardDataOut(out *Tensor, gradOutput *Tensor, output *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseLogSoftmaxInt(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseLogSoftmaxOut(out *Tensor, dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseMaskProjection(mask *Tensor, accumulateMatches bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseMaskProjectionOut(out *Tensor, mask *Tensor, accumulateMatches bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseMmReduceImpl(other *Tensor, reduce string, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_SparseSoftmax(dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSoftmaxBackwardData(gradOutput *Tensor, output *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSoftmaxBackwardDataOut(out *Tensor, gradOutput *Tensor, output *Tensor, dim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSoftmaxInt(dim int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSoftmaxOut(out *Tensor, dim int64, halfToFloat bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSparseMatmul(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSparseMatmulOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSum(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSumBackward(grad *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSumBackwardOut(out *Tensor, grad *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSumDim(dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSumDimDtype(dim []int64, dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSumDimOut(out *Tensor, dim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_SparseSumDtype(dtype gotch.DType, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_StandardGamma(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_StandardGammaGrad(output *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_StandardGammaGradOut(out *Tensor, output *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_StandardGammaOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestAutogradMultipleDispatch(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestAutogradMultipleDispatchFullcoverageOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestAutogradMultipleDispatchNtonly(b bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestAutogradMultipleDispatchView(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestAutogradMultipleDispatchViewCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestAutogradMultipleDispatchViewCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestCheckTensor(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestFunctorchFallback(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestFunctorchFallbackOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestSerializationSubcmul(other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestWarnInAutograd(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_TestWarnInAutogradOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToCopy(optionsKind gotch.DType, optionsDevice gotch.Device, nonBlocking bool, ...) (retVal *Tensor)
- func (ts *Tensor) Must_ToCopyOut(out *Tensor, nonBlocking bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToDense(dtype gotch.DType, maskedGrad bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToDenseOut(out *Tensor, dtype gotch.DType, maskedGrad bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparse(layout Layout, blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseBsc(blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseBscOut(out *Tensor, blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseBsr(blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseBsrOut(out *Tensor, blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseCsc(denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseCscOut(out *Tensor, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseCsr(denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseCsrOut(out *Tensor, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseOut(out *Tensor, layout Layout, blocksize []int64, denseDim []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseSparseDim(sparseDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ToSparseSparseDimOut(out *Tensor, sparseDim int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Unique(sorted bool, returnInverse bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_Unique2(sorted bool, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) Must_Unique2Out(out0 *Tensor, out1 *Tensor, out2 *Tensor, sorted bool, returnInverse bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
- func (ts *Tensor) Must_UniqueOut(out0 *Tensor, out1 *Tensor, sorted bool, returnInverse bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
- func (ts *Tensor) Must_UnsafeIndex(indices []*Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_UnsafeIndexPut(indices []*Tensor, values *Tensor, accumulate bool, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_UnsafeView(size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_UnsafeViewOut(out *Tensor, size []int64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleBicubic2dAa(outputSize []int64, alignCorners bool, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleBicubic2dAaOut(out *Tensor, outputSize []int64, alignCorners bool, scalesH []float64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleBilinear2dAa(outputSize []int64, alignCorners bool, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleBilinear2dAaOut(out *Tensor, outputSize []int64, alignCorners bool, scalesH []float64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleNearestExact1d(outputSize []int64, scales []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleNearestExact1dOut(out *Tensor, outputSize []int64, scales []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleNearestExact2d(outputSize []int64, scalesH []float64, scalesW []float64, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleNearestExact2dOut(out *Tensor, outputSize []int64, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleNearestExact3d(outputSize []int64, scalesD []float64, scalesH []float64, scalesW []float64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_UpsampleNearestExact3dOut(out *Tensor, outputSize []int64, scalesD []float64, scalesH []float64, ...) (retVal *Tensor)
- func (ts *Tensor) Must_Values(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ValuesCopy(del bool) (retVal *Tensor)
- func (ts *Tensor) Must_ValuesCopyOut(out *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must_Version(del bool) (retVal int64)
- func (ts *Tensor) Must__AndTensor_(other *Tensor)
- func (ts *Tensor) Must__And_(other *Scalar)
- func (ts *Tensor) Must__IandTensor_(other *Tensor)
- func (ts *Tensor) Must__Iand_(other *Scalar)
- func (ts *Tensor) Must__IlshiftTensor_(other *Tensor)
- func (ts *Tensor) Must__Ilshift_(other *Scalar)
- func (ts *Tensor) Must__IorTensor_(other *Tensor)
- func (ts *Tensor) Must__Ior_(other *Scalar)
- func (ts *Tensor) Must__IrshiftTensor_(other *Tensor)
- func (ts *Tensor) Must__Irshift_(other *Scalar)
- func (ts *Tensor) Must__IxorTensor_(other *Tensor)
- func (ts *Tensor) Must__Ixor_(other *Scalar)
- func (ts *Tensor) Must__LshiftScalarOut_(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) Must__LshiftTensorOut_(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must__LshiftTensor_(other *Tensor)
- func (ts *Tensor) Must__Lshift_(other *Scalar)
- func (ts *Tensor) Must__OrTensor_(other *Tensor)
- func (ts *Tensor) Must__Or_(other *Scalar)
- func (ts *Tensor) Must__RshiftScalarOut_(out *Tensor, other *Scalar, del bool) (retVal *Tensor)
- func (ts *Tensor) Must__RshiftTensorOut_(out *Tensor, other *Tensor, del bool) (retVal *Tensor)
- func (ts *Tensor) Must__RshiftTensor_(other *Tensor)
- func (ts *Tensor) Must__Rshift_(other *Scalar)
- func (ts *Tensor) Must__XorTensor_(other *Tensor)
- func (ts *Tensor) Must__Xor_(other *Scalar)
- func (ts *Tensor) Mv(vec *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MvOut(out *Tensor, vec *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mvlgamma(p int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) MvlgammaOut(out *Tensor, p int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Mvlgamma_(p int64) (err error)
- func (ts *Tensor) NLLLoss(target *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Name() string
- func (ts *Tensor) NanToNum(nan []float64, posinf []float64, neginf []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NanToNumOut(out *Tensor, nan []float64, posinf []float64, neginf []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NanToNum_(nan []float64, posinf []float64, neginf []float64) (err error)
- func (ts *Tensor) Nanmean(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NanmeanOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Nanmedian(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NanmedianDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) NanmedianDimValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) NanmedianOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Nanquantile(q *Tensor, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NanquantileOut(out *Tensor, q *Tensor, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NanquantileScalar(q float64, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NanquantileScalarOut(out *Tensor, q float64, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Nansum(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NansumOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Narrow(dim int64, start int64, length int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NarrowCopy(dim int64, start int64, length int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NarrowCopyOut(out *Tensor, dim int64, start int64, length int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NarrowTensor(dim int64, start *Tensor, length int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NativeChannelShuffle(groups int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NativeNorm(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NativeNormOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NativeNormScalaroptDimDtype(p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NativeNormScalaroptDimDtypeOut(out *Tensor, p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Ne(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NeScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NeTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NeTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NeTensor_(other *Tensor) (err error)
- func (ts *Tensor) Ne_(other *Scalar) (err error)
- func (ts *Tensor) Neg(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NegOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Neg_() (err error)
- func (ts *Tensor) Negative(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NegativeOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Negative_() (err error)
- func (ts *Tensor) NestedToPaddedTensor(padding float64, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewEmpty(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewEmptyOut(out *Tensor, size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewEmptyStrided(size []int64, stride []int64, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NewEmptyStridedOut(out *Tensor, size []int64, stride []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewFull(size []int64, fillValue *Scalar, optionsKind gotch.DType, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NewFullOut(out *Tensor, size []int64, fillValue *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewOnes(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewOnesOut(out *Tensor, size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewZeros(size []int64, optionsKind gotch.DType, optionsDevice gotch.Device, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NewZerosOut(out *Tensor, size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Nextafter(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NextafterOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Nextafter_(other *Tensor) (err error)
- func (ts *Tensor) NllLoss(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NllLoss2d(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NllLoss2dBackward(gradOutput *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NllLoss2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, weight *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NllLoss2dOut(out *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NllLossBackward(gradOutput *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NllLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, weight *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) NllLossNd(target *Tensor, weight *Tensor, reduction int64, ignoreIndex int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NllLossOut(out *Tensor, target *Tensor, weight *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Nonzero(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NonzeroNumpy() (retVal []*Tensor, err error)
- func (ts *Tensor) NonzeroOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NonzeroStatic(size int64, fillValue int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NonzeroStaticOut(out *Tensor, size int64, fillValue int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Norm(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormDtypeOut(out *Tensor, p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormOut(out *Tensor, p *Scalar, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormScalarOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormScalaroptDim(p *Scalar, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormScalaroptDimDtype(p *Scalar, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormScalaroptDtype(p *Scalar, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormScalaroptDtypeOut(out *Tensor, p *Scalar, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NormalFunctional(mean float64, std float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Normal_(mean float64, std float64) (err error)
- func (ts *Tensor) NotEqual(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NotEqualScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NotEqualTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NotEqualTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NotEqualTensor_(other *Tensor) (err error)
- func (ts *Tensor) NotEqual_(other *Scalar) (err error)
- func (ts *Tensor) NuclearNorm(keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NuclearNormDim(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NuclearNormDimOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) NuclearNormOut(out *Tensor, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Numel() uint
- func (ts *Tensor) NumpyT(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) OneHot(numClasses int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Onehot(labels int64) *Tensor
- func (ts *Tensor) OnesLike(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) OnesLikeOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Orgqr(input2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) OrgqrOut(out *Tensor, input2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Ormqr(input2 *Tensor, input3 *Tensor, left bool, transpose bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) OrmqrOut(out *Tensor, input2 *Tensor, input3 *Tensor, left bool, transpose bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Outer(vec2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) OuterOut(out *Tensor, vec2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) OutputNr(del bool) (retVal int64, err error)
- func (ts *Tensor) Pad(pad []int64, mode string, value []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Pdist(p float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Permute(dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PermuteCopy(dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PermuteCopyOut(out *Tensor, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PinMemory(device gotch.Device, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Pinverse(rcond float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PixelShuffle(upscaleFactor int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PixelShuffleOut(out *Tensor, upscaleFactor int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PixelUnshuffle(downscaleFactor int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PixelUnshuffleOut(out *Tensor, downscaleFactor int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Poisson(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PoissonOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Polygamma(n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PolygammaOut(out *Tensor, n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Polygamma_(n int64) (err error)
- func (ts *Tensor) Positive(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Pow(exponent *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PowTensorScalar(exponent *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PowTensorScalarOut(out *Tensor, exponent *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PowTensorTensorOut(out *Tensor, exponent *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PowTensor_(exponent *Tensor) (err error)
- func (ts *Tensor) Pow_(exponent *Scalar) (err error)
- func (ts *Tensor) Prelu(weight *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Print()
- func (ts *Tensor) Prod(dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ProdDimInt(dim int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ProdIntOut(out *Tensor, dim int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ProdOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Put(index *Tensor, source *Tensor, accumulate bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) PutOut(out *Tensor, index *Tensor, source *Tensor, accumulate bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Put_(index *Tensor, source *Tensor, accumulate bool) (err error)
- func (ts *Tensor) QPerChannelAxis(del bool) (retVal int64, err error)
- func (ts *Tensor) QPerChannelScales(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QPerChannelScalesOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QPerChannelZeroPoints(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QPerChannelZeroPointsOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QScale(del bool) (retVal float64, err error)
- func (ts *Tensor) QZeroPoint(del bool) (retVal int64, err error)
- func (ts *Tensor) Qr(some bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) QrQ(q *Tensor, r *Tensor, some bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Quantile(q *Tensor, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QuantileOut(out *Tensor, q *Tensor, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantileScalar(q float64, dim []int64, keepdim bool, interpolation string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QuantileScalarOut(out *Tensor, q float64, dim []int64, keepdim bool, interpolation string, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizePerChannel(scales *Tensor, zeroPoints *Tensor, axis int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizePerChannelOut(out *Tensor, scales *Tensor, zeroPoints *Tensor, axis int64, dtype gotch.DType, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizePerTensor(scale float64, zeroPoint int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizePerTensorDynamic(dtype gotch.DType, reduceRange bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizePerTensorDynamicOut(out *Tensor, dtype gotch.DType, reduceRange bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizePerTensorTensorQparams(scale *Tensor, zeroPoint *Tensor, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizedMaxPool1d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizedMaxPool1dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizedMaxPool2d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizedMaxPool2dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizedMaxPool3d(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) QuantizedMaxPool3dOut(out *Tensor, kernelSize []int64, stride []int64, padding []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Rad2deg(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Rad2degOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Rad2deg_() (err error)
- func (ts *Tensor) RandLike(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandLikeOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandintLike(high int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandintLikeLowDtype(low int64, high int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandintLikeLowDtypeOut(out *Tensor, low int64, high int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandintLikeOut(out *Tensor, high int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandnLike(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandnLikeOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Random(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandomFrom(from int64, to []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandomFromOut(out *Tensor, from int64, to []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandomFrom_(from int64, to []int64) (err error)
- func (ts *Tensor) RandomOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandomTo(to int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandomToOut(out *Tensor, to int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RandomTo_(to int64) (err error)
- func (ts *Tensor) Random_() (err error)
- func (ts *Tensor) Ravel(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Real(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Reciprocal(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReciprocalOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Reciprocal_() (err error)
- func (ts *Tensor) ReflectionPad1d(padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad1dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad1dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad2d(padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad2dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad2dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad3d(padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad3dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReflectionPad3dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Relu(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Relu6(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Relu6_() (err error)
- func (ts *Tensor) ReluOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Relu_() (err error)
- func (ts *Tensor) Remainder(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RemainderScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RemainderTensor(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RemainderTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RemainderTensor_(other *Tensor) (err error)
- func (ts *Tensor) Remainder_(other *Scalar) (err error)
- func (ts *Tensor) Renorm(p *Scalar, dim int64, maxnorm *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RenormOut(out *Tensor, p *Scalar, dim int64, maxnorm *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Renorm_(p *Scalar, dim int64, maxnorm *Scalar) (err error)
- func (ts *Tensor) Repeat(repeats []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RepeatInterleaveSelfInt(repeats int64, dim []int64, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RepeatInterleaveSelfTensor(repeats *Tensor, dim []int64, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RepeatOut(out *Tensor, repeats []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad1d(padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad1dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad1dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad1dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad2d(padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad2dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad2dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad2dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad3d(padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad3dBackward(gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad3dBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReplicationPad3dOut(out *Tensor, padding []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RequiresGrad() (bool, error)
- func (ts *Tensor) RequiresGrad_(requiresGrad bool) (err error)
- func (ts *Tensor) Reshape(shape []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ReshapeAs(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Resize(size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ResizeAs(theTemplate *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ResizeAsOut(out *Tensor, theTemplate *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ResizeAsSparse(theTemplate *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ResizeAsSparseOut(out *Tensor, theTemplate *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ResizeAsSparse_(theTemplate *Tensor) (err error)
- func (ts *Tensor) ResizeAs_(theTemplate *Tensor) (err error)
- func (ts *Tensor) ResizeOut(out *Tensor, size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Resize_(size []int64) (err error)
- func (ts *Tensor) ResolveConj(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ResolveNeg(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RetainsGrad(del bool) (retVal bool, err error)
- func (ts *Tensor) Roll(shifts []int64, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RollOut(out *Tensor, shifts []int64, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Rot90(k int64, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Rot90Out(out *Tensor, k int64, dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Round(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RoundDecimals(decimals int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RoundDecimalsOut(out *Tensor, decimals int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RoundDecimals_(decimals int64) (err error)
- func (ts *Tensor) RoundOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Round_() (err error)
- func (ts *Tensor) RowIndices(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RowIndicesCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RowIndicesCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Rrelu(training bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RreluWithNoise(noise *Tensor, training bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RreluWithNoiseBackward(gradOutput *Tensor, noise *Tensor, lower *Scalar, upper *Scalar, training bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) RreluWithNoiseBackwardOut(out *Tensor, gradOutput *Tensor, noise *Tensor, lower *Scalar, upper *Scalar, ...) (retVal *Tensor, err error)
- func (ts *Tensor) RreluWithNoiseOut(out *Tensor, noise *Tensor, training bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RreluWithNoise_(noise *Tensor, training bool) (err error)
- func (ts *Tensor) Rrelu_(training bool) (err error)
- func (ts *Tensor) Rsqrt(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RsqrtOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Rsqrt_() (err error)
- func (ts *Tensor) Rsub(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RsubScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RsubScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) RsubTensorOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Save(path string) error
- func (ts *Tensor) Scatter(dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterAdd(dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterAddOut(out *Tensor, dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterAdd_(dim int64, index *Tensor, src *Tensor) (err error)
- func (ts *Tensor) ScatterReduce(dim int64, index *Tensor, src *Tensor, reduce string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterReduceOut(out *Tensor, dim int64, index *Tensor, src *Tensor, reduce string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterReduce_(dim int64, index *Tensor, src *Tensor, reduce string) (err error)
- func (ts *Tensor) ScatterSrcOut(out *Tensor, dim int64, index *Tensor, src *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterValue(dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterValueOut(out *Tensor, dim int64, index *Tensor, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterValueReduce(dim int64, index *Tensor, value *Scalar, reduce string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterValueReduceOut(out *Tensor, dim int64, index *Tensor, value *Scalar, reduce string, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ScatterValueReduce_(dim int64, index *Tensor, value *Scalar, reduce string) (err error)
- func (ts *Tensor) ScatterValue_(dim int64, index *Tensor, value *Scalar) (err error)
- func (ts *Tensor) Scatter_(dim int64, index *Tensor, src *Tensor) (err error)
- func (ts *Tensor) Searchsorted(sortedSequence *Tensor, outInt32 bool, right bool, side string, sorter *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SearchsortedTensorOut(out *Tensor, sortedSequence *Tensor, outInt32 bool, right bool, side string, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Select(dim int64, index int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SelectCopy(dim int64, index int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SelectCopyIntOut(out *Tensor, dim int64, index int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SelectScatter(src *Tensor, dim int64, index int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SelectScatterOut(out *Tensor, src *Tensor, dim int64, index int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Selu(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Selu_() (err error)
- func (ts *Tensor) Set(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SetOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SetRequiresGrad(r bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SetSourceTensor(source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SetSourceTensorOut(out *Tensor, source *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SetSourceTensorStorageOffset_(source *Tensor, storageOffset int64, size []int64, stride []int64) (err error)
- func (ts *Tensor) SetSourceTensor_(source *Tensor) (err error)
- func (ts *Tensor) Set_() (err error)
- func (ts *Tensor) Sgn(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SgnOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sgn_() (err error)
- func (ts *Tensor) ShallowClone() (*Tensor, error)
- func (ts *Tensor) Sigmoid(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SigmoidOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sigmoid_() (err error)
- func (ts *Tensor) Sign(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SignOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sign_() (err error)
- func (ts *Tensor) Signbit(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SignbitOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Silu(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SiluBackward(gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SiluBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SiluOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Silu_() (err error)
- func (ts *Tensor) Sin(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SinOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sin_() (err error)
- func (ts *Tensor) Sinc(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SincOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sinc_() (err error)
- func (ts *Tensor) Sinh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SinhOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sinh_() (err error)
- func (ts *Tensor) Size() ([]int64, error)
- func (ts *Tensor) Size1() (int64, error)
- func (ts *Tensor) Size2() ([]int64, error)
- func (ts *Tensor) Size3() ([]int64, error)
- func (ts *Tensor) Size4() ([]int64, error)
- func (ts *Tensor) Slice(dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SliceCopy(dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SliceCopyTensorOut(out *Tensor, dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SliceScatter(src *Tensor, dim int64, start []int64, end []int64, step int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SliceScatterOut(out *Tensor, src *Tensor, dim int64, start []int64, end []int64, step int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Slogdet(del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) SlogdetOut(sign *Tensor, logabsdet *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) SlowConv3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConv3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvDilated2d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvDilated2dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvDilated3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvDilated3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvTranspose2d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvTranspose2dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvTranspose3d(weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SlowConvTranspose3dOut(out *Tensor, weight *Tensor, kernelSize []int64, bias *Tensor, stride []int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Smm(mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SmoothL1Loss(target *Tensor, reduction int64, beta float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SmoothL1LossBackward(gradOutput *Tensor, target *Tensor, reduction int64, beta float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SmoothL1LossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SmoothL1LossOut(out *Tensor, target *Tensor, reduction int64, beta float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftMarginLoss(target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftMarginLossBackward(gradOutput *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftMarginLossBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, target *Tensor, reduction int64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SoftMarginLossOut(out *Tensor, target *Tensor, reduction int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Softmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftmaxIntOut(out *Tensor, dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Softplus(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftplusBackward(gradOutput *Tensor, beta *Scalar, threshold *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftplusBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, beta *Scalar, threshold *Scalar, ...) (retVal *Tensor, err error)
- func (ts *Tensor) SoftplusOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Softshrink(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftshrinkBackward(gradOutput *Tensor, lambd *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftshrinkBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, lambd *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SoftshrinkOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sort(dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) SortStable(stable bool, dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) SortValues(values *Tensor, indices *Tensor, dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) SortValuesStable(values *Tensor, indices *Tensor, stable bool, dim int64, descending bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) SparseDim(del bool) (retVal int64, err error)
- func (ts *Tensor) SparseMask(mask *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SparseMaskOut(out *Tensor, mask *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SparseResize(size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SparseResizeAndClear(size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SparseResizeAndClearOut(out *Tensor, size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SparseResizeAndClear_(size []int64, sparseDim int64, denseDim int64) (err error)
- func (ts *Tensor) SparseResizeOut(out *Tensor, size []int64, sparseDim int64, denseDim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SparseResize_(size []int64, sparseDim int64, denseDim int64) (err error)
- func (ts *Tensor) SparseSampledAddmm(mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SparseSampledAddmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselJ0(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselJ0Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselJ1(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselJ1Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselY0(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselY0Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselY1(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialBesselY1Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialDigamma(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialDigammaOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialEntr(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialEntrOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErf(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErfOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErfc(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErfcOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErfcx(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErfcxOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErfinv(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialErfinvOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialExp2(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialExp2Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialExpit(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialExpitOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialExpm1(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialExpm1Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialGammainc(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialGammaincOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialGammaincc(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialGammainccOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialGammaln(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialGammalnOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI0(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI0Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI0e(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI0eOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI1(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI1Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI1e(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialI1eOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLog1p(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLog1pOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLogNdtr(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLogNdtrOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLogSoftmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLogit(eps []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLogitOut(out *Tensor, eps []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLogsumexp(dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialLogsumexpOut(out *Tensor, dim []int64, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselI0(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselI0Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselI1(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselI1Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselK0(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselK0Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselK1(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialModifiedBesselK1Out(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialMultigammaln(p int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialMultigammalnOut(out *Tensor, p int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialNdtr(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialNdtrOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialNdtri(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialNdtriOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialPolygamma(n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialPolygammaOut(out *Tensor, n int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialPsi(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialPsiOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialRound(decimals int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialRoundOut(out *Tensor, decimals int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialSinc(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialSincOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialSoftmax(dim int64, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlog1py(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlog1pyOtherScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlog1pyOtherScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlog1pyOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlogy(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlogyOtherScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlogyOtherScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialXlogyOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialZeta(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialZetaOtherScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialZetaOtherScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SpecialZetaOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Split(splitSize, dim int64) (retVal []*Tensor, err error)
- func (ts *Tensor) SplitWithSizes(splitSizes []int64, dim int64) (retVal []*Tensor, err error)
- func (ts *Tensor) Sqrt(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqrtOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Sqrt_() (err error)
- func (ts *Tensor) Square(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SquareOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Square_() (err error)
- func (ts *Tensor) Squeeze(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeCopyDim(dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeCopyDimOut(out *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeCopyDims(dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeCopyDimsOut(out *Tensor, dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeDim(dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeDim_(dim int64) (err error)
- func (ts *Tensor) SqueezeDims(dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SqueezeDims_(dim []int64) (err error)
- func (ts *Tensor) Squeeze_() (err error)
- func (ts *Tensor) Sspaddmm(mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SspaddmmOut(out *Tensor, mat1 *Tensor, mat2 *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Std(unbiased bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) StdCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) StdCorrectionOut(out *Tensor, dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) StdDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) StdMean(unbiased bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) StdMeanCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) StdMeanCorrectionOut(out0 *Tensor, out1 *Tensor, dim []int64, correction *Scalar, keepdim bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) StdMeanDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) StdOut(out *Tensor, dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Stft(nFft int64, hopLength []int64, winLength []int64, window *Tensor, ...) (retVal *Tensor, err error)
- func (ts *Tensor) StftCenter(nFft int64, hopLength []int64, winLength []int64, window *Tensor, center bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Stride() ([]int64, error)
- func (ts *Tensor) Sub(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SubOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SubScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SubScalarOut(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SubScalar_(other *Scalar) (err error)
- func (ts *Tensor) Sub_(other *Tensor) (err error)
- func (ts *Tensor) Subtract(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SubtractOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SubtractScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SubtractScalar_(other *Scalar) (err error)
- func (ts *Tensor) Subtract_(other *Tensor) (err error)
- func (ts *Tensor) Sum(dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SumDimIntlist(dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SumIntlistOut(out *Tensor, dim []int64, keepdim bool, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SumOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) SumToSize(size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Svd(some bool, computeUv bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) SvdU(u *Tensor, s *Tensor, v *Tensor, some bool, computeUv bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) Swapaxes(axis0 int64, axis1 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Swapaxes_(axis0 int64, axis1 int64) (err error)
- func (ts *Tensor) Swapdims(dim0 int64, dim1 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Swapdims_(dim0 int64, dim1 int64) (err error)
- func (ts *Tensor) Swish() *Tensor
- func (ts *Tensor) T(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) T_() (err error)
- func (ts *Tensor) Take(index *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TakeAlongDim(indices *Tensor, dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TakeAlongDimOut(out *Tensor, indices *Tensor, dim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TakeOut(out *Tensor, index *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Tan(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TanOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Tan_() (err error)
- func (ts *Tensor) Tanh(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TanhOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Tanh_() (err error)
- func (ts *Tensor) Tensordot(other *Tensor, dimsSelf []int64, dimsOther []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TensordotOut(out *Tensor, other *Tensor, dimsSelf []int64, dimsOther []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Threshold(threshold *Scalar, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ThresholdBackward(gradOutput *Tensor, threshold *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ThresholdBackwardGradInput(gradInput *Tensor, gradOutput *Tensor, threshold *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ThresholdOut(out *Tensor, threshold *Scalar, value *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Threshold_(threshold *Scalar, value *Scalar) (err error)
- func (ts *Tensor) Tile(dims []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) To(device gotch.Device, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToDense(dtype gotch.DType, maskedGrad bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToDevice(device gotch.Device, dtype gotch.DType, nonBlocking bool, copy bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToDtype(dtype gotch.DType, nonBlocking bool, copy bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToDtypeLayout(optionsKind gotch.DType, optionsDevice gotch.Device, nonBlocking bool, ...) (retVal *Tensor, err error)
- func (ts *Tensor) ToMkldnn(dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToMkldnnOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToOther(other *Tensor, nonBlocking bool, copy bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToPaddedTensor(padding float64, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToPaddedTensorOut(out *Tensor, padding float64, outputSize []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToSparse(layout Layout, blocksize []int64, denseDim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToSparseBsc(blocksize []int64, denseDim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToSparseBsr(blocksize []int64, denseDim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToSparseCsc(denseDim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToSparseCsr(denseDim []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToSparseSparseDim(sparseDim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ToString(lw int64) (string, error)
- func (ts *Tensor) TopK(k int64, dim int64, largest bool, sorted bool) (ts1, ts2 *Tensor, err error)
- func (ts *Tensor) Topk(k int64, dim int64, largest bool, sorted bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) TopkValues(values *Tensor, indices *Tensor, k int64, dim int64, largest bool, sorted bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Totype(scalarType gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Trace(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TraceOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Transpose(dim0 int64, dim1 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TransposeCopy(dim0 int64, dim1 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TransposeCopyIntOut(out *Tensor, dim0 int64, dim1 int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Transpose_(dim0 int64, dim1 int64) (err error)
- func (ts *Tensor) TriangularSolve(a *Tensor, upper bool, transpose bool, unitriangular bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) TriangularSolveX(x *Tensor, m *Tensor, a *Tensor, upper bool, transpose bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) Tril(diagonal int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TrilOut(out *Tensor, diagonal int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Tril_(diagonal int64) (err error)
- func (ts *Tensor) Triu(diagonal int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TriuOut(out *Tensor, diagonal int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Triu_(diagonal int64) (err error)
- func (ts *Tensor) TrueDivide(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TrueDivideOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TrueDivideScalar(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TrueDivideScalar_(other *Scalar) (err error)
- func (ts *Tensor) TrueDivide_(other *Tensor) (err error)
- func (ts *Tensor) Trunc(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) TruncOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Trunc_() (err error)
- func (ts *Tensor) TypeAs(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Unbind(dim int64) (retVal []*Tensor, err error)
- func (ts *Tensor) Unflatten(dim int64, sizes []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Unfold(dimension int64, size int64, step int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UnfoldCopy(dimension int64, size int64, step int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UnfoldCopyOut(out *Tensor, dimension int64, size int64, step int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Uniform(from float64, to float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UniformOut(out *Tensor, from float64, to float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Uniform_(from float64, to float64) (err error)
- func (ts *Tensor) UniqueConsecutive(returnInverse bool, returnCounts bool, dim []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) UniqueConsecutiveOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, returnInverse bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) UniqueDim(dim int64, sorted bool, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) UniqueDimConsecutive(dim int64, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) UniqueDimConsecutiveOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, dim int64, returnInverse bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) UniqueDimOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, dim int64, sorted bool, ...) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
- func (ts *Tensor) Unsqueeze(dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UnsqueezeCopy(dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UnsqueezeCopyOut(out *Tensor, dim int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Unsqueeze_(dim int64) (err error)
- func (ts *Tensor) UpsampleBicubic2d(outputSize []int64, alignCorners bool, scalesH []float64, scalesW []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleBicubic2dOut(out *Tensor, outputSize []int64, alignCorners bool, scalesH []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleBilinear2d(outputSize []int64, alignCorners bool, scalesH []float64, scalesW []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleBilinear2dOut(out *Tensor, outputSize []int64, alignCorners bool, scalesH []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleLinear1d(outputSize []int64, alignCorners bool, scales []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleLinear1dOut(out *Tensor, outputSize []int64, alignCorners bool, scales []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleNearest1d(outputSize []int64, scales []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleNearest1dOut(out *Tensor, outputSize []int64, scales []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleNearest2d(outputSize []int64, scalesH []float64, scalesW []float64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleNearest2dOut(out *Tensor, outputSize []int64, scalesH []float64, scalesW []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleNearest3d(outputSize []int64, scalesD []float64, scalesH []float64, scalesW []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleNearest3dOut(out *Tensor, outputSize []int64, scalesD []float64, scalesH []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleTrilinear3d(outputSize []int64, alignCorners bool, scalesD []float64, scalesH []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) UpsampleTrilinear3dOut(out *Tensor, outputSize []int64, alignCorners bool, scalesD []float64, ...) (retVal *Tensor, err error)
- func (ts *Tensor) Vals() interface{}
- func (ts *Tensor) ValueGo() interface{}
- func (ts *Tensor) Values(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ValuesCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ValuesCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Var(unbiased bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) VarCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) VarCorrectionOut(out *Tensor, dim []int64, correction *Scalar, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) VarDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) VarMean(unbiased bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) VarMeanCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) VarMeanCorrectionOut(out0 *Tensor, out1 *Tensor, dim []int64, correction *Scalar, keepdim bool, ...) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) VarMeanDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
- func (ts *Tensor) VarOut(out *Tensor, dim []int64, unbiased bool, keepdim bool, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Vdot(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) VdotOut(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) View(size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewAs(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewAsComplex(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewAsComplexCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewAsComplexCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewAsReal(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewAsRealCopy(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewAsRealCopyOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewCopy(size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewCopyDtype(dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewCopyDtypeOut(out *Tensor, dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewCopyOut(out *Tensor, size []int64, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ViewDtype(dtype gotch.DType, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) WhereScalarother(condition *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) WhereSelf(condition *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) WhereSelfOut(out *Tensor, condition *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) Xlogy(other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) XlogyOutscalarOther(out *Tensor, other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) XlogyOuttensor(out *Tensor, other *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) XlogyScalarOther(other *Scalar, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) XlogyScalarOther_(other *Scalar) (err error)
- func (ts *Tensor) Xlogy_(other *Tensor) (err error)
- func (ts *Tensor) Zero(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ZeroGrad()
- func (ts *Tensor) ZeroOut(out *Tensor, del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ZeroPad2d(left, right, top, bottom int64, del bool) (*Tensor, error)
- func (ts *Tensor) Zero_() (err error)
- func (ts *Tensor) ZerosLike(del bool) (retVal *Tensor, err error)
- func (ts *Tensor) ZerosLikeOut(out *Tensor, del bool) (retVal *Tensor, err error)
- type TensorIndexer
- type TensorOpt
- type TensorOptions
- type TextData
- type TextDataIter
Examples ¶
Constants ¶
const ( NpyMagicString string = "\x93NUMPY" NpySuffix string = ".npy" )
const ( // Do not reduce ReductionNone int64 = 0 // Mean of losses ReductionMean int64 = 1 // Sum of losses ReductionSum int64 = 2 // Escape hatch in case new options become available ReductionOther int64 = 3 )
Variables ¶
var ( TensorCount int64 // incremental counting created tensors ScalarCount int64 // incremental counting created scalars AllocatedMem int64 // bytes - keeping track of memory created and still occupied by gotch/tensor (excluding mem allocated by libtorch at C side) ExistingTensors map[string]struct{} = make(map[string]struct{}) // keep track of existing tensors by name ExistingScalars map[string]struct{} = make(map[string]struct{}) // keep track of existing scalar by name )
var None = NewTensor()
NOTE. None is an undefined tensor. It can be used in optional tensor parameter where 'None' value used. `ts.MustDefined()` function is used for checking 'null'
Functions ¶
func BatchNormBackwardReduce ¶
func BatchNormBackwardReduce(gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, weight *Tensor, inputG bool, weightG bool, biasG bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormBackwardReduceOut ¶ added in v0.8.0
func BatchNormBackwardReduceOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, gradOut *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, weight *Tensor, inputG bool, weightG bool, biasG bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormGatherStats ¶
func BatchNormGatherStats(input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64, eps float64, count int64) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormGatherStatsOut ¶ added in v0.8.0
func BatchNormGatherStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64, eps float64, count int64) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormGatherStatsWithCounts ¶
func BatchNormGatherStatsWithCounts(input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64, eps float64, counts *Tensor) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormGatherStatsWithCountsOut ¶ added in v0.8.0
func BatchNormGatherStatsWithCountsOut(out0 *Tensor, out1 *Tensor, input *Tensor, mean *Tensor, invstd *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64, eps float64, counts *Tensor) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormStats ¶
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormStatsOut ¶ added in v0.8.0
func BatchNormStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, eps float64) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormUpdateStats ¶
func BatchNormUpdateStats(input *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func BatchNormUpdateStatsOut ¶ added in v0.8.0
func BatchNormUpdateStatsOut(out0 *Tensor, out1 *Tensor, input *Tensor, runningMean *Tensor, runningVar *Tensor, momentum float64) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func CMalloc ¶
CMalloc allocates a given number of bytes to C side memory. It returns - dataPtr: a C pointer type of `*void` (`unsafe.Pointer` in Go). - buf : a Go pointer points to a given bytes of buffer (empty) in C memory allocated by C waiting for writing data to.
NOTE: 1. Go pointer is a pointer to Go memory. C pointer is a pointer to C memory. 2. General rule is Go code can use C pointers. Go code may pass Go pointer to C provided that the Go memory to which it points does NOT contain any Go pointers. BUT C code must not store any Go pointers in Go memory, even temporarily. 3. Some Go values contain Go pointers IMPLICITLY: strings, slices, maps, channels and function values. Thus, pointers to these values should not be passed to C side. Instead, data should be allocated to C memory and return a C pointer to it using `C.malloc`. Ref: https://github.com/golang/proposal/blob/master/design/12416-cgo-pointers.md
func CheckCMemLeak ¶ added in v0.8.0
func CheckCMemLeak() string
func ChooseQparamsOptimized ¶
func ChooseQparamsOptimized(input *Tensor, numel int64, nBins int64, ratio float64, bitWidth int64) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func CleanUp ¶ added in v0.8.0
func CleanUp(sleepTimeOpt ...int)
CleanUp calls double runtime.GC() with sleep time in between.
func Copy_ ¶
func Copy_(self, src *Tensor)
Copy_ copies in-place values from the argument tensor to the input tensor.
func CudaCurrentDevice ¶ added in v0.8.0
CudaCurrentDevice get device index of current CUDA device.
func CudaSetDevice ¶ added in v0.8.0
CudaSetDevice set new cuda device index and returns previous cuda index.
func CudaSynchronize ¶ added in v0.8.0
CudaSynchronize waits for all kernels in all streams on a CUDA device to complete.
func CudnnBatchNorm ¶
func CudnnBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, runningVar *Tensor, training bool, exponentialAverageFactor float64, epsilon float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func CudnnBatchNormBackward ¶
func CudnnBatchNormBackward(input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, runningVar *Tensor, saveMean *Tensor, saveVar *Tensor, epsilon float64, reserveSpace *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func CudnnBatchNormBackwardOut ¶ added in v0.8.0
func CudnnBatchNormBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, runningVar *Tensor, saveMean *Tensor, saveVar *Tensor, epsilon float64, reserveSpace *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func CudnnBatchNormOut ¶ added in v0.8.0
func CudnnBatchNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, runningVar *Tensor, training bool, exponentialAverageFactor float64, epsilon float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func DataAsPtr ¶
DataAsPtr write to C memory and returns a C pointer.
NOTE: Supported data types are scalar, slice/array of scalar type equivalent to DType.
func DataCheck ¶
DataCheck checks the input data for element Go type and number of elements. It will return errors if element dtype is not supported.
func DataDim ¶
DataDim returns number of elements in data NOTE: only support scalar and (nested) slice/array of scalar type
func DecodeTensor ¶
DecodeTensor decodes tensor value from a C memory buffer given C pointer, data type and shape and returns data value of type interface
func ElementCount ¶
ElementCount counts number of element in the tensor given a shape
func EmbeddingBag ¶
func EmbeddingBag(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, mode int64, sparse bool, perSampleWeights *Tensor, includeLastOffset bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func EmbeddingBagPaddingIdx ¶
func EmbeddingBagPaddingIdx(weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, mode int64, sparse bool, perSampleWeights *Tensor, includeLastOffset bool, paddingIdx []int64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func EncodeTensor ¶
EncodeTensor loads tensor data to C memory and returns a C pointer.
func FlattenData ¶
func FlattenData(data interface{}) (fData interface{}, err error)
FlattenData flattens data to 1D array ([]T)
func FlattenDim ¶
FlattenDim counts number of elements with given shape
func GradSetEnabled ¶
GradSetEnabled sets globally whether GradMode gradient accumulation is enable or not. It returns PREVIOUS state of Grad before setting.
func Gru ¶
func Gru(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool, batchFirst bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func GruData ¶
func GruData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func InvokeFnWithArgs ¶
func InvokeFnWithArgs(fn interface{}, args ...string)
InvokeFn reflects and invokes a function of interface type.
func IsVulkanAvailable ¶
func.returns = `bool`: --------------------------
func LinalgInvEx ¶ added in v0.8.0
func.returns = `fixed ntensors`: ---------------------------------
func LinalgInvExInverse ¶ added in v0.8.0
func LinalgInvExInverse(inverse *Tensor, info *Tensor, a *Tensor, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgLuFactor ¶ added in v0.7.0
func.returns = `fixed ntensors`: ---------------------------------
func LinalgLuFactorEx ¶ added in v0.7.0
func LinalgLuFactorEx(a *Tensor, pivot bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgLuFactorExOut ¶ added in v0.7.0
func LinalgLuFactorExOut(lU *Tensor, pivots *Tensor, info *Tensor, a *Tensor, pivot bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgLuFactorOut ¶ added in v0.7.0
func LinalgLuFactorOut(lU *Tensor, pivots *Tensor, a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgLuOut ¶ added in v0.8.0
func LinalgLuOut(p *Tensor, l *Tensor, u *Tensor, a *Tensor, pivot bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgQrOut ¶ added in v0.8.0
func LinalgQrOut(q *Tensor, r *Tensor, a *Tensor, mode string) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgSlogdet ¶ added in v0.8.0
func.returns = `fixed ntensors`: ---------------------------------
func LinalgSlogdetOut ¶ added in v0.8.0
func LinalgSlogdetOut(sign *Tensor, logabsdet *Tensor, a *Tensor) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgSolveEx ¶ added in v0.8.0
func LinalgSolveEx(a *Tensor, b *Tensor, left bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgSolveExOut ¶ added in v0.8.0
func LinalgSolveExOut(result *Tensor, info *Tensor, a *Tensor, b *Tensor, left bool, checkErrors bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgSvd ¶ added in v0.7.0
func LinalgSvd(a *Tensor, fullMatrices bool, driver string) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LinalgSvdU ¶ added in v0.7.0
func LinalgSvdU(u *Tensor, s *Tensor, vh *Tensor, a *Tensor, fullMatrices bool, driver string) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func Lstm ¶
func Lstm(input *Tensor, hx []*Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool, batchFirst bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LstmCell ¶
func LstmCell(input *Tensor, hx []*Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LstmData ¶
func LstmData(data *Tensor, batchSizes *Tensor, hx []*Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LuUnpack ¶
func LuUnpack(lUData *Tensor, lUPivots *Tensor, unpackData bool, unpackPivots bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func LuUnpackOut ¶
func LuUnpackOut(p *Tensor, l *Tensor, u *Tensor, lUData *Tensor, lUPivots *Tensor, unpackData bool, unpackPivots bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MiopenBatchNorm ¶
func MiopenBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, runningVar *Tensor, training bool, exponentialAverageFactor float64, epsilon float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MiopenBatchNormBackward ¶
func MiopenBatchNormBackward(input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, runningVar *Tensor, saveMean *Tensor, saveVar *Tensor, epsilon float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MiopenBatchNormBackwardOut ¶ added in v0.8.0
func MiopenBatchNormBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, gradOutput *Tensor, weight *Tensor, runningMean *Tensor, runningVar *Tensor, saveMean *Tensor, saveVar *Tensor, epsilon float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MiopenBatchNormOut ¶ added in v0.8.0
func MiopenBatchNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, runningVar *Tensor, training bool, exponentialAverageFactor float64, epsilon float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MiopenRnn ¶
func MiopenRnn(input *Tensor, weight []*Tensor, weightStride0 int64, hx *Tensor, cx *Tensor, mode int64, hiddenSize int64, numLayers int64, batchFirst bool, dropout float64, train bool, bidirectional bool, batchSizes []int64, dropoutState *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MiopenRnnOut ¶ added in v0.8.0
func MiopenRnnOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, input *Tensor, weight []*Tensor, weightStride0 int64, hx *Tensor, cx *Tensor, mode int64, hiddenSize int64, numLayers int64, batchFirst bool, dropout float64, train bool, bidirectional bool, batchSizes []int64, dropoutState *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MkldnnLinearBackwardWeights ¶
func MkldnnLinearBackwardWeights(gradOutput *Tensor, input *Tensor, weight *Tensor, biasDefined bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MkldnnLinearBackwardWeightsOut ¶ added in v0.8.0
func MkldnnLinearBackwardWeightsOut(out0 *Tensor, out1 *Tensor, gradOutput *Tensor, input *Tensor, weight *Tensor, biasDefined bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MkldnnRnnLayer ¶ added in v0.8.0
func MkldnnRnnLayer(input *Tensor, weight0 *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, hx_ *Tensor, cx_ *Tensor, reverse bool, batchSizes []int64, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, bidirectional bool, batchFirst bool, train bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MkldnnRnnLayerBackward ¶ added in v0.8.0
func MkldnnRnnLayerBackward(input *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, weight4 *Tensor, hx_ *Tensor, cxTmp *Tensor, output *Tensor, hy_ *Tensor, cy_ *Tensor, gradOutput *Tensor, gradHy *Tensor, gradCy *Tensor, reverse bool, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, train bool, bidirectional bool, batchSizes []int64, batchFirst bool, workspace *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, retVal5 *Tensor, retVal6 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MkldnnRnnLayerBackwardOut ¶ added in v0.8.0
func MkldnnRnnLayerBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, out5 *Tensor, out6 *Tensor, input *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, weight4 *Tensor, hx_ *Tensor, cxTmp *Tensor, output *Tensor, hy_ *Tensor, cy_ *Tensor, gradOutput *Tensor, gradHy *Tensor, gradCy *Tensor, reverse bool, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, train bool, bidirectional bool, batchSizes []int64, batchFirst bool, workspace *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, retVal5 *Tensor, retVal6 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MkldnnRnnLayerOut ¶ added in v0.8.0
func MkldnnRnnLayerOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, weight0 *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, hx_ *Tensor, cx_ *Tensor, reverse bool, batchSizes []int64, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, bidirectional bool, batchFirst bool, train bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func MustBatchNormBackwardReduceOut ¶ added in v0.8.0
func MustBatchNormGatherStatsOut ¶ added in v0.8.0
func MustBatchNormGatherStatsWithCountsOut ¶ added in v0.8.0
func MustBatchNormStats ¶
func MustBatchNormStatsOut ¶ added in v0.8.0
func MustBatchNormUpdateStatsOut ¶ added in v0.8.0
func MustCudnnBatchNorm ¶
func MustCudnnBatchNormBackwardOut ¶ added in v0.8.0
func MustCudnnBatchNormOut ¶ added in v0.8.0
func MustCudnnBatchNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, runningVar *Tensor, training bool, exponentialAverageFactor float64, epsilon float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
func MustEmbeddingBag ¶
func MustGradSetEnabled ¶
MustGradSetEnabled sets globally whether GradMode gradient accumuation is enable or not. It returns PREVIOUS state of Grad before setting. It will be panic if error
func MustGruData ¶
func MustIsVulkanAvailable ¶
func MustIsVulkanAvailable() (retVal bool)
func MustLinalgInvEx ¶ added in v0.8.0
func MustLinalgInvExInverse ¶ added in v0.8.0
func MustLinalgLu ¶ added in v0.8.0
func MustLinalgLuFactor ¶ added in v0.7.0
func MustLinalgLuFactorEx ¶ added in v0.7.0
func MustLinalgLuFactorExOut ¶ added in v0.7.0
func MustLinalgLuFactorOut ¶ added in v0.7.0
func MustLinalgLuOut ¶ added in v0.8.0
func MustLinalgQr ¶ added in v0.8.0
func MustLinalgQrOut ¶ added in v0.8.0
func MustLinalgSlogdet ¶ added in v0.8.0
func MustLinalgSlogdetOut ¶ added in v0.8.0
func MustLinalgSolveEx ¶ added in v0.8.0
func MustLinalgSolveExOut ¶ added in v0.8.0
func MustLinalgSvd ¶ added in v0.7.0
func MustLinalgSvdU ¶ added in v0.7.0
func MustLstmCell ¶
func MustLstmData ¶
func MustLuUnpack ¶
func MustLuUnpackOut ¶
func MustMiopenBatchNorm ¶
func MustMiopenBatchNormBackwardOut ¶ added in v0.8.0
func MustMiopenBatchNormOut ¶ added in v0.8.0
func MustMiopenRnn ¶
func MustMiopenRnn(input *Tensor, weight []*Tensor, weightStride0 int64, hx *Tensor, cx *Tensor, mode int64, hiddenSize int64, numLayers int64, batchFirst bool, dropout float64, train bool, bidirectional bool, batchSizes []int64, dropoutState *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor)
func MustMiopenRnnOut ¶ added in v0.8.0
func MustMiopenRnnOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, input *Tensor, weight []*Tensor, weightStride0 int64, hx *Tensor, cx *Tensor, mode int64, hiddenSize int64, numLayers int64, batchFirst bool, dropout float64, train bool, bidirectional bool, batchSizes []int64, dropoutState *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor)
func MustMkldnnLinearBackwardWeightsOut ¶ added in v0.8.0
func MustMkldnnRnnLayer ¶ added in v0.8.0
func MustMkldnnRnnLayer(input *Tensor, weight0 *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, hx_ *Tensor, cx_ *Tensor, reverse bool, batchSizes []int64, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, bidirectional bool, batchFirst bool, train bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
func MustMkldnnRnnLayerBackward ¶ added in v0.8.0
func MustMkldnnRnnLayerBackward(input *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, weight4 *Tensor, hx_ *Tensor, cxTmp *Tensor, output *Tensor, hy_ *Tensor, cy_ *Tensor, gradOutput *Tensor, gradHy *Tensor, gradCy *Tensor, reverse bool, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, train bool, bidirectional bool, batchSizes []int64, batchFirst bool, workspace *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, retVal5 *Tensor, retVal6 *Tensor)
func MustMkldnnRnnLayerBackwardOut ¶ added in v0.8.0
func MustMkldnnRnnLayerBackwardOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, out5 *Tensor, out6 *Tensor, input *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, weight4 *Tensor, hx_ *Tensor, cxTmp *Tensor, output *Tensor, hy_ *Tensor, cy_ *Tensor, gradOutput *Tensor, gradHy *Tensor, gradCy *Tensor, reverse bool, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, train bool, bidirectional bool, batchSizes []int64, batchFirst bool, workspace *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, retVal5 *Tensor, retVal6 *Tensor)
func MustMkldnnRnnLayerOut ¶ added in v0.8.0
func MustMkldnnRnnLayerOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, input *Tensor, weight0 *Tensor, weight1 *Tensor, weight2 *Tensor, weight3 *Tensor, hx_ *Tensor, cx_ *Tensor, reverse bool, batchSizes []int64, mode int64, hiddenSize int64, numLayers int64, hasBiases bool, bidirectional bool, batchFirst bool, train bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
func MustNativeBatchNorm ¶
func MustNativeBatchNormOut ¶
func MustNativeDropout ¶ added in v0.7.0
func MustNativeDropoutOut ¶ added in v0.8.0
func MustNativeGroupNorm ¶
func MustNativeGroupNormOut ¶ added in v0.8.0
func MustNativeLayerNorm ¶
func MustNativeLayerNormOut ¶ added in v0.8.0
func MustQuantizedLstmCell ¶
func MustRnnRelu ¶
func MustRnnReluData ¶
func MustRnnTanh ¶
func MustRnnTanhData ¶
func MustSaveMulti ¶
func MustSaveMulti(namedTensors []NamedTensor, path string)
MustSaveMulti saves some named tensors to a file. It will panic if error
NOTE. This method is depreciated and will be replaced with `MustSaveMultiNew`
func Must_CtcLoss ¶
func Must_CtcLossOut ¶ added in v0.8.0
func Must_CtcLossTensor ¶ added in v0.8.0
func Must_CtcLossTensorOut ¶ added in v0.8.0
func Must_CudnnCtcLoss ¶
func Must_CudnnCtcLossOut ¶ added in v0.8.0
func Must_CudnnCtcLossTensor ¶ added in v0.8.0
func Must_CudnnRnn ¶
func Must_CudnnRnn(input *Tensor, weight []*Tensor, weightStride0 int64, weightBuf *Tensor, hx *Tensor, cx *Tensor, mode int64, hiddenSize int64, projSize int64, numLayers int64, batchFirst bool, dropout float64, train bool, bidirectional bool, batchSizes []int64, dropoutState *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor)
func Must_CudnnRnnOut ¶ added in v0.8.0
func Must_CudnnRnnOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, input *Tensor, weight []*Tensor, weightStride0 int64, weightBuf *Tensor, hx *Tensor, cx *Tensor, mode int64, hiddenSize int64, projSize int64, numLayers int64, batchFirst bool, dropout float64, train bool, bidirectional bool, batchSizes []int64, dropoutState *Tensor) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor)
func Must_EfficientAttentionBackward ¶ added in v0.8.0
func Must_EfficientAttentionBackward(gradOut_ *Tensor, query *Tensor, key *Tensor, value *Tensor, bias *Tensor, out *Tensor, cuSeqlensQ *Tensor, cuSeqlensK *Tensor, maxSeqlenK int64, maxSeqlenQ int64, logsumexp *Tensor, dropoutP float64, philoxSeed *Tensor, philoxOffset *Tensor, customMaskType int64, biasRequiresGrad bool, scale []float64, numSplitsKey []int64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
func Must_EmbeddingBag ¶
func Must_EmbeddingBagForwardOnlyOut ¶ added in v0.8.0
func Must_EmbeddingBagForwardOnlyOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, mode int64, sparse bool, perSampleWeights *Tensor, includeLastOffset bool, paddingIdx int64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
func Must_EmbeddingBagOut ¶ added in v0.8.0
func Must_EmbeddingBagOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, weight *Tensor, indices *Tensor, offsets *Tensor, scaleGradByFreq bool, mode int64, sparse bool, perSampleWeights *Tensor, includeLastOffset bool, paddingIdx int64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor)
func Must_FlashAttentionBackward ¶ added in v0.8.0
func Must_FlashAttentionBackward(gradOut *Tensor, query *Tensor, key *Tensor, value *Tensor, out *Tensor, logsumexp *Tensor, cumSeqQ *Tensor, cumSeqK *Tensor, maxQ int64, maxK int64, dropoutP float64, isCausal bool, philoxSeed *Tensor, philoxOffset *Tensor, scale []float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
func Must_FusedSdpChoice ¶ added in v0.8.0
func Must_LinalgDet ¶ added in v0.8.0
func Must_LinalgDetResult ¶ added in v0.8.0
func Must_LinalgEigh ¶ added in v0.8.0
func Must_LinalgEighEigenvalues ¶ added in v0.8.0
func Must_LinalgSlogdet ¶ added in v0.8.0
func Must_LinalgSlogdetSign ¶ added in v0.8.0
func Must_LinalgSolveEx ¶ added in v0.8.0
func Must_LinalgSolveExResult ¶ added in v0.8.0
func Must_LinalgSvd ¶ added in v0.7.0
func Must_LinalgSvdU ¶ added in v0.7.0
func Must_LstmMps ¶ added in v0.8.0
func Must_LstmMpsOut ¶ added in v0.8.0
func Must_LstmMpsOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, out3 *Tensor, out4 *Tensor, out5 *Tensor, input *Tensor, hx []*Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool, batchFirst bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, retVal5 *Tensor)
func Must_NativeBatchNormLegit ¶ added in v0.8.0
func Must_NativeBatchNormLegitFunctional ¶ added in v0.8.0
func Must_NativeBatchNormLegitNoStats ¶ added in v0.8.0
func Must_NativeBatchNormLegitNoStatsOut ¶ added in v0.8.0
func Must_NativeBatchNormLegitNoTraining ¶ added in v0.9.0
func Must_NativeBatchNormLegitNoTrainingOut ¶ added in v0.9.0
func Must_NativeBatchNormLegitOut ¶ added in v0.8.0
func Must_NativeMultiHeadAttention ¶ added in v0.8.0
func Must_NativeMultiHeadAttentionOut ¶ added in v0.8.0
func Must_NativeMultiHeadAttentionOut(out0 *Tensor, out1 *Tensor, query *Tensor, key *Tensor, value *Tensor, embedDim int64, numHead int64, qkvWeight *Tensor, qkvBias *Tensor, projWeight *Tensor, projBias *Tensor, mask *Tensor, needWeights bool, averageAttnWeights bool, maskType []int64) (retVal0 *Tensor, retVal1 *Tensor)
func Must_NnpackAvailable ¶
func Must_NnpackAvailable() (retVal bool)
func Must_PackPaddedSequence ¶
func Must_PackPaddedSequenceOut ¶ added in v0.8.0
func Must_PadPackedSequence ¶
func Must_RowwisePrune ¶
func Must_ScaledDotProductAttentionMath ¶ added in v0.8.0
func Must_ScaledDotProductEfficientAttention ¶ added in v0.8.0
func Must_ScaledDotProductFlashAttentionBackward ¶ added in v0.8.0
func Must_ScaledDotProductFlashAttentionBackward(gradOut *Tensor, query *Tensor, key *Tensor, value *Tensor, out *Tensor, logsumexp *Tensor, cumSeqQ *Tensor, cumSeqK *Tensor, maxQ int64, maxK int64, dropoutP float64, isCausal bool, philoxSeed *Tensor, philoxOffset *Tensor, scale []float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor)
func Must_SobolEngineDraw ¶
func Must_ToSparseSemiStructured ¶ added in v0.9.0
func Must_TransformBiasRescaleQkv ¶ added in v0.8.0
func Must_TransformBiasRescaleQkvOut ¶ added in v0.8.0
func Must_UnpackDual ¶
func Must_UseCudnnCtcLoss ¶
func Must_UseCudnnCtcLossTensor ¶ added in v0.8.0
func Must_UseCudnnRnnFlattenWeight ¶
func Must_UseCudnnRnnFlattenWeight() (retVal bool)
func Must_WeightNormInterface ¶ added in v0.8.0
func Must_WeightNormInterfaceBackward ¶ added in v0.8.0
func Must_WeightNormInterfaceBackwardOut ¶ added in v0.8.0
func Must_WeightNormInterfaceOut ¶ added in v0.8.0
func NativeBatchNorm ¶
func NativeBatchNorm(input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, runningVar *Tensor, training bool, momentum float64, eps float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func NativeBatchNormOut ¶
func NativeBatchNormOut(out *Tensor, saveMean *Tensor, saveInvstd *Tensor, input *Tensor, weight *Tensor, bias *Tensor, runningMean *Tensor, runningVar *Tensor, training bool, momentum float64, eps float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func NativeDropout ¶ added in v0.7.0
func NativeDropout(input *Tensor, p float64, train bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func NativeDropoutOut ¶ added in v0.8.0
func NativeDropoutOut(out0 *Tensor, out1 *Tensor, input *Tensor, p float64, train bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func NativeGroupNorm ¶
func NativeGroupNorm(input *Tensor, weight *Tensor, bias *Tensor, n int64, c int64, hxW int64, group int64, eps float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func NativeGroupNormOut ¶ added in v0.8.0
func NativeGroupNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, weight *Tensor, bias *Tensor, n int64, c int64, hxW int64, group int64, eps float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func NativeLayerNorm ¶
func NativeLayerNorm(input *Tensor, normalizedShape []int64, weight *Tensor, bias *Tensor, eps float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func NativeLayerNormOut ¶ added in v0.8.0
func NativeLayerNormOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, input *Tensor, normalizedShape []int64, weight *Tensor, bias *Tensor, eps float64) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func QuantizedLstmCell ¶
func QuantizedLstmCell(input *Tensor, hx []*Tensor, wIh *Tensor, wHh *Tensor, bIh *Tensor, bHh *Tensor, packedIh *Tensor, packedHh *Tensor, colOffsetsIh *Tensor, colOffsetsHh *Tensor, scaleIh *Scalar, scaleHh *Scalar, zeroPointIh *Scalar, zeroPointHh *Scalar) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func RnnRelu ¶
func RnnRelu(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool, batchFirst bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func RnnReluData ¶
func RnnReluData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func RnnTanh ¶
func RnnTanh(input *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool, batchFirst bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func RnnTanhData ¶
func RnnTanhData(data *Tensor, batchSizes *Tensor, hx *Tensor, params []*Tensor, hasBiases bool, numLayers int64, dropout float64, train bool, bidirectional bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func SaveHwc ¶
SaveHwc save an image from tensor. It expects a tensor of shape [height, width, channels]
func SaveMulti ¶
func SaveMulti(namedTensors []NamedTensor, path string) error
SaveMulti saves some named tensors to a file
The file format is the same as the one used by the PyTorch C++ API. NOTE. This method is depreciated and will be replaced with `SaveMultiNew`
func SaveMultiNew ¶
func SaveMultiNew(namedTensors []NamedTensor, path string) error
SaveMultiNew saves a slice of named tensors to the given file path.
func TorchErr ¶
func TorchErr() error
TorchErr checks and retrieves last error message from C `thread_local` if existing and frees up C memory the C pointer points to.
NOTE: Go language atm does not have generic function something similar to `macro` in Rust language, does it? So we have to wrap this function to any Libtorch C function call to check error instead of doing the other way around. See Go2 proposal: https://github.com/golang/go/issues/32620
Types ¶
type CModule ¶
A JIT PyTorch module.
These modules can be created via the [TorchScript python api](https://pytorch.org/docs/stable/jit.html).
func ModuleLoad ¶
Loads a PyTorch saved JIT model from a file.
func ModuleLoadData ¶
Loads a PyTorch saved JIT model from a read instance.
func ModuleLoadDataOnDevice ¶
Loads a PyTorch saved JIT model from a read instance.
This function loads the model directly on the specified device, which means it also allows loading a GPU model on the CPU without having a CUDA enabled GPU.
func ModuleLoadOnDevice ¶
Loads a PyTorch saved JIT model from a file onto the given device.
This function loads the model directly on the specified device, which means it also allows loading a GPU model on the CPU without having a CUDA enabled GPU.
func (*CModule) ForwardIs ¶
ForwardIs performs the forward pass for a model on some specified ivalue input.
func (*CModule) ForwardTs ¶
ForwardTs performs the forward pass for a model on some specified tensor inputs.
func (*CModule) GetProfilingMode ¶
GetProfilingMode get CModule profiling mode
func (*CModule) NamedParameters ¶
func (cm *CModule) NamedParameters() ([]NamedTensor, error)
NamedParameters loads some named tensors from a module.
func (*CModule) SetProfilingMode ¶
SetProfilingMode set CModule profiling mode
type COptimizer ¶
type COptimizer struct {
// contains filtered or unexported fields
}
func Adam ¶
func Adam(lr, beta1, beta2, weightDecay float64) (*COptimizer, error)
Adam returns Adam optimizer
func AdamW ¶
func AdamW(lr, beta1, beta2, weightDecay float64) (*COptimizer, error)
AdamW returns AdamW optimizer
func RmsProp ¶
func RmsProp(lr, alpha, eps, wd, momentum float64, centered bool) (*COptimizer, error)
RmsProp returns RMSProp optimizer
func Sgd ¶
func Sgd(lr, momentum, dampening, wd float64, nesterov bool) (*COptimizer, error)
Sgd returns SGD optimizer
func (*COptimizer) AddParamGroup ¶
func (co *COptimizer) AddParamGroup(tensors []*Tensor) error
func (*COptimizer) AddParameter ¶
func (co *COptimizer) AddParameter(param *Tensor, group uint) error
AddParameter adds a single parameter to parameter group.
func (*COptimizer) AddParameters ¶
func (co *COptimizer) AddParameters(tensors []*Tensor) error
AddParameters adds parameters as a slice of tensors to optimizer
func (*COptimizer) GetLearningRates ¶
func (co *COptimizer) GetLearningRates() ([]float64, error)
GetLeanringRates get learning rates for the optimizer
func (*COptimizer) ParamGroupNum ¶
func (co *COptimizer) ParamGroupNum() (int64, error)
func (*COptimizer) SetLearningRate ¶
func (co *COptimizer) SetLearningRate(lr float64) error
SetLeanringRate sets learning rate for the optimizer
func (*COptimizer) SetLearningRates ¶
func (co *COptimizer) SetLearningRates(lrs []float64) error
func (*COptimizer) SetMomentum ¶
func (co *COptimizer) SetMomentum(m float64) error
SetMomentum sets a momentum for the optimizer
func (*COptimizer) ZeroGrad ¶
func (co *COptimizer) ZeroGrad() error
ZeroGrad sets gradients to zero
type Func ¶
type Func struct {
// contains filtered or unexported fields
}
type FuncInfo ¶
type FuncInfo struct {
Signature string
InArgs []reflect.Value
OutArgs []reflect.Value
IsVariadic bool
}
Func struct contains information of a function
type IValue ¶
type IValue struct {
// contains filtered or unexported fields
}
func IValueFromC ¶
IValueFromC returns an IValue from given CIValue.
It consumes the pointer and frees the associated memory.
func NewIValue ¶
func NewIValue(v interface{}) *IValue
NewIValue creates a new IValue from given value of various types.
func (*IValue) Kind ¶
func (iv *IValue) Kind() IValueKind
type IValueKind ¶
type IValueKind int
const ( NoneVal IValueKind = iota TensorVal // *Tensor DoubleVal // float64 IntVal // int64 BoolVal // bool TupleVal // []*IValue IntListVal // []int64 DoubleListVal // []float64 BoolListVal // []bool StringVal // string TensorListVal // []*Tensor GenericListVal // []*IValue GenericDictVal // map[IValue]IValue - 2 elements GenericVal // *IValue )
type IndexSelect ¶
type IndexSelect struct{ Index *Tensor }
func NewIndexSelect ¶
func NewIndexSelect(ts *Tensor) *IndexSelect
func NewSliceIndex ¶
func NewSliceIndex(sl []int64) *IndexSelect
type InsertNewAxis ¶
type InsertNewAxis struct{}
func NewInsertNewAxis ¶
func NewInsertNewAxis() *InsertNewAxis
type Iter2 ¶
type Iter2 struct {
// contains filtered or unexported fields
}
Iter2 is an iterator over a pair of tensors which have the same first dimension size. The typical use case is to iterate over batches. Each batch is a pair containing a (potentially random) slice of each of the two input tensors.
func MustNewIter2 ¶
MustNewIter2 returns a new iterator.
This takes as input two tensors which first dimension must match. The returned iterator can be used to range over mini-batches of data of specified size. Panics if `xs` and `ys` have different first dimension sizes.
Arguments ¶
* `xs` - the features to be used by the model. * `ys` - the targets that the model attempts to predict. * `batch_size` - the size of batches to be returned.
func NewIter2 ¶
NewIter2 returns a new iterator.
This takes as input two tensors which first dimension must match. The returned iterator can be used to range over mini-batches of data of specified size. An error is returned if `xs` and `ys` have different first dimension sizes.
Arguments ¶
* `xs` - the features to be used by the model. * `ys` - the targets that the model attempts to predict. * `batch_size` - the size of batches to be returned.
func (*Iter2) ReturnSmallLastBatch ¶
ReturnSmallLastBatch when set, returns the last batch even if smaller than the batch size.
type Module ¶
Module interface is a container with only one method `Forward`
The following is `module` concept from Pytorch documenation: Base class for all neural network modules. Your models should also subclass this class. Modules can also contain other Modules, allowing to nest them in a tree structure. You can assign the submodules as regular attributes. Submodules assigned in this way will be registered, and will have their parameters converted too when you call .cuda(), etc.
type ModuleOption ¶
type ModuleOption func() Module
func WithModule ¶
func WithModule(m Module) ModuleOption
type ModuleT ¶
ModuleT is a `Module` with an additional train parameter The train parameter is commonly used to have different behavior between training and evaluation. E.g. When using dropout or batch-normalization.
type ModuleTOption ¶
type ModuleTOption func() ModuleT
func WithModuleT ¶
func WithModuleT(m ModuleT) ModuleTOption
type NamedTensor ¶
NamedTensor wraps C tensor and its name
func LoadMulti ¶
func LoadMulti(path string) ([]NamedTensor, error)
LoadMulti loads some named tensors from a file
The file format is the same as the one used by the PyTorch C++ API.
func LoadMultiWithDevice ¶
func LoadMultiWithDevice(path string, device gotch.Device) ([]NamedTensor, error)
LoadMultiWithDevice loads some named tensors from a file to a given device
The file format is the same as the one used by the PyTorch C++ API.
func MustLoadMulti ¶
func MustLoadMulti(path string) []NamedTensor
MustLoadMulti loads some named tensors from a file. It will panic if error
func MustLoadMultiWithDevice ¶
func MustLoadMultiWithDevice(path string, device gotch.Device) []NamedTensor
MustLoadMulti loads some named tensors from a file. It will panic if error
func ReadNpz ¶
func ReadNpz(filePath string) ([]NamedTensor, error)
ReadNpz reads a compressed numpy file (.npz) and returns named tensors
type NoGradGuard ¶
type NoGradGuard struct {
// contains filtered or unexported fields
}
NoGradGuard is a RAII guard that prevents gradient tracking until deallocated. It actually sets a global flag that is checked by the backend whenever an op is done on a variable. The guard itself saved the current status and set it to false in the constructor. And restore the saved status in it’s destructor. That way it is similar to a with torch.no_grad(): block in python. Ref. https://discuss.pytorch.org/t/how-does-nogradguard-works-in-cpp/34960/2
TODO: should we implement Go `mutex` here???
func NewNoGradGuard ¶
func NewNoGradGuard() *NoGradGuard
Init NoGradGuard and disables gradient tracking
func (*NoGradGuard) Enable ¶
func (ngg *NoGradGuard) Enable()
type NpyHeader ¶
type NpyHeader struct {
// contains filtered or unexported fields
}
func NewNpyHeader ¶
NewHeader creates Header from input data
NOTE. This is mainly for unit test purpose
func ParseNpyHeader ¶
ParseNpyHeader parses the given npy header string.
A typical example would be: {'descr': '<f8', 'fortran_order': False, 'shape': (128,), }
type Scalar ¶
type Scalar struct {
// contains filtered or unexported fields
}
func (*Scalar) Drop ¶
Drop sets scalar to zero and frees up C memory
TODO: Really? after running s.Drop() and s.ToInt() it returns Zero.
type Tensor ¶
type Tensor struct {
// contains filtered or unexported fields
}
Tensor is a Go wrapper of a "C tensor pointer" - 8 Bytes (64-bits OS) or 4 Bytes (32-bits OS). `ctensor` is just a "C pointer" to `torch::Tensor` (torch::Tensor *lib.Ctensor)
NOTE.Tensor should be big enough to be in heap memory. (yes, we choose to place tensor consistently in heap memory so that it can be targeted by Go garbage collector).
For heap allocation see. https://stackoverflow.com/questions/10866195
func AffineGridGenerator ¶
func AffineGridGeneratorOut ¶ added in v0.8.0
func AlignTensors ¶
tensor *atg_align_tensors(tensor *tensors_data, int tensors_len);
func AlphaDropout ¶
func ArangeStart ¶
func ArangeStartStep ¶
func BartlettWindow ¶
func BartlettWindowOut ¶ added in v0.8.0
func BartlettWindowPeriodic ¶
func BartlettWindowPeriodicOut ¶ added in v0.8.0
func BatchNormBackwardElemt ¶
func BatchNormBackwardElemtOut ¶ added in v0.8.0
func BatchNormElemt ¶
func BatchNormElemtOut ¶
func BinomialOut ¶ added in v0.8.0
func BitwiseAndScalarTensor ¶ added in v0.8.0
func BitwiseAndScalarTensorOut ¶ added in v0.8.0
func BitwiseLeftShiftScalarTensorOut ¶ added in v0.8.0
func BitwiseOrScalarTensor ¶ added in v0.8.0
func BitwiseOrScalarTensorOut ¶ added in v0.8.0
func BitwiseRightShiftScalarTensorOut ¶ added in v0.8.0
func BitwiseXorScalarTensor ¶ added in v0.8.0
func BitwiseXorScalarTensorOut ¶ added in v0.8.0
func BlackmanWindow ¶
func BlackmanWindowOut ¶ added in v0.8.0
func BlackmanWindowPeriodic ¶
func BlackmanWindowPeriodicOut ¶ added in v0.8.0
func BlockDiagOut ¶ added in v0.8.0
func BroadcastTensors ¶
tensor *atg_broadcast_tensors(tensor *tensors_data, int tensors_len);
func BucketizeScalar ¶
func BucketizeScalarOut ¶ added in v0.8.0
func CartesianProd ¶
func ChainMatmul ¶
func ChainMatmulOut ¶
func ColumnStack ¶
func ColumnStackOut ¶
func ComplexOut ¶
func Concatenate ¶ added in v0.8.0
func ConcatenateOut ¶ added in v0.8.0
func Conv1dPadding ¶
func Conv2dPadding ¶
func Conv3dPadding ¶
func ConvTranspose1d ¶
func ConvTranspose2d ¶
func ConvTranspose3d ¶
func Convolution ¶
func ConvolutionOut ¶ added in v0.8.0
func ConvolutionOverrideable ¶
func ConvolutionOverrideableOut ¶ added in v0.8.0
func CosineEmbeddingLoss ¶
func CosineSimilarity ¶
func CtcLossTensor ¶
func CudnnAffineGridGeneratorBackwardOut ¶ added in v0.8.0
func CudnnAffineGridGeneratorOut ¶ added in v0.8.0
func CummaxminBackward ¶
func CumprodBackward ¶
func CumulativeTrapezoid ¶
func CumulativeTrapezoidX ¶
func DiagonalBackward ¶
func DiagonalBackwardOut ¶ added in v0.8.0
func EluBackward ¶
func EluBackwardGradInput ¶
func EmbeddingBackward ¶
func EmbeddingDenseBackward ¶
func EmbeddingDenseBackwardOut ¶ added in v0.8.0
func EmbeddingOut ¶ added in v0.8.0
func EmbeddingSparseBackward ¶
func EmptyPermuted ¶ added in v0.9.0
func EmptyPermutedOut ¶ added in v0.9.0
func EmptyQuantized ¶
func EmptyQuantizedOut ¶ added in v0.8.0
func EmptyStrided ¶
func EmptyStridedOut ¶ added in v0.8.0
func FbgemmLinearFp16Weight ¶
func FbgemmLinearInt8Weight ¶
func FeatureAlphaDropout ¶
func FeatureDropout ¶
func FftFftfreq ¶
func FftFftfreqOut ¶
func FftRfftfreq ¶
func FftRfftfreqOut ¶
func FlattenDenseTensors ¶
func FloatPowerScalar ¶
func FloatPowerScalarOut ¶
func FromCtensor ¶
func FromFileOut ¶ added in v0.8.0
func GluBackwardJvp ¶ added in v0.8.0
func GluBackwardJvpOut ¶ added in v0.8.0
func GridSampler ¶
func GridSampler2d ¶
func GridSampler2dOut ¶ added in v0.8.0
func GridSampler3d ¶
func GridSampler3dOut ¶ added in v0.8.0
func HammingWindow ¶
func HammingWindowOut ¶ added in v0.8.0
func HammingWindowPeriodic ¶
func HammingWindowPeriodicAlphaBetaOut ¶ added in v0.8.0
func HammingWindowPeriodicAlphaOut ¶ added in v0.8.0
func HammingWindowPeriodicOut ¶ added in v0.8.0
func HannWindow ¶
func HannWindowOut ¶ added in v0.8.0
func HannWindowPeriodic ¶
func HannWindowPeriodicOut ¶ added in v0.8.0
func IndexSelectBackward ¶
func InstanceNorm ¶
func IsinScalarTensor ¶
func IsinScalarTensorOut ¶
func IsinTensorScalar ¶
func IsinTensorScalarOut ¶
func IsinTensorTensorOut ¶
func KaiserWindow ¶
func KaiserWindowBeta ¶
func KaiserWindowBetaOut ¶ added in v0.8.0
func KaiserWindowOut ¶ added in v0.8.0
func KaiserWindowPeriodic ¶
func KaiserWindowPeriodicOut ¶ added in v0.8.0
func LinalgDetOut ¶ added in v0.8.0
func LinalgDiagonal ¶ added in v0.7.0
func LinalgInvOut ¶ added in v0.8.0
func LinalgLdlSolve ¶ added in v0.8.0
func LinalgLdlSolveOut ¶ added in v0.8.0
func LinalgLuSolve ¶ added in v0.8.0
func LinalgLuSolveOut ¶ added in v0.8.0
func LinalgMatrixRankAtolRtolTensor ¶ added in v0.7.0
func LinalgMatrixRankAtolRtolTensorOut ¶ added in v0.7.0
func LinalgMultiDot ¶
func LinalgMultiDotOut ¶
func LinalgSolveOut ¶
func LinalgSvdvalsOut ¶
func LinalgVander ¶ added in v0.8.0
func LinalgVecdot ¶ added in v0.8.0
func LinalgVecdotOut ¶ added in v0.8.0
func LinspaceOut ¶
func LogspaceOut ¶
func MarginRankingLoss ¶
func MaskedSelectBackward ¶
func MkldnnLinearBackwardInputOut ¶ added in v0.8.0
func MkldnnMaxPool2dBackward ¶
func MkldnnMaxPool2dBackwardOut ¶ added in v0.8.0
func MkldnnMaxPool3dBackward ¶
func MkldnnMaxPool3dBackwardOut ¶ added in v0.8.0
func MustAffineGridGenerator ¶
func MustAffineGridGeneratorOut ¶ added in v0.8.0
func MustAlignTensors ¶
func MustAlphaDropout ¶
func MustArange ¶
func MustArangeStart ¶
func MustArangeStartStep ¶
func MustBartlettWindow ¶
func MustBartlettWindowOut ¶ added in v0.8.0
func MustBartlettWindowPeriodicOut ¶ added in v0.8.0
func MustBatchNorm ¶
func MustBatchNormBackwardElemtOut ¶ added in v0.8.0
func MustBatchNormElemt ¶
func MustBatchNormElemtOut ¶
func MustBilinear ¶
func MustBinomial ¶
func MustBinomialOut ¶ added in v0.8.0
func MustBitwiseAndScalarTensor ¶ added in v0.8.0
func MustBitwiseAndScalarTensorOut ¶ added in v0.8.0
func MustBitwiseLeftShiftScalarTensorOut ¶ added in v0.8.0
func MustBitwiseOrScalarTensor ¶ added in v0.8.0
func MustBitwiseOrScalarTensorOut ¶ added in v0.8.0
func MustBitwiseRightShiftScalarTensorOut ¶ added in v0.8.0
func MustBitwiseXorScalarTensor ¶ added in v0.8.0
func MustBitwiseXorScalarTensorOut ¶ added in v0.8.0
func MustBlackmanWindow ¶
func MustBlackmanWindowOut ¶ added in v0.8.0
func MustBlackmanWindowPeriodicOut ¶ added in v0.8.0
func MustBlockDiag ¶
func MustBlockDiagOut ¶ added in v0.8.0
func MustBroadcastTensors ¶
func MustBucketizeScalar ¶
func MustBucketizeScalarOut ¶ added in v0.8.0
func MustCartesianProd ¶
func MustChainMatmul ¶
func MustChainMatmulOut ¶
func MustColumnStack ¶
func MustColumnStackOut ¶
func MustComplex ¶
func MustConcat ¶
func MustConcatenate ¶ added in v0.8.0
func MustConcatenateOut ¶ added in v0.8.0
func MustConv1d ¶
func MustConv1dPadding ¶
func MustConv2d ¶
func MustConv2dPadding ¶
func MustConv3d ¶
func MustConv3dPadding ¶
func MustConvTranspose1d ¶
func MustConvTranspose2d ¶
func MustConvTranspose3d ¶
func MustConvolution ¶
func MustConvolutionOut ¶ added in v0.8.0
func MustConvolutionOverrideableOut ¶ added in v0.8.0
func MustCosineEmbeddingLoss ¶
func MustCosineSimilarity ¶
func MustCtcLoss ¶
func MustCtcLossTensor ¶
func MustCudnnAffineGridGeneratorBackwardOut ¶ added in v0.8.0
func MustCudnnAffineGridGeneratorOut ¶ added in v0.8.0
func MustCummaxminBackward ¶
func MustCumprodBackward ¶
func MustCumulativeTrapezoid ¶
func MustDiagonalBackward ¶
func MustDiagonalBackwardOut ¶ added in v0.8.0
func MustDstack ¶
func MustDstackOut ¶
func MustEinsum ¶
func MustEluBackward ¶
func MustEmbedding ¶
func MustEmbeddingBackward ¶
func MustEmbeddingDenseBackwardOut ¶ added in v0.8.0
func MustEmbeddingOut ¶ added in v0.8.0
func MustEmptyOut ¶
func MustEmptyPermuted ¶ added in v0.9.0
func MustEmptyPermutedOut ¶ added in v0.9.0
func MustEmptyQuantized ¶
func MustEmptyQuantizedOut ¶ added in v0.8.0
func MustEmptyStrided ¶
func MustEmptyStridedOut ¶ added in v0.8.0
func MustEyeOut ¶
func MustFeatureAlphaDropout ¶
func MustFeatureDropout ¶
func MustFftFftfreq ¶
func MustFftRfftfreq ¶
func MustFlattenDenseTensors ¶
func MustFloatPowerScalar ¶
func MustFloatPowerScalarOut ¶
func MustFromFile ¶
func MustFromFileOut ¶ added in v0.8.0
func MustGluBackwardJvp ¶ added in v0.8.0
func MustGluBackwardJvpOut ¶ added in v0.8.0
func MustGluJvp ¶ added in v0.8.0
func MustGluJvpOut ¶ added in v0.8.0
func MustGridSampler ¶
func MustGridSampler2d ¶
func MustGridSampler2dOut ¶ added in v0.8.0
func MustGridSampler3d ¶
func MustGridSampler3dOut ¶ added in v0.8.0
func MustGroupNorm ¶
func MustGruCell ¶
func MustHammingWindow ¶
func MustHammingWindowOut ¶ added in v0.8.0
func MustHammingWindowPeriodicAlphaBetaOut ¶ added in v0.8.0
func MustHammingWindowPeriodicAlphaOut ¶ added in v0.8.0
func MustHammingWindowPeriodicOut ¶ added in v0.8.0
func MustHannWindow ¶
func MustHannWindowOut ¶ added in v0.8.0
func MustHannWindowPeriodic ¶
func MustHannWindowPeriodicOut ¶ added in v0.8.0
func MustHstack ¶
func MustHstackOut ¶
func MustIndexSelectBackward ¶
func MustInstanceNorm ¶
func MustIsinScalarTensor ¶
func MustIsinScalarTensorOut ¶
func MustIsinTensorScalar ¶
func MustIsinTensorScalarOut ¶
func MustIsinTensorTensorOut ¶
func MustKaiserWindow ¶
func MustKaiserWindowBeta ¶
func MustKaiserWindowBetaOut ¶ added in v0.8.0
func MustKaiserWindowOut ¶ added in v0.8.0
func MustKaiserWindowPeriodicOut ¶ added in v0.8.0
func MustLayerNorm ¶
func MustLinalgDet ¶ added in v0.8.0
func MustLinalgDetOut ¶ added in v0.8.0
func MustLinalgDiagonal ¶ added in v0.7.0
func MustLinalgInv ¶ added in v0.8.0
func MustLinalgInvOut ¶ added in v0.8.0
func MustLinalgLdlSolve ¶ added in v0.8.0
func MustLinalgLdlSolveOut ¶ added in v0.8.0
func MustLinalgLuSolve ¶ added in v0.8.0
func MustLinalgLuSolveOut ¶ added in v0.8.0
func MustLinalgMatrixRankAtolRtolTensor ¶ added in v0.7.0
func MustLinalgMatrixRankAtolRtolTensorOut ¶ added in v0.7.0
func MustLinalgMultiDot ¶
func MustLinalgMultiDotOut ¶
func MustLinalgSolveOut ¶
func MustLinalgSvdvals ¶
func MustLinalgSvdvalsOut ¶
func MustLinalgVander ¶ added in v0.8.0
func MustLinalgVecdot ¶ added in v0.8.0
func MustLinalgVecdotOut ¶ added in v0.8.0
func MustLinearOut ¶
func MustLinspace ¶
func MustLinspaceOut ¶
func MustLogspace ¶
func MustLogspaceOut ¶
func MustMarginRankingLoss ¶
func MustMeshgrid ¶
func MustMkldnnLinearBackwardInputOut ¶ added in v0.8.0
func MustMkldnnMaxPool2dBackwardOut ¶ added in v0.8.0
func MustMkldnnMaxPool3dBackwardOut ¶ added in v0.8.0
func MustNativeDropoutBackward ¶ added in v0.7.0
func MustNativeDropoutBackwardOut ¶ added in v0.8.0
func MustOfDataSize ¶
MustOfDataSize create Tensor from input byte data and specified shape and dtype or panic if error
func MustOfSlice ¶
MustOfSlice create a tensor from slice of data. It will be panic if error.
func MustOnesOut ¶
func MustPadSequence ¶
func MustPairwiseDistance ¶
func MustPoissonNllLoss ¶
func MustPowScalar ¶
func MustPowScalarOut ¶
func MustQuantizedBatchNorm ¶
func MustQuantizedBatchNormOut ¶ added in v0.8.0
func MustQuantizedGruCell ¶
func MustRandOut ¶
func MustRandint ¶
func MustRandintLow ¶
func MustRandintLowOut ¶
func MustRandnOut ¶
func MustRandperm ¶
func MustRandpermOut ¶
func MustRangeOut_ ¶ added in v0.8.0
func MustRangeStep ¶
func MustRemainderScalarTensorOut ¶ added in v0.8.0
func MustRepeatInterleave ¶
func MustRepeatInterleaveTensorOut ¶ added in v0.8.0
func MustRnnReluCell ¶
func MustRnnTanhCell ¶
func MustRowStack ¶
func MustRowStackOut ¶
func MustScalarTensor ¶
func MustScalarTensorOut ¶ added in v0.8.0
func MustScaledDotProductAttention ¶ added in v0.8.0
func MustSearchsortedScalar ¶
func MustSearchsortedScalarOut ¶ added in v0.8.0
func MustSegmentReduce ¶
func MustSegmentReduceOut ¶ added in v0.8.0
func MustSelectBackward ¶
func MustSelectBackwardOut ¶ added in v0.8.0
func MustSigmoidBackward ¶
func MustSliceBackward ¶
func MustSliceBackwardOut ¶ added in v0.8.0
func MustSparseBscTensor ¶ added in v0.8.0
func MustSparseBscTensorCcolRowValueSize ¶ added in v0.8.0
func MustSparseBsrTensor ¶ added in v0.8.0
func MustSparseBsrTensorCrowColValueSize ¶ added in v0.8.0
func MustSparseCompressedTensor ¶ added in v0.8.0
func MustSparseCompressedTensorCompPlainValueSize ¶ added in v0.8.0
func MustSparseCooTensor ¶
func MustSparseCooTensorSizeOut ¶ added in v0.8.0
func MustSparseCscTensor ¶ added in v0.8.0
func MustSparseCscTensorCcolRowValueSize ¶ added in v0.8.0
func MustSparseCsrTensor ¶
func MustSpecialAiryAi ¶ added in v0.8.0
func MustSpecialAiryAiOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialT ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialTNScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialTNScalarOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialTOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialTXScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialTXScalarOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialU ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialUNScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialUNScalarOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialUOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialUXScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialUXScalarOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialV ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialVNScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialVNScalarOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialVOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialVXScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialVXScalarOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialW ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialWNScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialWNScalarOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialWOut ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialWXScalar ¶ added in v0.8.0
func MustSpecialChebyshevPolynomialWXScalarOut ¶ added in v0.8.0
func MustSpecialHermitePolynomialH ¶ added in v0.8.0
func MustSpecialHermitePolynomialHNScalar ¶ added in v0.8.0
func MustSpecialHermitePolynomialHNScalarOut ¶ added in v0.8.0
func MustSpecialHermitePolynomialHOut ¶ added in v0.8.0
func MustSpecialHermitePolynomialHXScalar ¶ added in v0.8.0
func MustSpecialHermitePolynomialHXScalarOut ¶ added in v0.8.0
func MustSpecialHermitePolynomialHe ¶ added in v0.8.0
func MustSpecialHermitePolynomialHeNScalar ¶ added in v0.8.0
func MustSpecialHermitePolynomialHeNScalarOut ¶ added in v0.8.0
func MustSpecialHermitePolynomialHeOut ¶ added in v0.8.0
func MustSpecialHermitePolynomialHeXScalar ¶ added in v0.8.0
func MustSpecialHermitePolynomialHeXScalarOut ¶ added in v0.8.0
func MustSpecialLaguerrePolynomialL ¶ added in v0.8.0
func MustSpecialLaguerrePolynomialLNScalar ¶ added in v0.8.0
func MustSpecialLaguerrePolynomialLNScalarOut ¶ added in v0.8.0
func MustSpecialLaguerrePolynomialLOut ¶ added in v0.8.0
func MustSpecialLaguerrePolynomialLXScalar ¶ added in v0.8.0
func MustSpecialLaguerrePolynomialLXScalarOut ¶ added in v0.8.0
func MustSpecialLegendrePolynomialP ¶ added in v0.8.0
func MustSpecialLegendrePolynomialPNScalar ¶ added in v0.8.0
func MustSpecialLegendrePolynomialPNScalarOut ¶ added in v0.8.0
func MustSpecialLegendrePolynomialPOut ¶ added in v0.8.0
func MustSpecialLegendrePolynomialPXScalar ¶ added in v0.8.0
func MustSpecialLegendrePolynomialPXScalarOut ¶ added in v0.8.0
func MustSpecialScaledModifiedBesselK0 ¶ added in v0.8.0
func MustSpecialScaledModifiedBesselK0Out ¶ added in v0.8.0
func MustSpecialScaledModifiedBesselK1 ¶ added in v0.8.0
func MustSpecialScaledModifiedBesselK1Out ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialT ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialTNScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialTNScalarOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialTOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialTXScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialTXScalarOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialU ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialUNScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialUNScalarOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialUOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialUXScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialUXScalarOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialV ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialVNScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialVNScalarOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialVOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialVXScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialVXScalarOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialW ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialWNScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialWNScalarOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialWOut ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialWXScalar ¶ added in v0.8.0
func MustSpecialShiftedChebyshevPolynomialWXScalarOut ¶ added in v0.8.0
func MustSpecialSphericalBesselJ0 ¶ added in v0.8.0
func MustSpecialSphericalBesselJ0Out ¶ added in v0.8.0
func MustTanhBackward ¶
func MustToDenseBackward ¶
func MustToMkldnnBackward ¶
func MustTraceBackward ¶
func MustTrapezoid ¶
func MustTrilIndices ¶
func MustTrilIndicesOut ¶ added in v0.8.0
func MustTripletMarginLoss ¶
func MustTriuIndices ¶
func MustTriuIndicesOut ¶ added in v0.8.0
func MustUnfoldBackward ¶
func MustUnfoldBackwardOut ¶ added in v0.8.0
func MustUpsampleBicubic2dVec ¶ added in v0.8.0
func MustUpsampleBilinear2dVec ¶ added in v0.8.0
func MustUpsampleLinear1dVec ¶ added in v0.8.0
func MustUpsampleNearest1dVec ¶ added in v0.8.0
func MustUpsampleNearest2dVec ¶ added in v0.8.0
func MustUpsampleNearest3dVec ¶ added in v0.8.0
func MustUpsampleTrilinear3dVec ¶ added in v0.8.0
func MustVstack ¶
func MustVstackOut ¶
func MustWhereScalar ¶
func MustWhereScalarself ¶
func MustXlogyOutscalarSelf ¶
func MustXlogyScalarSelf ¶
func MustZerosOut ¶
func Must_CdistBackward ¶
func Must_CdistBackwardOut ¶ added in v0.8.0
func Must_ConvertIndicesFromCsrToCoo ¶ added in v0.7.0
func Must_ConvertIndicesFromCsrToCooOut ¶ added in v0.7.0
func Must_Convolution ¶
func Must_ConvolutionMode ¶
func Must_ConvolutionOut ¶ added in v0.8.0
func Must_CsltCompress ¶ added in v0.9.0
func Must_CsltSparseMm ¶ added in v0.9.0
func Must_CtcLossBackward ¶
func Must_CtcLossBackwardOut ¶ added in v0.8.0
func Must_CtcLossBackwardTensor ¶ added in v0.8.0
func Must_CudnnInitDropoutStateOut ¶ added in v0.8.0
func Must_CudnnRnnFlattenWeightOut ¶ added in v0.8.0
func Must_DimArange ¶
func Must_DirichletGrad ¶
func Must_DirichletGradOut ¶ added in v0.8.0
func Must_Efficientzerotensor ¶ added in v0.7.0
func Must_EfficientzerotensorOut ¶ added in v0.8.0
func Must_EmbeddingBagDenseBackwardOut ¶ added in v0.8.0
func Must_EmbeddingBagPerSampleWeightsBackwardOut ¶ added in v0.8.0
func Must_EmptyAffineQuantizedOut ¶ added in v0.8.0
func Must_EmptyPerChannelAffineQuantizedOut ¶ added in v0.8.0
func Must_EuclideanDist ¶
func Must_EuclideanDistOut ¶ added in v0.8.0
func Must_FunctionalSymConstrainRange ¶ added in v0.9.0
func Must_FunctionalSymConstrainRangeForSize ¶ added in v0.9.0
func Must_GridSampler2dCpuFallbackOut ¶ added in v0.8.0
func Must_LogSoftmaxBackwardData ¶ added in v0.7.0
func Must_LogSoftmaxBackwardDataOut ¶ added in v0.7.0
func Must_MakeDepToken ¶ added in v0.9.0
func Must_MakeDual ¶
func Must_MakeDualCopy ¶ added in v0.8.0
func Must_MakeDualCopyOut ¶ added in v0.8.0
func Must_MaskedSoftmaxBackward ¶ added in v0.8.0
func Must_MaskedSoftmaxBackwardOut ¶ added in v0.8.0
func Must_NestedFromPadded ¶ added in v0.8.0
func Must_NestedFromPaddedAndNestedExample ¶ added in v0.8.0
func Must_NestedFromPaddedAndNestedExampleOut ¶ added in v0.8.0
func Must_NestedFromPaddedOut ¶ added in v0.8.0
func Must_NnpackSpatialConvolutionOut ¶ added in v0.8.0
func Must_SegmentReduceBackwardOut ¶ added in v0.8.0
func Must_SoftmaxBackwardData ¶ added in v0.7.0
func Must_SoftmaxBackwardDataOut ¶ added in v0.7.0
func Must_SparseBscTensorUnsafe ¶ added in v0.8.0
func Must_SparseBsrTensorUnsafe ¶ added in v0.8.0
func Must_SparseCompressedTensorUnsafe ¶ added in v0.8.0
func Must_SparseCooTensorWithDimsAndTensorsOut ¶ added in v0.8.0
func Must_SparseCooTensorWithDimsOut ¶ added in v0.8.0
func Must_SparseCscTensorUnsafe ¶ added in v0.8.0
func Must_SparseMm ¶
func Must_SparseMmReduce ¶ added in v0.8.0
func Must_SparseSemiStructuredLinear ¶ added in v0.9.0
func Must_Spdiags ¶ added in v0.8.0
func Must_SpdiagsOut ¶ added in v0.8.0
func Must_Stack ¶
func Must_TestOptionalFilledIntlistOut ¶ added in v0.8.0
func Must_TestOptionalFloatlist ¶ added in v0.8.0
func Must_TestOptionalFloatlistOut ¶ added in v0.8.0
func Must_TestOptionalIntlistOut ¶ added in v0.8.0
func Must_TestStringDefault ¶
func Must_TransformerEncoderLayerFwd ¶ added in v0.8.0
func Must_TransformerEncoderLayerFwd(src *Tensor, embedDim int64, numHeads int64, qkvWeight *Tensor, qkvBias *Tensor, projWeight *Tensor, projBias *Tensor, useGelu bool, normFirst bool, eps float64, normWeight1 *Tensor, normBias1 *Tensor, normWeight2 *Tensor, normBias2 *Tensor, ffnWeight1 *Tensor, ffnBias1 *Tensor, ffnWeight2 *Tensor, ffnBias2 *Tensor, mask *Tensor, maskType []int64) (retVal *Tensor)
func Must_TransformerEncoderLayerFwdOut ¶ added in v0.8.0
func Must_TransformerEncoderLayerFwdOut(out *Tensor, src *Tensor, embedDim int64, numHeads int64, qkvWeight *Tensor, qkvBias *Tensor, projWeight *Tensor, projBias *Tensor, useGelu bool, normFirst bool, eps float64, normWeight1 *Tensor, normBias1 *Tensor, normWeight2 *Tensor, normBias2 *Tensor, ffnWeight1 *Tensor, ffnBias1 *Tensor, ffnWeight2 *Tensor, ffnBias2 *Tensor, mask *Tensor, maskType []int64) (retVal *Tensor)
func Must_Trilinear ¶
func Must_TrilinearOut ¶ added in v0.8.0
func Must_TritonMultiHeadAttention ¶ added in v0.8.0
func Must_TritonMultiHeadAttentionOut ¶ added in v0.8.0
func Must_TritonScaledDotAttention ¶ added in v0.8.0
func Must_TritonScaledDotAttentionOut ¶ added in v0.8.0
func Must_UpsampleBicubic2dAaBackward ¶ added in v0.7.0
func Must_UpsampleBicubic2dAaBackwardGradInput ¶ added in v0.7.0
func Must_UpsampleBicubic2dAaVec ¶ added in v0.8.0
func Must_UpsampleBilinear2dAaBackward ¶ added in v0.7.0
func Must_UpsampleBilinear2dAaBackwardGradInput ¶ added in v0.7.0
func Must_UpsampleBilinear2dAaVec ¶ added in v0.8.0
func Must_UpsampleNearestExact1dBackward ¶ added in v0.7.0
func Must_UpsampleNearestExact1dBackwardGradInput ¶ added in v0.7.0
func Must_UpsampleNearestExact1dVec ¶ added in v0.8.0
func Must_UpsampleNearestExact2dBackward ¶ added in v0.7.0
func Must_UpsampleNearestExact2dBackwardGradInput ¶ added in v0.7.0
func Must_UpsampleNearestExact2dVec ¶ added in v0.8.0
func Must_UpsampleNearestExact3dBackward ¶ added in v0.7.0
func Must_UpsampleNearestExact3dBackwardGradInput ¶ added in v0.7.0
func Must_UpsampleNearestExact3dVec ¶ added in v0.8.0
func NativeDropoutBackward ¶ added in v0.7.0
func NativeDropoutBackwardOut ¶ added in v0.8.0
func NewTensorFromData ¶
NewTensorFromData creates tensor from given data and shape
func NormExceptDim ¶
func OfDataSize ¶
OfDataSize creates Tensor from input byte data, shape and dtype.
func PadSequence ¶
func PairwiseDistance ¶
func PoissonNllLoss ¶
func PowScalarOut ¶
func QuantizedBatchNorm ¶
func QuantizedBatchNormOut ¶ added in v0.8.0
func QuantizedGruCell ¶
func QuantizedRnnReluCell ¶
func QuantizedRnnTanhCell ¶
func RandintLow ¶
func RandintLowOut ¶
func RandintOut ¶
func RemainderScalarTensor ¶
func RemainderScalarTensorOut ¶ added in v0.8.0
func RepeatInterleave ¶
func RepeatInterleaveTensorOut ¶ added in v0.8.0
func ResizeHwc ¶
ResizeHwc expects a tensor of shape [height, width, channels]. On success returns a tensor of shape [height, width, channels].
func RnnReluCell ¶
func RnnTanhCell ¶
func RunBackward ¶
func RunBackward(tensors []*Tensor, inputs []*Tensor, keepGraphB bool, createGraphB bool) ([]*Tensor, error)
RunBackward runs the backward ...
func ScalarTensor ¶
func ScalarTensorOut ¶ added in v0.8.0
func ScaledDotProductAttention ¶ added in v0.8.0
func SearchsortedScalar ¶
func SearchsortedScalarOut ¶ added in v0.8.0
func SegmentReduce ¶
func SegmentReduceOut ¶ added in v0.8.0
func SelectBackward ¶
func SelectBackwardOut ¶ added in v0.8.0
func SigmoidBackward ¶
func SliceBackward ¶
func SliceBackwardOut ¶ added in v0.8.0
func SparseBscTensor ¶ added in v0.8.0
func SparseBscTensorCcolRowValueSize ¶ added in v0.8.0
func SparseBsrTensor ¶ added in v0.8.0
func SparseBsrTensorCrowColValueSize ¶ added in v0.8.0
func SparseCompressedTensor ¶ added in v0.8.0
func SparseCompressedTensorCompPlainValueSize ¶ added in v0.8.0
func SparseCooTensor ¶
func SparseCooTensorIndices ¶
func SparseCooTensorSizeOut ¶ added in v0.8.0
func SparseCscTensor ¶ added in v0.8.0
func SparseCscTensorCcolRowValueSize ¶ added in v0.8.0
func SparseCsrTensor ¶
func SpecialAiryAi ¶ added in v0.8.0
func SpecialAiryAiOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialT ¶ added in v0.8.0
func SpecialChebyshevPolynomialTNScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialTNScalarOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialTOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialTXScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialTXScalarOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialU ¶ added in v0.8.0
func SpecialChebyshevPolynomialUNScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialUNScalarOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialUOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialUXScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialUXScalarOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialV ¶ added in v0.8.0
func SpecialChebyshevPolynomialVNScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialVNScalarOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialVOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialVXScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialVXScalarOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialW ¶ added in v0.8.0
func SpecialChebyshevPolynomialWNScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialWNScalarOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialWOut ¶ added in v0.8.0
func SpecialChebyshevPolynomialWXScalar ¶ added in v0.8.0
func SpecialChebyshevPolynomialWXScalarOut ¶ added in v0.8.0
func SpecialHermitePolynomialH ¶ added in v0.8.0
func SpecialHermitePolynomialHNScalar ¶ added in v0.8.0
func SpecialHermitePolynomialHNScalarOut ¶ added in v0.8.0
func SpecialHermitePolynomialHOut ¶ added in v0.8.0
func SpecialHermitePolynomialHXScalar ¶ added in v0.8.0
func SpecialHermitePolynomialHXScalarOut ¶ added in v0.8.0
func SpecialHermitePolynomialHe ¶ added in v0.8.0
func SpecialHermitePolynomialHeNScalar ¶ added in v0.8.0
func SpecialHermitePolynomialHeNScalarOut ¶ added in v0.8.0
func SpecialHermitePolynomialHeOut ¶ added in v0.8.0
func SpecialHermitePolynomialHeXScalar ¶ added in v0.8.0
func SpecialHermitePolynomialHeXScalarOut ¶ added in v0.8.0
func SpecialLaguerrePolynomialL ¶ added in v0.8.0
func SpecialLaguerrePolynomialLNScalar ¶ added in v0.8.0
func SpecialLaguerrePolynomialLNScalarOut ¶ added in v0.8.0
func SpecialLaguerrePolynomialLOut ¶ added in v0.8.0
func SpecialLaguerrePolynomialLXScalar ¶ added in v0.8.0
func SpecialLaguerrePolynomialLXScalarOut ¶ added in v0.8.0
func SpecialLegendrePolynomialP ¶ added in v0.8.0
func SpecialLegendrePolynomialPNScalar ¶ added in v0.8.0
func SpecialLegendrePolynomialPNScalarOut ¶ added in v0.8.0
func SpecialLegendrePolynomialPOut ¶ added in v0.8.0
func SpecialLegendrePolynomialPXScalar ¶ added in v0.8.0
func SpecialLegendrePolynomialPXScalarOut ¶ added in v0.8.0
func SpecialScaledModifiedBesselK0 ¶ added in v0.8.0
func SpecialScaledModifiedBesselK0Out ¶ added in v0.8.0
func SpecialScaledModifiedBesselK1 ¶ added in v0.8.0
func SpecialScaledModifiedBesselK1Out ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialT ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialTNScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialTNScalarOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialTOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialTXScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialTXScalarOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialU ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialUNScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialUNScalarOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialUOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialUXScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialUXScalarOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialV ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialVNScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialVNScalarOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialVOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialVXScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialVXScalarOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialW ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialWNScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialWNScalarOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialWOut ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialWXScalar ¶ added in v0.8.0
func SpecialShiftedChebyshevPolynomialWXScalarOut ¶ added in v0.8.0
func SpecialSphericalBesselJ0 ¶ added in v0.8.0
func SpecialSphericalBesselJ0Out ¶ added in v0.8.0
func SpecialXlogySelfScalar ¶
func SpecialZetaSelfScalar ¶
func TanhBackward ¶
func TanhBackwardGradInput ¶
func TensorFrom ¶
TensorFrom create a tensor from slice of data. It will be panic if error.
func ToDenseBackward ¶
func ToMkldnnBackward ¶
func TrilIndices ¶
func TrilIndicesOut ¶ added in v0.8.0
func TripletMarginLoss ¶
func TriuIndices ¶
func TriuIndicesOut ¶ added in v0.8.0
func UnfoldBackward ¶
func UnfoldBackwardOut ¶ added in v0.8.0
func UpsampleBicubic2dVec ¶ added in v0.8.0
func UpsampleBilinear2dVec ¶ added in v0.8.0
func UpsampleLinear1dVec ¶ added in v0.8.0
func UpsampleNearest1dVec ¶ added in v0.8.0
func UpsampleNearest2dVec ¶ added in v0.8.0
func UpsampleNearest3dVec ¶ added in v0.8.0
func UpsampleTrilinear3dVec ¶ added in v0.8.0
func WhereScalar ¶
func WhereScalarself ¶
func XlogyOutscalarSelf ¶
func XlogyScalarSelf ¶
func (*Tensor) AbsoluteOut ¶
func (*Tensor) AccuracyForLogits ¶
AccuracyForLogits returns the average accuracy for some given logits assuming that targets represent ground-truth.
func (*Tensor) AdaptiveAvgPool1d ¶
func (*Tensor) AdaptiveAvgPool2d ¶
func (*Tensor) AdaptiveAvgPool2dOut ¶
func (*Tensor) AdaptiveAvgPool3d ¶
func (*Tensor) AdaptiveAvgPool3dBackward ¶
func (*Tensor) AdaptiveAvgPool3dOut ¶
func (*Tensor) AdaptiveMaxPool1d ¶
func (ts *Tensor) AdaptiveMaxPool1d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) AdaptiveMaxPool2d ¶
func (ts *Tensor) AdaptiveMaxPool2d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) AdaptiveMaxPool2dBackward ¶
func (*Tensor) AdaptiveMaxPool2dBackwardGradInput ¶
func (*Tensor) AdaptiveMaxPool2dOut ¶
func (ts *Tensor) AdaptiveMaxPool2dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) AdaptiveMaxPool3d ¶
func (ts *Tensor) AdaptiveMaxPool3d(outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) AdaptiveMaxPool3dBackward ¶
func (*Tensor) AdaptiveMaxPool3dBackwardGradInput ¶
func (*Tensor) AdaptiveMaxPool3dOut ¶
func (ts *Tensor) AdaptiveMaxPool3dOut(out *Tensor, indices *Tensor, outputSize []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) AddScalarOut ¶ added in v0.8.0
func (*Tensor) AddScalar_ ¶
Example ¶
package main
import (
"fmt"
"github.com/sugarme/gotch"
"github.com/sugarme/gotch/ts"
)
func main() {
// In-place operation
ts3 := ts.MustOnes([]int64{2, 3}, gotch.Float, gotch.CPU)
fmt.Println("Before:")
ts3.Print()
ts3.MustAddScalar_(ts.FloatScalar(2.0))
fmt.Printf("After (ts3 + 2.0): \n")
ts3.Print()
ts3.MustDrop()
//Before:
// 1 1 1
// 1 1 1
//[ CPUFloatType{2,3} ]
//After (ts3 + 2.0):
// 3 3 3
// 3 3 3
//[ CPUFloatType{2,3} ]
}
func (*Tensor) AddcdivOut ¶
func (*Tensor) AddcmulOut ¶
func (*Tensor) AliasCopyOut ¶ added in v0.8.0
func (*Tensor) Allclose ¶
func (ts *Tensor) Allclose(other *Tensor, rtol float64, atol float64, equalNan bool, del bool) (retVal bool, err error)
func.returns = `bool`: --------------------------
func (*Tensor) Aminmax ¶
func (ts *Tensor) Aminmax(dim []int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) AminmaxOut ¶
func (ts *Tensor) AminmaxOut(min *Tensor, max *Tensor, dim []int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) ApplyCModule ¶
Apply forwards tensor itself through a module.
func (*Tensor) ApplyOpt ¶
func (ts *Tensor) ApplyOpt(opts ...ModuleOption) (retVal *Tensor)
ApplyOpt forwards a tensor itself through a module if given, shallow-copies the tensor otherwise.
func (*Tensor) ApplyOptT ¶
func (ts *Tensor) ApplyOptT(train bool, opts ...ModuleTOption) (retVal *Tensor)
ApplyOptT forwards a tensor itself through a module T if given, shallow-copies the tensor otherwise.
func (*Tensor) ArccoshOut ¶
func (*Tensor) ArcsinhOut ¶
func (*Tensor) Arctan2Out ¶ added in v0.7.0
func (*Tensor) ArctanhOut ¶
func (*Tensor) ArgsortStable ¶ added in v0.8.0
func (*Tensor) ArgsortStableOut ¶ added in v0.8.0
func (*Tensor) AsStridedCopy ¶ added in v0.8.0
func (*Tensor) AsStridedCopyOut ¶ added in v0.8.0
func (*Tensor) AsStridedScatter ¶ added in v0.8.0
func (*Tensor) AsStridedScatterOut ¶ added in v0.8.0
func (*Tensor) AsStrided_ ¶
func (*Tensor) AvgPool2dBackward ¶
func (*Tensor) AvgPool2dBackwardGradInput ¶
func (*Tensor) AvgPool2dOut ¶
func (*Tensor) AvgPool3dBackward ¶
func (*Tensor) AvgPool3dBackwardGradInput ¶
func (*Tensor) AvgPool3dOut ¶
func (*Tensor) Backward ¶
Backward runs the backward pass, populating the gradient tensors for tensors which gradients are tracked.
Gradients tracking can be turned on via `SetRequiresGrad`.
func (*Tensor) BaddbmmOut ¶
func (*Tensor) BernoulliFloat_ ¶
func (*Tensor) BernoulliP ¶
func (*Tensor) BernoulliTensor ¶ added in v0.8.0
func (*Tensor) Bernoulli_ ¶
func (*Tensor) BinaryCrossEntropy ¶
func (*Tensor) BinaryCrossEntropyBackward ¶
func (*Tensor) BinaryCrossEntropyBackwardGradInput ¶
func (*Tensor) BinaryCrossEntropyOut ¶
func (*Tensor) BinaryCrossEntropyWithLogits ¶
func (*Tensor) BinaryCrossEntropyWithLogitsOut ¶ added in v0.8.0
func (*Tensor) BincountOut ¶ added in v0.8.0
func (*Tensor) BitwiseAnd ¶
func (*Tensor) BitwiseAndScalarOut ¶
func (*Tensor) BitwiseAndTensor ¶
func (*Tensor) BitwiseAndTensorOut ¶
func (*Tensor) BitwiseAndTensor_ ¶
func (*Tensor) BitwiseAnd_ ¶
func (*Tensor) BitwiseLeftShift ¶
func (*Tensor) BitwiseLeftShiftTensorOut ¶
func (*Tensor) BitwiseLeftShiftTensorScalar ¶
func (*Tensor) BitwiseLeftShiftTensorScalarOut ¶
func (*Tensor) BitwiseLeftShiftTensorScalar_ ¶
func (*Tensor) BitwiseLeftShift_ ¶
func (*Tensor) BitwiseNotOut ¶
func (*Tensor) BitwiseNot_ ¶
func (*Tensor) BitwiseOrScalarOut ¶
func (*Tensor) BitwiseOrTensor ¶
func (*Tensor) BitwiseOrTensorOut ¶
func (*Tensor) BitwiseOrTensor_ ¶
func (*Tensor) BitwiseOr_ ¶
func (*Tensor) BitwiseRightShift ¶
func (*Tensor) BitwiseRightShiftTensorOut ¶
func (*Tensor) BitwiseRightShiftTensorScalar ¶
func (*Tensor) BitwiseRightShiftTensorScalarOut ¶
func (*Tensor) BitwiseRightShiftTensorScalar_ ¶
func (*Tensor) BitwiseRightShift_ ¶
func (*Tensor) BitwiseXor ¶
func (*Tensor) BitwiseXorScalarOut ¶
func (*Tensor) BitwiseXorTensor ¶
func (*Tensor) BitwiseXorTensorOut ¶
func (*Tensor) BitwiseXorTensor_ ¶
func (*Tensor) BitwiseXor_ ¶
func (*Tensor) BroadcastTo ¶
func (*Tensor) BucketizeTensorOut ¶
func (*Tensor) CcolIndices ¶ added in v0.8.0
func (*Tensor) CcolIndicesCopy ¶ added in v0.8.0
func (*Tensor) CcolIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) ChannelShuffle ¶
func (*Tensor) ChannelShuffleOut ¶ added in v0.8.0
func (*Tensor) CholeskyInverse ¶
func (*Tensor) CholeskyInverseOut ¶
func (*Tensor) CholeskyOut ¶
func (*Tensor) CholeskySolve ¶
func (*Tensor) CholeskySolveOut ¶
func (*Tensor) ClampMaxOut ¶
func (*Tensor) ClampMaxTensor ¶
func (*Tensor) ClampMaxTensorOut ¶
func (*Tensor) ClampMaxTensor_ ¶
func (*Tensor) ClampMinOut ¶
func (*Tensor) ClampMinTensor ¶
func (*Tensor) ClampMinTensorOut ¶
func (*Tensor) ClampMinTensor_ ¶
func (*Tensor) ClampTensor ¶
func (*Tensor) ClampTensorOut ¶
func (*Tensor) ClipTensor ¶
func (*Tensor) ClipTensorOut ¶
func (*Tensor) ColIndicesCopy ¶ added in v0.8.0
func (*Tensor) ColIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) Combinations ¶
func (*Tensor) ConjPhysicalOut ¶
func (*Tensor) ConjPhysical_ ¶
func (*Tensor) ConstantPadNd ¶
func (*Tensor) ConstantPadNdOut ¶ added in v0.8.0
func (*Tensor) ConstantPadNdWithVal ¶
func (*Tensor) ConvDepthwise3d ¶
func (*Tensor) ConvDepthwise3dOut ¶ added in v0.8.0
func (*Tensor) ConvTbcBackward ¶
func (ts *Tensor) ConvTbcBackward(input *Tensor, weight *Tensor, bias *Tensor, pad int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) ConvTbcOut ¶ added in v0.8.0
func (*Tensor) CopyData ¶
CopyData copies `numel` elements from `self` to `dst`. `dst` should be a slice of Go type equivalent to tensor type.
NOTE: `dst` located in Go memory. Should it be? We will render Go pointer of first element of `dst` slice and number of elements to C land. This may break in the future if Go policy changes.
func (*Tensor) CopyDataUint8 ¶
CopyDataUint8 copies `numel` elements from `self` to `dst`.
NOTE: `dst` located in Go memory. Should it be?
func (*Tensor) CopySparseToSparse ¶ added in v0.8.0
func (*Tensor) CopySparseToSparseOut ¶ added in v0.8.0
func (*Tensor) CopySparseToSparse_ ¶
func (*Tensor) CopysignOut ¶
func (*Tensor) CopysignScalar ¶
func (*Tensor) CopysignScalarOut ¶
func (*Tensor) CopysignScalar_ ¶
func (*Tensor) CountNonzero ¶
func (*Tensor) CountNonzeroDimIntlist ¶
func (*Tensor) CountNonzeroDimIntlistOut ¶ added in v0.8.0
func (*Tensor) CountNonzeroOut ¶ added in v0.8.0
func (*Tensor) CrossEntropyForLogits ¶
CrossEntropyForLogits computes the cross-entropy loss based on some logits and targets.
func (*Tensor) CrossEntropyLoss ¶
func (*Tensor) CrowIndicesCopy ¶ added in v0.8.0
func (*Tensor) CrowIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) CudnnConvolution ¶
func (*Tensor) CudnnConvolutionAddRelu ¶
func (*Tensor) CudnnConvolutionAddReluOut ¶ added in v0.8.0
func (*Tensor) CudnnConvolutionOut ¶ added in v0.8.0
func (*Tensor) CudnnConvolutionRelu ¶
func (*Tensor) CudnnConvolutionReluOut ¶ added in v0.8.0
func (*Tensor) CudnnConvolutionTranspose ¶
func (*Tensor) CudnnConvolutionTransposeOut ¶ added in v0.8.0
func (*Tensor) CudnnGridSampler ¶
func (*Tensor) CudnnGridSamplerBackward ¶
func (ts *Tensor) CudnnGridSamplerBackward(grid *Tensor, gradOutput *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) CudnnGridSamplerBackwardOut ¶ added in v0.8.0
func (ts *Tensor) CudnnGridSamplerBackwardOut(out0 *Tensor, out1 *Tensor, grid *Tensor, gradOutput *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) CudnnGridSamplerOut ¶ added in v0.8.0
func (*Tensor) CudnnIsAcceptable ¶
func.returns = `bool`: --------------------------
func (*Tensor) CummaxOut ¶
func (ts *Tensor) CummaxOut(values *Tensor, indices *Tensor, dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) CumminOut ¶
func (ts *Tensor) CumminOut(values *Tensor, indices *Tensor, dim int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) CumprodOut ¶
func (*Tensor) Deg2radOut ¶
func (*Tensor) DetachCopy ¶ added in v0.8.0
func (*Tensor) DetachCopyOut ¶ added in v0.8.0
func (*Tensor) DiagEmbedOut ¶ added in v0.8.0
func (*Tensor) DiagonalCopy ¶ added in v0.8.0
func (*Tensor) DiagonalCopyOut ¶ added in v0.8.0
func (*Tensor) DiagonalScatter ¶ added in v0.7.0
func (*Tensor) DiagonalScatterOut ¶ added in v0.8.0
func (*Tensor) DigammaOut ¶
func (*Tensor) DivOutMode ¶
func (*Tensor) DivScalarMode ¶
func (*Tensor) DivScalarModeOut ¶ added in v0.8.0
func (*Tensor) DivScalarMode_ ¶
func (*Tensor) DivScalarOut ¶ added in v0.8.0
func (*Tensor) DivScalar_ ¶
func (*Tensor) DivTensorMode ¶
func (*Tensor) DivTensorMode_ ¶
func (*Tensor) DivideOutMode ¶
func (*Tensor) DivideScalar ¶
func (*Tensor) DivideScalarMode ¶
func (*Tensor) DivideScalarMode_ ¶
func (*Tensor) DivideScalar_ ¶
func (*Tensor) DivideTensorMode ¶
func (*Tensor) DivideTensorMode_ ¶
func (*Tensor) EmbeddingRenorm ¶ added in v0.8.0
func (*Tensor) EmbeddingRenormOut ¶ added in v0.8.0
func (*Tensor) EmbeddingRenorm_ ¶
func (*Tensor) EmptyLikeOut ¶ added in v0.8.0
func (*Tensor) EqScalarOut ¶
func (*Tensor) EqTensorOut ¶
func (*Tensor) ExpandCopy ¶ added in v0.8.0
func (*Tensor) ExpandCopyOut ¶ added in v0.8.0
func (*Tensor) Exponential ¶ added in v0.8.0
func (*Tensor) ExponentialOut ¶ added in v0.8.0
func (*Tensor) Exponential_ ¶
func (*Tensor) FakeQuantizePerChannelAffine ¶
func (*Tensor) FakeQuantizePerChannelAffineCachemask ¶
func (ts *Tensor) FakeQuantizePerChannelAffineCachemask(scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, quantMax int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FakeQuantizePerChannelAffineCachemaskOut ¶ added in v0.8.0
func (ts *Tensor) FakeQuantizePerChannelAffineCachemaskOut(out0 *Tensor, out1 *Tensor, scale *Tensor, zeroPoint *Tensor, axis int64, quantMin int64, quantMax int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FakeQuantizePerTensorAffine ¶
func (*Tensor) FakeQuantizePerTensorAffineCachemask ¶
func (ts *Tensor) FakeQuantizePerTensorAffineCachemask(scale float64, zeroPoint int64, quantMin int64, quantMax int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FakeQuantizePerTensorAffineCachemaskOut ¶ added in v0.8.0
func (ts *Tensor) FakeQuantizePerTensorAffineCachemaskOut(out0 *Tensor, out1 *Tensor, scale float64, zeroPoint int64, quantMin int64, quantMax int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FakeQuantizePerTensorAffineTensorQparams ¶
func (*Tensor) FeatureAlphaDropout_ ¶
func (*Tensor) FeatureDropout_ ¶
func (*Tensor) FftFft2Out ¶
func (*Tensor) FftFftnOut ¶
func (*Tensor) FftFftshift ¶
func (*Tensor) FftHfft2Out ¶ added in v0.7.0
func (*Tensor) FftHfftOut ¶
func (*Tensor) FftHfftnOut ¶ added in v0.7.0
func (*Tensor) FftIfft2Out ¶
func (*Tensor) FftIfftOut ¶
func (*Tensor) FftIfftnOut ¶
func (*Tensor) FftIfftshift ¶
func (*Tensor) FftIhfft2Out ¶ added in v0.7.0
func (*Tensor) FftIhfftOut ¶
func (*Tensor) FftIhfftnOut ¶ added in v0.7.0
func (*Tensor) FftIrfft2Out ¶
func (*Tensor) FftIrfftOut ¶
func (*Tensor) FftIrfftnOut ¶
func (*Tensor) FftRfft2Out ¶
func (*Tensor) FftRfftOut ¶
func (*Tensor) FftRfftnOut ¶
func (*Tensor) FillDiagonal_ ¶
func (*Tensor) FillScalarOut ¶ added in v0.8.0
func (*Tensor) FillTensor ¶ added in v0.8.0
func (*Tensor) FillTensorOut ¶ added in v0.8.0
func (*Tensor) FillTensor_ ¶
func (*Tensor) FlatView ¶
FlatView flattens a tensor.
This returns a flattened version of the given tensor. The first dimension is preserved as it is assumed to be the mini-batch dimension.
func (*Tensor) Float64Value ¶
Float64Value returns a float value on tensors holding a single element. An error is returned otherwise. double at_double_value_at_indexes(tensor, int64_t *indexes, int indexes_len);
func (*Tensor) Float64Values ¶
Float64Values returns values of tensor in a slice of float64.
func (*Tensor) FloatPower ¶
func (*Tensor) FloatPowerTensorScalar ¶
func (*Tensor) FloatPowerTensorScalarOut ¶
func (*Tensor) FloatPowerTensorTensorOut ¶
func (*Tensor) FloatPowerTensor_ ¶
func (*Tensor) FloatPower_ ¶
func (*Tensor) FloorDivide ¶
func (*Tensor) FloorDivideOut ¶
func (*Tensor) FloorDivideScalar ¶
func (*Tensor) FloorDivideScalar_ ¶
func (*Tensor) FloorDivide_ ¶
func (*Tensor) FmodScalarOut ¶
func (*Tensor) FmodTensor ¶
func (*Tensor) FmodTensorOut ¶
func (*Tensor) FmodTensor_ ¶
func (*Tensor) Format ¶
Format implements fmt.Formatter interface so that we can use fmt.Print... and verbs to print out Tensor value in different formats.
func (*Tensor) FractionalMaxPool2d ¶
func (ts *Tensor) FractionalMaxPool2d(kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FractionalMaxPool2dBackward ¶
func (*Tensor) FractionalMaxPool2dBackwardGradInput ¶
func (*Tensor) FractionalMaxPool2dOutput ¶
func (ts *Tensor) FractionalMaxPool2dOutput(output *Tensor, indices *Tensor, kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FractionalMaxPool3d ¶
func (ts *Tensor) FractionalMaxPool3d(kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FractionalMaxPool3dBackward ¶
func (*Tensor) FractionalMaxPool3dBackwardGradInput ¶
func (*Tensor) FractionalMaxPool3dOutput ¶
func (ts *Tensor) FractionalMaxPool3dOutput(output *Tensor, indices *Tensor, kernelSize []int64, outputSize []int64, randomSamples *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FrexpTensorOut ¶
func (ts *Tensor) FrexpTensorOut(mantissa *Tensor, exponent *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) FrobeniusNorm ¶
func (*Tensor) FrobeniusNormOut ¶
func (*Tensor) FullLikeOut ¶ added in v0.8.0
func (*Tensor) FusedMovingAvgObsFakeQuant ¶
func (ts *Tensor) FusedMovingAvgObsFakeQuant(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, runningMax *Tensor, scale *Tensor, zeroPoint *Tensor, averagingConst float64, quantMin int64, quantMax int64, chAxis int64, perRowFakeQuant bool, symmetricQuant bool, del bool) (retVal *Tensor, err error)
func (*Tensor) GatherBackward ¶
func (*Tensor) GeScalarOut ¶
func (*Tensor) GeTensorOut ¶
func (*Tensor) GeluBackward ¶
func (*Tensor) GeluBackwardGradInput ¶
func (*Tensor) GeometricOut ¶ added in v0.8.0
func (*Tensor) Geometric_ ¶
func (*Tensor) GeqrfA ¶
func (ts *Tensor) GeqrfA(a *Tensor, tau *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) GluBackward ¶
func (*Tensor) GluBackwardGradInput ¶
func (*Tensor) GreaterEqual ¶
func (*Tensor) GreaterEqualScalarOut ¶
func (*Tensor) GreaterEqualTensor ¶
func (*Tensor) GreaterEqualTensorOut ¶
func (*Tensor) GreaterEqualTensor_ ¶
func (*Tensor) GreaterEqual_ ¶
func (*Tensor) GreaterScalarOut ¶
func (*Tensor) GreaterTensor ¶
func (*Tensor) GreaterTensorOut ¶
func (*Tensor) GreaterTensor_ ¶
func (*Tensor) GtScalarOut ¶
func (*Tensor) GtTensorOut ¶
func (*Tensor) HardshrinkBackward ¶
func (*Tensor) HardshrinkBackwardGradInput ¶
func (*Tensor) HardshrinkOut ¶
func (*Tensor) HardsigmoidBackward ¶
func (*Tensor) HardsigmoidBackwardGradInput ¶
func (*Tensor) HardsigmoidOut ¶
func (*Tensor) Hardsigmoid_ ¶
func (*Tensor) HardswishBackward ¶
func (*Tensor) HardswishBackwardOut ¶ added in v0.8.0
func (*Tensor) HardswishOut ¶
func (*Tensor) Hardswish_ ¶
func (*Tensor) HardtanhBackward ¶
func (*Tensor) HardtanhBackwardGradInput ¶
func (*Tensor) HardtanhOut ¶
func (*Tensor) HeavisideOut ¶
func (*Tensor) Heaviside_ ¶
func (*Tensor) HingeEmbeddingLoss ¶
func (*Tensor) HuberLossBackward ¶
func (*Tensor) HuberLossBackwardOut ¶
func (*Tensor) HuberLossOut ¶
func (*Tensor) Idx ¶
Idx implements `IndexOp` interface for Tensor
NOTE: - `index`: expects type `TensorIndexer` or `[]*TensorIndexer`
func (*Tensor) IgammacOut ¶
func (*Tensor) IndexAddOut ¶ added in v0.7.0
func (*Tensor) IndexCopyOut ¶ added in v0.8.0
func (*Tensor) IndexCopy_ ¶
func (*Tensor) IndexFillIntScalarOut ¶ added in v0.8.0
func (*Tensor) IndexFillIntTensor ¶
func (*Tensor) IndexFillIntTensorOut ¶ added in v0.8.0
func (*Tensor) IndexFillIntTensor_ ¶
func (*Tensor) IndexFill_ ¶
func (*Tensor) IndexPutOut ¶ added in v0.8.0
func (*Tensor) IndexReduce ¶ added in v0.8.0
func (*Tensor) IndexReduceOut ¶ added in v0.8.0
func (*Tensor) IndexReduce_ ¶ added in v0.8.0
func (*Tensor) IndexSelect ¶
func (*Tensor) IndexSelectOut ¶
func (*Tensor) IndexTensorOut ¶ added in v0.8.0
func (*Tensor) IndicesCopy ¶ added in v0.8.0
func (*Tensor) IndicesCopyOut ¶ added in v0.8.0
func (*Tensor) InfinitelyDifferentiableGeluBackward ¶
func (*Tensor) Info ¶ added in v0.8.0
func (ts *Tensor) Info()
Print prints tensor meta data to stdout.
func (*Tensor) Int64Value ¶
Int64Value returns an int value on tensors holding a single element. An error is returned otherwise.
func (*Tensor) Int64Values ¶
Int64Values returns values of tensor in a slice of int64.
func (*Tensor) IntReprOut ¶ added in v0.8.0
func (*Tensor) InverseOut ¶
func (*Tensor) IsCoalesced ¶
func.returns = `bool`: --------------------------
func (*Tensor) IsContiguous ¶ added in v0.8.0
IsContiguous returns true is the tensor is contiguous.
func (*Tensor) IsDistributed ¶
func.returns = `bool`: --------------------------
func (*Tensor) IsFloatingPoint ¶
func.returns = `bool`: --------------------------
func (*Tensor) IsInference ¶
func.returns = `bool`: --------------------------
func (*Tensor) IsSameSize ¶
func.returns = `bool`: --------------------------
func (*Tensor) IsneginfOut ¶
func (*Tensor) IsposinfOut ¶
func (*Tensor) Kthvalue ¶
func (ts *Tensor) Kthvalue(k int64, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) KthvalueValues ¶
func (ts *Tensor) KthvalueValues(values *Tensor, indices *Tensor, k int64, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LeScalarOut ¶
func (*Tensor) LeTensorOut ¶
func (*Tensor) LeakyReluBackward ¶
func (*Tensor) LeakyReluBackwardGradInput ¶
func (*Tensor) LeakyReluOut ¶
func (*Tensor) LeakyRelu_ ¶
func (*Tensor) LerpScalarOut ¶
func (*Tensor) LerpTensor ¶
func (*Tensor) LerpTensorOut ¶
func (*Tensor) LessEqualScalarOut ¶
func (*Tensor) LessEqualTensor ¶
func (*Tensor) LessEqualTensorOut ¶
func (*Tensor) LessEqualTensor_ ¶
func (*Tensor) LessEqual_ ¶
func (*Tensor) LessScalarOut ¶
func (*Tensor) LessTensor ¶
func (*Tensor) LessTensorOut ¶
func (*Tensor) LessTensor_ ¶
func (*Tensor) LiftFreshCopy ¶ added in v0.8.0
func (*Tensor) LiftFreshCopyOut ¶ added in v0.8.0
func (*Tensor) LinalgCholesky ¶
func (*Tensor) LinalgCholeskyEx ¶
func (ts *Tensor) LinalgCholeskyEx(upper bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgCholeskyExL ¶
func (ts *Tensor) LinalgCholeskyExL(l *Tensor, info *Tensor, upper bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgCholeskyOut ¶
func (*Tensor) LinalgCond ¶
func (*Tensor) LinalgCondOut ¶
func (*Tensor) LinalgCondPStr ¶
func (*Tensor) LinalgCondPStrOut ¶
func (*Tensor) LinalgCross ¶ added in v0.7.0
func (*Tensor) LinalgCrossOut ¶ added in v0.7.0
func (*Tensor) LinalgEigOut ¶
func (ts *Tensor) LinalgEigOut(eigenvalues *Tensor, eigenvectors *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgEigh ¶
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgEighEigvals ¶
func (ts *Tensor) LinalgEighEigvals(eigvals *Tensor, eigvecs *Tensor, uPLO string, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgEigvals ¶
func (*Tensor) LinalgEigvalsOut ¶
func (*Tensor) LinalgEigvalsh ¶
func (*Tensor) LinalgEigvalshOut ¶
func (*Tensor) LinalgLdlFactor ¶ added in v0.8.0
func (ts *Tensor) LinalgLdlFactor(hermitian bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgLdlFactorEx ¶ added in v0.8.0
func (ts *Tensor) LinalgLdlFactorEx(hermitian bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgLdlFactorExOut ¶ added in v0.8.0
func (ts *Tensor) LinalgLdlFactorExOut(lD *Tensor, pivots *Tensor, info *Tensor, hermitian bool, checkErrors bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgLdlFactorOut ¶ added in v0.8.0
func (ts *Tensor) LinalgLdlFactorOut(lD *Tensor, pivots *Tensor, hermitian bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgLstsq ¶
func (ts *Tensor) LinalgLstsq(b *Tensor, rcond []float64, driver string, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgLstsqOut ¶
func (ts *Tensor) LinalgLstsqOut(solution *Tensor, residuals *Tensor, rank *Tensor, singularValues *Tensor, b *Tensor, rcond []float64, driver string, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) LinalgMatmul ¶
func (*Tensor) LinalgMatmulOut ¶
func (*Tensor) LinalgMatrixExp ¶ added in v0.7.0
func (*Tensor) LinalgMatrixExpOut ¶ added in v0.8.0
func (*Tensor) LinalgMatrixPower ¶
func (*Tensor) LinalgMatrixPowerOut ¶
func (*Tensor) LinalgMatrixRank ¶
func (*Tensor) LinalgMatrixRankAtolRtolFloat ¶ added in v0.7.0
func (*Tensor) LinalgMatrixRankAtolRtolFloatOut ¶ added in v0.7.0
func (*Tensor) LinalgMatrixRankOut ¶
func (*Tensor) LinalgNorm ¶
func (*Tensor) LinalgNormOrdStr ¶
func (*Tensor) LinalgNormOrdStrOut ¶
func (*Tensor) LinalgNormOut ¶
func (*Tensor) LinalgPinv ¶
func (*Tensor) LinalgPinvAtolRtolFloat ¶ added in v0.7.0
func (*Tensor) LinalgPinvAtolRtolFloatOut ¶ added in v0.7.0
func (*Tensor) LinalgPinvAtolRtolTensor ¶ added in v0.7.0
func (*Tensor) LinalgPinvAtolRtolTensorOut ¶ added in v0.7.0
func (*Tensor) LinalgPinvOut ¶
func (*Tensor) LinalgPinvOutRcondTensor ¶
func (*Tensor) LinalgPinvRcondTensor ¶
func (*Tensor) LinalgSolveTriangular ¶ added in v0.7.0
func (*Tensor) LinalgSolveTriangularOut ¶ added in v0.7.0
func (*Tensor) LinalgTensorinv ¶
func (*Tensor) LinalgTensorinvOut ¶
func (*Tensor) LinalgTensorsolve ¶
func (*Tensor) LinalgTensorsolveOut ¶
func (*Tensor) LogNormalOut ¶ added in v0.8.0
func (*Tensor) LogSigmoidBackward ¶
func (*Tensor) LogSigmoidBackwardGradInput ¶
func (*Tensor) LogSigmoidOut ¶
func (*Tensor) LogSoftmax ¶
func (*Tensor) LogSoftmaxIntOut ¶ added in v0.8.0
func (*Tensor) Logaddexp2 ¶
func (*Tensor) Logaddexp2Out ¶
func (*Tensor) LogaddexpOut ¶
func (*Tensor) Logcumsumexp ¶
func (*Tensor) LogcumsumexpOut ¶
func (*Tensor) LogicalAnd ¶
func (*Tensor) LogicalAndOut ¶
func (*Tensor) LogicalAnd_ ¶
func (*Tensor) LogicalNotOut ¶
func (*Tensor) LogicalNot_ ¶
func (*Tensor) LogicalOrOut ¶
func (*Tensor) LogicalOr_ ¶
func (*Tensor) LogicalXor ¶
func (*Tensor) LogicalXorOut ¶
func (*Tensor) LogicalXor_ ¶
func (*Tensor) LogitBackward ¶
func (*Tensor) LogitBackwardGradInput ¶
func (*Tensor) LogsumexpOut ¶
func (*Tensor) LtScalarOut ¶
func (*Tensor) LtTensorOut ¶
func (*Tensor) LuSolveOut ¶
func (*Tensor) MaskedFill ¶
func (*Tensor) MaskedFillScalarOut ¶ added in v0.8.0
func (*Tensor) MaskedFillTensor ¶
func (*Tensor) MaskedFillTensorOut ¶ added in v0.8.0
func (*Tensor) MaskedFillTensor_ ¶
func (*Tensor) MaskedScatter ¶
func (*Tensor) MaskedScatterOut ¶ added in v0.8.0
func (*Tensor) MaskedScatter_ ¶
func (*Tensor) MaskedSelect ¶
func (*Tensor) MaskedSelectOut ¶
func (*Tensor) Matmul ¶
Example ¶
package main
import (
"fmt"
"github.com/sugarme/gotch"
"github.com/sugarme/gotch/ts"
)
func main() {
// Basic tensor operations
ts1 := ts.MustArange(ts.IntScalar(6), gotch.Int64, gotch.CPU).MustView([]int64{2, 3}, true)
defer ts1.MustDrop()
ts2 := ts.MustOnes([]int64{3, 4}, gotch.Int64, gotch.CPU)
defer ts2.MustDrop()
mul := ts1.MustMatmul(ts2, false)
defer mul.MustDrop()
fmt.Println("ts1: ")
ts1.Print()
fmt.Println("ts2: ")
ts2.Print()
fmt.Println("mul tensor (ts1 x ts2): ")
mul.Print()
//ts1:
// 0 1 2
// 3 4 5
//[ CPULongType{2,3} ]
//ts2:
// 1 1 1 1
// 1 1 1 1
// 1 1 1 1
//[ CPULongType{3,4} ]
//mul tensor (ts1 x ts2):
// 3 3 3 3
// 12 12 12 12
//[ CPULongType{2,4} ]
}
func (*Tensor) MatrixExpBackward ¶
func (*Tensor) MatrixPower ¶
func (*Tensor) MatrixPowerOut ¶
func (*Tensor) MaxDim ¶
func (ts *Tensor) MaxDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MaxDimMax ¶
func (ts *Tensor) MaxDimMax(max *Tensor, maxValues *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MaxPool1dWithIndices ¶
func (ts *Tensor) MaxPool1dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ceilMode bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MaxPool2DDefault ¶
func (*Tensor) MaxPool2dBackward ¶ added in v0.8.0
func (*Tensor) MaxPool2dBackwardOut ¶ added in v0.8.0
func (*Tensor) MaxPool2dWithIndices ¶
func (ts *Tensor) MaxPool2dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ceilMode bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MaxPool2dWithIndicesBackward ¶
func (*Tensor) MaxPool2dWithIndicesBackwardGradInput ¶
func (*Tensor) MaxPool2dWithIndicesOut ¶
func (ts *Tensor) MaxPool2dWithIndicesOut(out *Tensor, indices *Tensor, kernelSize []int64, stride []int64, padding []int64, dilation []int64, ceilMode bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MaxPool3dWithIndices ¶
func (ts *Tensor) MaxPool3dWithIndices(kernelSize []int64, stride []int64, padding []int64, dilation []int64, ceilMode bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MaxPool3dWithIndicesBackward ¶
func (*Tensor) MaxPool3dWithIndicesBackwardGradInput ¶
func (*Tensor) MaxPool3dWithIndicesOut ¶
func (ts *Tensor) MaxPool3dWithIndicesOut(out *Tensor, indices *Tensor, kernelSize []int64, stride []int64, padding []int64, dilation []int64, ceilMode bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MaxUnaryOut ¶ added in v0.8.0
func (*Tensor) MaxUnpool2d ¶
func (*Tensor) MaxUnpool2dOut ¶
func (*Tensor) MaxUnpool3d ¶
func (*Tensor) MaxUnpool3dOut ¶
func (*Tensor) MaximumOut ¶
func (*Tensor) MedianDim ¶
func (ts *Tensor) MedianDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MedianDimValues ¶
func (ts *Tensor) MedianDimValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MinDim ¶
func (ts *Tensor) MinDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MinDimMin ¶
func (ts *Tensor) MinDimMin(min *Tensor, minIndices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MinUnaryOut ¶ added in v0.9.0
func (*Tensor) MinimumOut ¶
func (*Tensor) MiopenConvolution ¶
func (*Tensor) MiopenConvolutionAddRelu ¶ added in v0.8.0
func (*Tensor) MiopenConvolutionOut ¶ added in v0.8.0
func (*Tensor) MiopenConvolutionRelu ¶ added in v0.8.0
func (*Tensor) MiopenConvolutionTranspose ¶
func (*Tensor) MiopenConvolutionTransposeOut ¶ added in v0.8.0
func (*Tensor) MiopenDepthwiseConvolution ¶
func (*Tensor) MiopenDepthwiseConvolutionOut ¶ added in v0.8.0
func (*Tensor) MishBackward ¶
func (*Tensor) MkldnnAdaptiveAvgPool2d ¶
func (*Tensor) MkldnnAdaptiveAvgPool2dBackward ¶
func (*Tensor) MkldnnAdaptiveAvgPool2dBackwardOut ¶ added in v0.8.0
func (*Tensor) MkldnnAdaptiveAvgPool2dOut ¶ added in v0.8.0
func (*Tensor) MkldnnConvolution ¶
func (*Tensor) MkldnnConvolutionOut ¶ added in v0.8.0
func (*Tensor) MkldnnLinear ¶
func (*Tensor) MkldnnLinearOut ¶ added in v0.8.0
func (*Tensor) MkldnnMaxPool2d ¶
func (*Tensor) MkldnnMaxPool2dOut ¶ added in v0.8.0
func (*Tensor) MkldnnMaxPool3d ¶
func (*Tensor) MkldnnMaxPool3dOut ¶ added in v0.8.0
func (*Tensor) MkldnnReorderConv2dWeight ¶
func (*Tensor) MkldnnReorderConv2dWeightOut ¶ added in v0.8.0
func (*Tensor) MkldnnReorderConv3dWeight ¶
func (*Tensor) MkldnnReorderConv3dWeightOut ¶ added in v0.8.0
func (*Tensor) Mode ¶
func (ts *Tensor) Mode(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) ModeValues ¶
func (ts *Tensor) ModeValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) MoveaxisInt ¶
func (*Tensor) MovedimInt ¶
func (*Tensor) MseLossBackward ¶
func (*Tensor) MseLossBackwardGradInput ¶
func (*Tensor) MseLossOut ¶
func (*Tensor) MulScalarOut ¶ added in v0.8.0
func (*Tensor) MulScalar_ ¶
func (*Tensor) MultiMarginLossBackward ¶
func (*Tensor) MultiMarginLossBackwardGradInput ¶
func (*Tensor) MultilabelMarginLoss ¶
func (*Tensor) MultilabelMarginLossBackward ¶
func (*Tensor) MultilabelMarginLossBackwardGradInput ¶
func (*Tensor) MultilabelMarginLossOut ¶
func (*Tensor) Multinomial ¶
func (*Tensor) MultinomialOut ¶
func (*Tensor) MultiplyOut ¶
func (*Tensor) MultiplyScalar ¶
func (*Tensor) MultiplyScalar_ ¶
func (*Tensor) MustAbsolute ¶
func (*Tensor) MustAbsoluteOut ¶
func (*Tensor) MustAbsolute_ ¶
func (ts *Tensor) MustAbsolute_()
func (*Tensor) MustAcoshOut ¶
func (*Tensor) MustAcosh_ ¶
func (ts *Tensor) MustAcosh_()
func (*Tensor) MustAdaptiveAvgPool1d ¶
func (*Tensor) MustAdaptiveAvgPool2d ¶
func (*Tensor) MustAdaptiveAvgPool2dOut ¶
func (*Tensor) MustAdaptiveAvgPool3d ¶
func (*Tensor) MustAdaptiveAvgPool3dBackward ¶
func (*Tensor) MustAdaptiveAvgPool3dOut ¶
func (*Tensor) MustAdaptiveMaxPool1d ¶
func (*Tensor) MustAdaptiveMaxPool2d ¶
func (*Tensor) MustAdaptiveMaxPool2dBackward ¶
func (*Tensor) MustAdaptiveMaxPool2dBackwardGradInput ¶
func (*Tensor) MustAdaptiveMaxPool2dOut ¶
func (*Tensor) MustAdaptiveMaxPool3d ¶
func (*Tensor) MustAdaptiveMaxPool3dBackward ¶
func (*Tensor) MustAdaptiveMaxPool3dBackwardGradInput ¶
func (*Tensor) MustAdaptiveMaxPool3dOut ¶
func (*Tensor) MustAddOut ¶
func (*Tensor) MustAddScalar ¶
func (*Tensor) MustAddScalarOut ¶ added in v0.8.0
func (*Tensor) MustAddScalar_ ¶
func (*Tensor) MustAddbmm ¶
func (*Tensor) MustAddbmmOut ¶
func (*Tensor) MustAddbmm_ ¶
func (*Tensor) MustAddcdiv ¶
func (*Tensor) MustAddcdivOut ¶
func (*Tensor) MustAddcdiv_ ¶
func (*Tensor) MustAddcmul ¶
func (*Tensor) MustAddcmulOut ¶
func (*Tensor) MustAddcmul_ ¶
func (*Tensor) MustAddmmOut ¶
func (*Tensor) MustAddmm_ ¶
func (*Tensor) MustAddmvOut ¶
func (*Tensor) MustAddmv_ ¶
func (*Tensor) MustAddrOut ¶
func (*Tensor) MustAdjoint ¶ added in v0.7.0
func (*Tensor) MustAliasCopy ¶ added in v0.8.0
func (*Tensor) MustAliasCopyOut ¶ added in v0.8.0
func (*Tensor) MustAlignAs ¶
func (*Tensor) MustAllAllOut ¶
func (*Tensor) MustAllDim ¶
func (*Tensor) MustAllOut ¶
func (*Tensor) MustAllclose ¶
func (*Tensor) MustAlphaDropout_ ¶
func (*Tensor) MustAmaxOut ¶
func (*Tensor) MustAminOut ¶
func (*Tensor) MustAminmax ¶
func (*Tensor) MustAminmaxOut ¶
func (*Tensor) MustAngleOut ¶
func (*Tensor) MustAnyAllOut ¶
func (*Tensor) MustAnyDim ¶
func (*Tensor) MustAnyOut ¶
func (*Tensor) MustArccos ¶
func (*Tensor) MustArccosOut ¶
func (*Tensor) MustArccos_ ¶
func (ts *Tensor) MustArccos_()
func (*Tensor) MustArccosh ¶
func (*Tensor) MustArccoshOut ¶
func (*Tensor) MustArccosh_ ¶
func (ts *Tensor) MustArccosh_()
func (*Tensor) MustArcsin ¶
func (*Tensor) MustArcsinOut ¶
func (*Tensor) MustArcsin_ ¶
func (ts *Tensor) MustArcsin_()
func (*Tensor) MustArcsinh ¶
func (*Tensor) MustArcsinhOut ¶
func (*Tensor) MustArcsinh_ ¶
func (ts *Tensor) MustArcsinh_()
func (*Tensor) MustArctan ¶
func (*Tensor) MustArctan2 ¶ added in v0.7.0
func (*Tensor) MustArctan2Out ¶ added in v0.7.0
func (*Tensor) MustArctan2_ ¶ added in v0.7.0
func (*Tensor) MustArctanOut ¶
func (*Tensor) MustArctan_ ¶
func (ts *Tensor) MustArctan_()
func (*Tensor) MustArctanh ¶
func (*Tensor) MustArctanhOut ¶
func (*Tensor) MustArctanh_ ¶
func (ts *Tensor) MustArctanh_()
func (*Tensor) MustArgmax ¶
func (*Tensor) MustArgmaxOut ¶
func (*Tensor) MustArgmin ¶
func (*Tensor) MustArgminOut ¶
func (*Tensor) MustArgsort ¶
func (*Tensor) MustArgsortStable ¶ added in v0.8.0
func (*Tensor) MustArgsortStableOut ¶ added in v0.8.0
func (*Tensor) MustArgwhere ¶ added in v0.7.0
func (*Tensor) MustAsStrided ¶
func (*Tensor) MustAsStridedCopy ¶ added in v0.8.0
func (*Tensor) MustAsStridedCopyOut ¶ added in v0.8.0
func (*Tensor) MustAsStridedScatter ¶ added in v0.8.0
func (*Tensor) MustAsStridedScatterOut ¶ added in v0.8.0
func (*Tensor) MustAsStrided_ ¶
func (*Tensor) MustAsinhOut ¶
func (*Tensor) MustAsinh_ ¶
func (ts *Tensor) MustAsinh_()
func (*Tensor) MustAtan2Out ¶
func (*Tensor) MustAtan2_ ¶
func (*Tensor) MustAtanhOut ¶
func (*Tensor) MustAtanh_ ¶
func (ts *Tensor) MustAtanh_()
func (*Tensor) MustAtleast1d ¶
func (*Tensor) MustAtleast2d ¶
func (*Tensor) MustAtleast3d ¶
func (*Tensor) MustAvgPool1d ¶
func (*Tensor) MustAvgPool2d ¶
func (*Tensor) MustAvgPool2dBackward ¶
func (*Tensor) MustAvgPool2dBackwardGradInput ¶
func (*Tensor) MustAvgPool2dOut ¶
func (*Tensor) MustAvgPool3d ¶
func (*Tensor) MustAvgPool3dBackward ¶
func (*Tensor) MustAvgPool3dBackwardGradInput ¶
func (*Tensor) MustAvgPool3dOut ¶
func (*Tensor) MustBackward ¶
func (ts *Tensor) MustBackward()
func (*Tensor) MustBaddbmm ¶
func (*Tensor) MustBaddbmmOut ¶
func (*Tensor) MustBaddbmm_ ¶
func (*Tensor) MustBernoulli ¶
func (*Tensor) MustBernoulliFloat_ ¶
func (*Tensor) MustBernoulliP ¶
func (*Tensor) MustBernoulliTensor ¶ added in v0.8.0
func (*Tensor) MustBernoulli_ ¶
func (*Tensor) MustBinaryCrossEntropy ¶
func (*Tensor) MustBinaryCrossEntropyBackward ¶
func (*Tensor) MustBinaryCrossEntropyBackwardGradInput ¶
func (*Tensor) MustBinaryCrossEntropyOut ¶
func (*Tensor) MustBinaryCrossEntropyWithLogits ¶
func (*Tensor) MustBinaryCrossEntropyWithLogitsOut ¶ added in v0.8.0
func (*Tensor) MustBincount ¶
func (*Tensor) MustBincountOut ¶ added in v0.8.0
func (*Tensor) MustBitwiseAnd ¶
func (*Tensor) MustBitwiseAndScalarOut ¶
func (*Tensor) MustBitwiseAndTensor ¶
func (*Tensor) MustBitwiseAndTensorOut ¶
func (*Tensor) MustBitwiseAndTensor_ ¶
func (*Tensor) MustBitwiseAnd_ ¶
func (*Tensor) MustBitwiseLeftShift ¶
func (*Tensor) MustBitwiseLeftShiftTensorOut ¶
func (*Tensor) MustBitwiseLeftShiftTensorScalar ¶
func (*Tensor) MustBitwiseLeftShiftTensorScalarOut ¶
func (*Tensor) MustBitwiseLeftShiftTensorScalar_ ¶
func (*Tensor) MustBitwiseLeftShift_ ¶
func (*Tensor) MustBitwiseNot ¶
func (*Tensor) MustBitwiseNotOut ¶
func (*Tensor) MustBitwiseNot_ ¶
func (ts *Tensor) MustBitwiseNot_()
func (*Tensor) MustBitwiseOr ¶
func (*Tensor) MustBitwiseOrScalarOut ¶
func (*Tensor) MustBitwiseOrTensor ¶
func (*Tensor) MustBitwiseOrTensorOut ¶
func (*Tensor) MustBitwiseOrTensor_ ¶
func (*Tensor) MustBitwiseOr_ ¶
func (*Tensor) MustBitwiseRightShift ¶
func (*Tensor) MustBitwiseRightShiftTensorOut ¶
func (*Tensor) MustBitwiseRightShiftTensorScalar ¶
func (*Tensor) MustBitwiseRightShiftTensorScalarOut ¶
func (*Tensor) MustBitwiseRightShiftTensorScalar_ ¶
func (*Tensor) MustBitwiseRightShift_ ¶
func (*Tensor) MustBitwiseXor ¶
func (*Tensor) MustBitwiseXorScalarOut ¶
func (*Tensor) MustBitwiseXorTensor ¶
func (*Tensor) MustBitwiseXorTensorOut ¶
func (*Tensor) MustBitwiseXorTensor_ ¶
func (*Tensor) MustBitwiseXor_ ¶
func (*Tensor) MustBmmOut ¶
func (*Tensor) MustBroadcastTo ¶
func (*Tensor) MustBucketize ¶
func (*Tensor) MustBucketizeTensorOut ¶
func (*Tensor) MustCauchy ¶ added in v0.8.0
func (*Tensor) MustCauchyOut ¶ added in v0.8.0
func (*Tensor) MustCauchy_ ¶
func (*Tensor) MustCcolIndices ¶ added in v0.8.0
func (*Tensor) MustCcolIndicesCopy ¶ added in v0.8.0
func (*Tensor) MustCcolIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) MustCeluOut ¶ added in v0.8.0
func (*Tensor) MustChannelShuffle ¶
func (*Tensor) MustChannelShuffleOut ¶ added in v0.8.0
func (*Tensor) MustCholeskyInverse ¶
func (*Tensor) MustCholeskyInverseOut ¶
func (*Tensor) MustCholeskyOut ¶
func (*Tensor) MustCholeskySolve ¶
func (*Tensor) MustCholeskySolveOut ¶
func (*Tensor) MustClampMax ¶
func (*Tensor) MustClampMaxOut ¶
func (*Tensor) MustClampMaxTensor ¶
func (*Tensor) MustClampMaxTensorOut ¶
func (*Tensor) MustClampMaxTensor_ ¶
func (*Tensor) MustClampMax_ ¶
func (*Tensor) MustClampMin ¶
func (*Tensor) MustClampMinOut ¶
func (*Tensor) MustClampMinTensor ¶
func (*Tensor) MustClampMinTensorOut ¶
func (*Tensor) MustClampMinTensor_ ¶
func (*Tensor) MustClampMin_ ¶
func (*Tensor) MustClampOut ¶
func (*Tensor) MustClampTensor ¶
func (*Tensor) MustClampTensorOut ¶
func (*Tensor) MustClampTensor_ ¶
func (*Tensor) MustClamp_ ¶
func (*Tensor) MustClipOut ¶
func (*Tensor) MustClipTensor ¶
func (*Tensor) MustClipTensorOut ¶
func (*Tensor) MustClipTensor_ ¶
func (*Tensor) MustCoalesce ¶
func (*Tensor) MustCol2im ¶
func (*Tensor) MustCol2imOut ¶
func (*Tensor) MustColIndices ¶
func (*Tensor) MustColIndicesCopy ¶ added in v0.8.0
func (*Tensor) MustColIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) MustCombinations ¶
func (*Tensor) MustConjPhysical ¶
func (*Tensor) MustConjPhysicalOut ¶
func (*Tensor) MustConjPhysical_ ¶
func (ts *Tensor) MustConjPhysical_()
func (*Tensor) MustConstantPadNd ¶
func (*Tensor) MustConstantPadNdOut ¶ added in v0.8.0
func (*Tensor) MustConstantPadNdWithVal ¶
func (*Tensor) MustContiguous ¶
func (*Tensor) MustConvDepthwise3d ¶
func (*Tensor) MustConvDepthwise3dOut ¶ added in v0.8.0
func (*Tensor) MustConvTbc ¶
func (*Tensor) MustConvTbcBackward ¶
func (*Tensor) MustConvTbcOut ¶ added in v0.8.0
func (*Tensor) MustCopyData ¶
MustCopyData copies number of elements from tensor to a slice of data
NOTE: `dst` is a slice with length = numel and Go type equavalent to tensor DType
func (*Tensor) MustCopyDataUint8 ¶
func (*Tensor) MustCopyOut ¶ added in v0.8.0
func (*Tensor) MustCopySparseToSparse ¶ added in v0.8.0
func (*Tensor) MustCopySparseToSparseOut ¶ added in v0.8.0
func (*Tensor) MustCopySparseToSparse_ ¶
func (*Tensor) MustCopysign ¶
func (*Tensor) MustCopysignOut ¶
func (*Tensor) MustCopysignScalar ¶
func (*Tensor) MustCopysignScalarOut ¶
func (*Tensor) MustCopysignScalar_ ¶
func (*Tensor) MustCopysign_ ¶
func (*Tensor) MustCorrcoef ¶
func (*Tensor) MustCountNonzero ¶
func (*Tensor) MustCountNonzeroDimIntlist ¶
func (*Tensor) MustCountNonzeroDimIntlistOut ¶ added in v0.8.0
func (*Tensor) MustCountNonzeroOut ¶ added in v0.8.0
func (*Tensor) MustCrossEntropyLoss ¶
func (*Tensor) MustCrossOut ¶
func (*Tensor) MustCrowIndices ¶
func (*Tensor) MustCrowIndicesCopy ¶ added in v0.8.0
func (*Tensor) MustCrowIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) MustCudnnConvolution ¶
func (*Tensor) MustCudnnConvolutionAddRelu ¶
func (*Tensor) MustCudnnConvolutionAddReluOut ¶ added in v0.8.0
func (*Tensor) MustCudnnConvolutionOut ¶ added in v0.8.0
func (*Tensor) MustCudnnConvolutionRelu ¶
func (*Tensor) MustCudnnConvolutionReluOut ¶ added in v0.8.0
func (*Tensor) MustCudnnConvolutionTranspose ¶
func (*Tensor) MustCudnnConvolutionTransposeOut ¶ added in v0.8.0
func (*Tensor) MustCudnnGridSampler ¶
func (*Tensor) MustCudnnGridSamplerBackward ¶
func (*Tensor) MustCudnnGridSamplerBackwardOut ¶ added in v0.8.0
func (*Tensor) MustCudnnGridSamplerOut ¶ added in v0.8.0
func (*Tensor) MustCudnnIsAcceptable ¶
func (*Tensor) MustCummax ¶
func (*Tensor) MustCummaxOut ¶
func (*Tensor) MustCummin ¶
func (*Tensor) MustCumminOut ¶
func (*Tensor) MustCumprod ¶
func (*Tensor) MustCumprodOut ¶
func (*Tensor) MustCumsum ¶
func (*Tensor) MustCumsumOut ¶
func (*Tensor) MustDataPtr ¶ added in v0.8.0
func (*Tensor) MustDefined ¶
func (*Tensor) MustDeg2rad ¶
func (*Tensor) MustDeg2radOut ¶
func (*Tensor) MustDeg2rad_ ¶
func (ts *Tensor) MustDeg2rad_()
func (*Tensor) MustDenseDim ¶
func (*Tensor) MustDequantize ¶
func (*Tensor) MustDetach ¶
func (*Tensor) MustDetachCopy ¶ added in v0.8.0
func (*Tensor) MustDetachCopyOut ¶ added in v0.8.0
func (*Tensor) MustDetach_ ¶
func (ts *Tensor) MustDetach_()
func (*Tensor) MustDevice ¶
func (*Tensor) MustDiagEmbed ¶
func (*Tensor) MustDiagEmbedOut ¶ added in v0.8.0
func (*Tensor) MustDiagOut ¶
func (*Tensor) MustDiagflat ¶
func (*Tensor) MustDiagonal ¶
func (*Tensor) MustDiagonalCopy ¶ added in v0.8.0
func (*Tensor) MustDiagonalCopyOut ¶ added in v0.8.0
func (*Tensor) MustDiagonalScatter ¶ added in v0.7.0
func (*Tensor) MustDiagonalScatterOut ¶ added in v0.8.0
func (*Tensor) MustDiffOut ¶
func (*Tensor) MustDigamma ¶
func (*Tensor) MustDigammaOut ¶
func (*Tensor) MustDigamma_ ¶
func (ts *Tensor) MustDigamma_()
func (*Tensor) MustDistOut ¶ added in v0.8.0
func (*Tensor) MustDivOut ¶
func (*Tensor) MustDivOutMode ¶
func (*Tensor) MustDivScalar ¶
func (*Tensor) MustDivScalarMode ¶
func (*Tensor) MustDivScalarModeOut ¶ added in v0.8.0
func (*Tensor) MustDivScalarMode_ ¶
func (*Tensor) MustDivScalarOut ¶ added in v0.8.0
func (*Tensor) MustDivScalar_ ¶
func (*Tensor) MustDivTensorMode ¶
func (*Tensor) MustDivTensorMode_ ¶
func (*Tensor) MustDivideOut ¶
func (*Tensor) MustDivideOutMode ¶
func (*Tensor) MustDivideScalar ¶
func (*Tensor) MustDivideScalarMode ¶
func (*Tensor) MustDivideScalarMode_ ¶
func (*Tensor) MustDivideScalar_ ¶
func (*Tensor) MustDivideTensorMode ¶
func (*Tensor) MustDivideTensorMode_ ¶
func (*Tensor) MustDivide_ ¶
func (*Tensor) MustDotOut ¶
func (*Tensor) MustDrop ¶
func (ts *Tensor) MustDrop()
MustDrop drops the tensor. It will be panic if error
func (*Tensor) MustDropout_ ¶
func (*Tensor) MustEmbeddingRenorm ¶ added in v0.8.0
func (*Tensor) MustEmbeddingRenormOut ¶ added in v0.8.0
func (*Tensor) MustEmbeddingRenorm_ ¶
func (*Tensor) MustEmptyLike ¶
func (*Tensor) MustEmptyLikeOut ¶ added in v0.8.0
func (*Tensor) MustEqScalarOut ¶
func (*Tensor) MustEqTensor ¶
func (*Tensor) MustEqTensorOut ¶
func (*Tensor) MustEqTensor_ ¶
func (*Tensor) MustErfinv ¶
func (*Tensor) MustErfinvOut ¶
func (*Tensor) MustErfinv_ ¶
func (ts *Tensor) MustErfinv_()
func (*Tensor) MustExpand ¶
func (*Tensor) MustExpandAs ¶
func (*Tensor) MustExpandCopy ¶ added in v0.8.0
func (*Tensor) MustExpandCopyOut ¶ added in v0.8.0
func (*Tensor) MustExpm1Out ¶
func (*Tensor) MustExpm1_ ¶
func (ts *Tensor) MustExpm1_()
func (*Tensor) MustExponential ¶ added in v0.8.0
func (*Tensor) MustExponentialOut ¶ added in v0.8.0
func (*Tensor) MustExponential_ ¶
func (*Tensor) MustFakeQuantizePerChannelAffine ¶
func (*Tensor) MustFakeQuantizePerChannelAffineCachemask ¶
func (*Tensor) MustFakeQuantizePerChannelAffineCachemaskOut ¶ added in v0.8.0
func (*Tensor) MustFakeQuantizePerTensorAffine ¶
func (*Tensor) MustFakeQuantizePerTensorAffineCachemask ¶
func (*Tensor) MustFakeQuantizePerTensorAffineCachemaskOut ¶ added in v0.8.0
func (*Tensor) MustFakeQuantizePerTensorAffineTensorQparams ¶
func (*Tensor) MustFeatureAlphaDropout_ ¶
func (*Tensor) MustFeatureDropout_ ¶
func (*Tensor) MustFftFft ¶
func (*Tensor) MustFftFft2 ¶
func (*Tensor) MustFftFft2Out ¶
func (*Tensor) MustFftFftOut ¶
func (*Tensor) MustFftFftn ¶
func (*Tensor) MustFftFftnOut ¶
func (*Tensor) MustFftFftshift ¶
func (*Tensor) MustFftHfft ¶
func (*Tensor) MustFftHfft2 ¶ added in v0.7.0
func (*Tensor) MustFftHfft2Out ¶ added in v0.7.0
func (*Tensor) MustFftHfftOut ¶
func (*Tensor) MustFftHfftn ¶ added in v0.7.0
func (*Tensor) MustFftHfftnOut ¶ added in v0.7.0
func (*Tensor) MustFftIfft ¶
func (*Tensor) MustFftIfft2 ¶
func (*Tensor) MustFftIfft2Out ¶
func (*Tensor) MustFftIfftOut ¶
func (*Tensor) MustFftIfftn ¶
func (*Tensor) MustFftIfftnOut ¶
func (*Tensor) MustFftIfftshift ¶
func (*Tensor) MustFftIhfft ¶
func (*Tensor) MustFftIhfft2 ¶ added in v0.7.0
func (*Tensor) MustFftIhfft2Out ¶ added in v0.7.0
func (*Tensor) MustFftIhfftOut ¶
func (*Tensor) MustFftIhfftn ¶ added in v0.7.0
func (*Tensor) MustFftIhfftnOut ¶ added in v0.7.0
func (*Tensor) MustFftIrfft ¶
func (*Tensor) MustFftIrfft2 ¶
func (*Tensor) MustFftIrfft2Out ¶
func (*Tensor) MustFftIrfftOut ¶
func (*Tensor) MustFftIrfftn ¶
func (*Tensor) MustFftIrfftnOut ¶
func (*Tensor) MustFftRfft ¶
func (*Tensor) MustFftRfft2 ¶
func (*Tensor) MustFftRfft2Out ¶
func (*Tensor) MustFftRfftOut ¶
func (*Tensor) MustFftRfftn ¶
func (*Tensor) MustFftRfftnOut ¶
func (*Tensor) MustFillDiagonal_ ¶
func (*Tensor) MustFillScalarOut ¶ added in v0.8.0
func (*Tensor) MustFillTensor ¶ added in v0.8.0
func (*Tensor) MustFillTensorOut ¶ added in v0.8.0
func (*Tensor) MustFillTensor_ ¶
func (*Tensor) MustFlatten ¶
func (*Tensor) MustFlipOut ¶ added in v0.8.0
func (*Tensor) MustFliplr ¶
func (*Tensor) MustFlipud ¶
func (*Tensor) MustFloat64Value ¶
func (*Tensor) MustFloatPower ¶
func (*Tensor) MustFloatPowerTensorScalar ¶
func (*Tensor) MustFloatPowerTensorScalarOut ¶
func (*Tensor) MustFloatPowerTensorTensorOut ¶
func (*Tensor) MustFloatPowerTensor_ ¶
func (*Tensor) MustFloatPower_ ¶
func (*Tensor) MustFloorDivide ¶
func (*Tensor) MustFloorDivideOut ¶
func (*Tensor) MustFloorDivideScalar ¶
func (*Tensor) MustFloorDivideScalar_ ¶
func (*Tensor) MustFloorDivide_ ¶
func (*Tensor) MustFloorOut ¶
func (*Tensor) MustFloor_ ¶
func (ts *Tensor) MustFloor_()
func (*Tensor) MustFmaxOut ¶
func (*Tensor) MustFminOut ¶
func (*Tensor) MustFmodScalarOut ¶
func (*Tensor) MustFmodTensor ¶
func (*Tensor) MustFmodTensorOut ¶
func (*Tensor) MustFmodTensor_ ¶
func (*Tensor) MustFractionalMaxPool2d ¶
func (*Tensor) MustFractionalMaxPool2dBackward ¶
func (*Tensor) MustFractionalMaxPool2dBackwardGradInput ¶
func (*Tensor) MustFractionalMaxPool2dOutput ¶
func (*Tensor) MustFractionalMaxPool3d ¶
func (*Tensor) MustFractionalMaxPool3dBackward ¶
func (*Tensor) MustFractionalMaxPool3dBackwardGradInput ¶
func (*Tensor) MustFractionalMaxPool3dOutput ¶
func (*Tensor) MustFrexpTensorOut ¶
func (*Tensor) MustFrobeniusNorm ¶
func (*Tensor) MustFrobeniusNormOut ¶
func (*Tensor) MustFullLike ¶
func (*Tensor) MustFullLikeOut ¶ added in v0.8.0
func (*Tensor) MustFusedMovingAvgObsFakeQuant ¶
func (ts *Tensor) MustFusedMovingAvgObsFakeQuant(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, runningMax *Tensor, scale *Tensor, zeroPoint *Tensor, averagingConst float64, quantMin int64, quantMax int64, chAxis int64, perRowFakeQuant bool, symmetricQuant bool, del bool) (retVal *Tensor)
func (*Tensor) MustGather ¶
func (*Tensor) MustGatherBackward ¶
func (*Tensor) MustGatherOut ¶
func (*Tensor) MustGcdOut ¶
func (*Tensor) MustGeScalarOut ¶
func (*Tensor) MustGeTensor ¶
func (*Tensor) MustGeTensorOut ¶
func (*Tensor) MustGeTensor_ ¶
func (*Tensor) MustGeluBackward ¶
func (*Tensor) MustGeluBackwardGradInput ¶
func (*Tensor) MustGeluOut ¶
func (*Tensor) MustGeometric ¶ added in v0.8.0
func (*Tensor) MustGeometricOut ¶ added in v0.8.0
func (*Tensor) MustGeometric_ ¶
func (*Tensor) MustGeqrfA ¶
func (*Tensor) MustGerOut ¶
func (*Tensor) MustGet ¶
MustGet gets the sub-tensor at the given index. It will panic if error occurred.
func (*Tensor) MustGluBackward ¶
func (*Tensor) MustGluBackwardGradInput ¶
func (*Tensor) MustGluOut ¶
func (*Tensor) MustGreater ¶
func (*Tensor) MustGreaterEqual ¶
func (*Tensor) MustGreaterEqualScalarOut ¶
func (*Tensor) MustGreaterEqualTensor ¶
func (*Tensor) MustGreaterEqualTensorOut ¶
func (*Tensor) MustGreaterEqualTensor_ ¶
func (*Tensor) MustGreaterEqual_ ¶
func (*Tensor) MustGreaterScalarOut ¶
func (*Tensor) MustGreaterTensor ¶
func (*Tensor) MustGreaterTensorOut ¶
func (*Tensor) MustGreaterTensor_ ¶
func (*Tensor) MustGreater_ ¶
func (*Tensor) MustGtScalarOut ¶
func (*Tensor) MustGtTensor ¶
func (*Tensor) MustGtTensorOut ¶
func (*Tensor) MustGtTensor_ ¶
func (*Tensor) MustHardshrink ¶
func (*Tensor) MustHardshrinkBackward ¶
func (*Tensor) MustHardshrinkBackwardGradInput ¶
func (*Tensor) MustHardshrinkOut ¶
func (*Tensor) MustHardsigmoid ¶
func (*Tensor) MustHardsigmoidBackward ¶
func (*Tensor) MustHardsigmoidBackwardGradInput ¶
func (*Tensor) MustHardsigmoidOut ¶
func (*Tensor) MustHardsigmoid_ ¶
func (ts *Tensor) MustHardsigmoid_()
func (*Tensor) MustHardswish ¶
func (*Tensor) MustHardswishBackward ¶
func (*Tensor) MustHardswishBackwardOut ¶ added in v0.8.0
func (*Tensor) MustHardswishOut ¶
func (*Tensor) MustHardswish_ ¶
func (ts *Tensor) MustHardswish_()
func (*Tensor) MustHardtanh ¶
func (*Tensor) MustHardtanhBackward ¶
func (*Tensor) MustHardtanhBackwardGradInput ¶
func (*Tensor) MustHardtanhOut ¶
func (*Tensor) MustHardtanh_ ¶
func (ts *Tensor) MustHardtanh_()
func (*Tensor) MustHeaviside ¶
func (*Tensor) MustHeavisideOut ¶
func (*Tensor) MustHeaviside_ ¶
func (*Tensor) MustHingeEmbeddingLoss ¶
func (*Tensor) MustHistcOut ¶
func (*Tensor) MustHuberLoss ¶
func (*Tensor) MustHuberLossBackward ¶
func (*Tensor) MustHuberLossBackwardOut ¶
func (*Tensor) MustHuberLossOut ¶
func (*Tensor) MustHypotOut ¶
func (*Tensor) MustHypot_ ¶
func (*Tensor) MustIgammaOut ¶
func (*Tensor) MustIgamma_ ¶
func (*Tensor) MustIgammac ¶
func (*Tensor) MustIgammacOut ¶
func (*Tensor) MustIgammac_ ¶
func (*Tensor) MustIm2col ¶
func (*Tensor) MustIm2colOut ¶
func (*Tensor) MustIndexAdd ¶
func (*Tensor) MustIndexAddOut ¶ added in v0.7.0
func (*Tensor) MustIndexAdd_ ¶
func (*Tensor) MustIndexCopy ¶
func (*Tensor) MustIndexCopyOut ¶ added in v0.8.0
func (*Tensor) MustIndexCopy_ ¶
func (*Tensor) MustIndexFill ¶
func (*Tensor) MustIndexFillIntScalarOut ¶ added in v0.8.0
func (*Tensor) MustIndexFillIntTensor ¶
func (*Tensor) MustIndexFillIntTensorOut ¶ added in v0.8.0
func (*Tensor) MustIndexFillIntTensor_ ¶
func (*Tensor) MustIndexFill_ ¶
func (*Tensor) MustIndexPutOut ¶ added in v0.8.0
func (*Tensor) MustIndexReduce ¶ added in v0.8.0
func (*Tensor) MustIndexReduceOut ¶ added in v0.8.0
func (*Tensor) MustIndexReduce_ ¶ added in v0.8.0
func (*Tensor) MustIndexSelect ¶
func (*Tensor) MustIndexSelectOut ¶
func (*Tensor) MustIndexTensorOut ¶ added in v0.8.0
func (*Tensor) MustIndices ¶
func (*Tensor) MustIndicesCopy ¶ added in v0.8.0
func (*Tensor) MustIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) MustInfinitelyDifferentiableGeluBackward ¶
func (*Tensor) MustInnerOut ¶
func (*Tensor) MustInt64Value ¶
func (*Tensor) MustIntRepr ¶
func (*Tensor) MustIntReprOut ¶ added in v0.8.0
func (*Tensor) MustInverse ¶
func (*Tensor) MustInverseOut ¶
func (*Tensor) MustIsCoalesced ¶
func (*Tensor) MustIsComplex ¶
func (*Tensor) MustIsConj ¶
func (*Tensor) MustIsContiguous ¶ added in v0.8.0
func (*Tensor) MustIsDistributed ¶
func (*Tensor) MustIsFloatingPoint ¶
func (*Tensor) MustIsInference ¶
func (*Tensor) MustIsLeaf ¶
func (*Tensor) MustIsMkldnn ¶ added in v0.8.0
func (*Tensor) MustIsNonzero ¶
func (*Tensor) MustIsPinned ¶
func (*Tensor) MustIsSameSize ¶
func (*Tensor) MustIsSigned ¶
func (*Tensor) MustIsSparse ¶ added in v0.8.0
func (*Tensor) MustIsclose ¶
func (*Tensor) MustIsfinite ¶
func (*Tensor) MustIsinfOut ¶ added in v0.8.0
func (*Tensor) MustIsnanOut ¶ added in v0.8.0
func (*Tensor) MustIsneginf ¶
func (*Tensor) MustIsneginfOut ¶
func (*Tensor) MustIsposinf ¶
func (*Tensor) MustIsposinfOut ¶
func (*Tensor) MustIsreal ¶
func (*Tensor) MustKronOut ¶
func (*Tensor) MustKthvalue ¶
func (*Tensor) MustKthvalueValues ¶
func (*Tensor) MustL1Loss ¶
func (*Tensor) MustLcmOut ¶
func (*Tensor) MustLdexpOut ¶
func (*Tensor) MustLdexp_ ¶
func (*Tensor) MustLeScalarOut ¶
func (*Tensor) MustLeTensor ¶
func (*Tensor) MustLeTensorOut ¶
func (*Tensor) MustLeTensor_ ¶
func (*Tensor) MustLeakyRelu ¶
func (*Tensor) MustLeakyReluBackward ¶
func (*Tensor) MustLeakyReluBackwardGradInput ¶
func (*Tensor) MustLeakyReluOut ¶
func (*Tensor) MustLeakyRelu_ ¶
func (ts *Tensor) MustLeakyRelu_()
func (*Tensor) MustLerpScalarOut ¶
func (*Tensor) MustLerpTensor ¶
func (*Tensor) MustLerpTensorOut ¶
func (*Tensor) MustLerpTensor_ ¶
func (*Tensor) MustLessEqual ¶
func (*Tensor) MustLessEqualScalarOut ¶
func (*Tensor) MustLessEqualTensor ¶
func (*Tensor) MustLessEqualTensorOut ¶
func (*Tensor) MustLessEqualTensor_ ¶
func (*Tensor) MustLessEqual_ ¶
func (*Tensor) MustLessScalarOut ¶
func (*Tensor) MustLessTensor ¶
func (*Tensor) MustLessTensorOut ¶
func (*Tensor) MustLessTensor_ ¶
func (*Tensor) MustLgamma ¶
func (*Tensor) MustLgammaOut ¶
func (*Tensor) MustLgamma_ ¶
func (ts *Tensor) MustLgamma_()
func (*Tensor) MustLiftFresh ¶ added in v0.8.0
func (*Tensor) MustLiftFreshCopy ¶ added in v0.8.0
func (*Tensor) MustLiftFreshCopyOut ¶ added in v0.8.0
func (*Tensor) MustLiftOut ¶ added in v0.8.0
func (*Tensor) MustLinalgCholesky ¶
func (*Tensor) MustLinalgCholeskyEx ¶
func (*Tensor) MustLinalgCholeskyExL ¶
func (*Tensor) MustLinalgCholeskyOut ¶
func (*Tensor) MustLinalgCond ¶
func (*Tensor) MustLinalgCondOut ¶
func (*Tensor) MustLinalgCondPStr ¶
func (*Tensor) MustLinalgCondPStrOut ¶
func (*Tensor) MustLinalgCross ¶ added in v0.7.0
func (*Tensor) MustLinalgCrossOut ¶ added in v0.7.0
func (*Tensor) MustLinalgEig ¶
func (*Tensor) MustLinalgEigOut ¶
func (*Tensor) MustLinalgEigh ¶
func (*Tensor) MustLinalgEighEigvals ¶
func (*Tensor) MustLinalgEigvals ¶
func (*Tensor) MustLinalgEigvalsOut ¶
func (*Tensor) MustLinalgEigvalsh ¶
func (*Tensor) MustLinalgEigvalshOut ¶
func (*Tensor) MustLinalgLdlFactor ¶ added in v0.8.0
func (*Tensor) MustLinalgLdlFactorEx ¶ added in v0.8.0
func (*Tensor) MustLinalgLdlFactorExOut ¶ added in v0.8.0
func (*Tensor) MustLinalgLdlFactorOut ¶ added in v0.8.0
func (*Tensor) MustLinalgLstsq ¶
func (*Tensor) MustLinalgLstsqOut ¶
func (*Tensor) MustLinalgMatmul ¶
func (*Tensor) MustLinalgMatmulOut ¶
func (*Tensor) MustLinalgMatrixExp ¶ added in v0.7.0
func (*Tensor) MustLinalgMatrixExpOut ¶ added in v0.8.0
func (*Tensor) MustLinalgMatrixPower ¶
func (*Tensor) MustLinalgMatrixPowerOut ¶
func (*Tensor) MustLinalgMatrixRank ¶
func (*Tensor) MustLinalgMatrixRankAtolRtolFloat ¶ added in v0.7.0
func (*Tensor) MustLinalgMatrixRankAtolRtolFloatOut ¶ added in v0.7.0
func (*Tensor) MustLinalgMatrixRankOut ¶
func (*Tensor) MustLinalgNorm ¶
func (*Tensor) MustLinalgNormOrdStr ¶
func (*Tensor) MustLinalgNormOrdStrOut ¶
func (*Tensor) MustLinalgNormOut ¶
func (*Tensor) MustLinalgPinv ¶
func (*Tensor) MustLinalgPinvAtolRtolFloat ¶ added in v0.7.0
func (*Tensor) MustLinalgPinvAtolRtolFloatOut ¶ added in v0.7.0
func (*Tensor) MustLinalgPinvAtolRtolTensor ¶ added in v0.7.0
func (*Tensor) MustLinalgPinvAtolRtolTensorOut ¶ added in v0.7.0
func (*Tensor) MustLinalgPinvOut ¶
func (*Tensor) MustLinalgPinvOutRcondTensor ¶
func (*Tensor) MustLinalgPinvRcondTensor ¶
func (*Tensor) MustLinalgSolveTriangular ¶ added in v0.7.0
func (*Tensor) MustLinalgSolveTriangularOut ¶ added in v0.7.0
func (*Tensor) MustLinalgTensorinv ¶
func (*Tensor) MustLinalgTensorinvOut ¶
func (*Tensor) MustLinalgTensorsolve ¶
func (*Tensor) MustLinalgTensorsolveOut ¶
func (*Tensor) MustLog1pOut ¶
func (*Tensor) MustLog1p_ ¶
func (ts *Tensor) MustLog1p_()
func (*Tensor) MustLog10Out ¶
func (*Tensor) MustLog10_ ¶
func (ts *Tensor) MustLog10_()
func (*Tensor) MustLogNormal ¶ added in v0.8.0
func (*Tensor) MustLogNormalOut ¶ added in v0.8.0
func (*Tensor) MustLogNormal_ ¶
func (*Tensor) MustLogSigmoid ¶
func (*Tensor) MustLogSigmoidBackward ¶
func (*Tensor) MustLogSigmoidBackwardGradInput ¶
func (*Tensor) MustLogSigmoidOut ¶
func (*Tensor) MustLogSoftmax ¶
func (*Tensor) MustLogSoftmaxIntOut ¶ added in v0.8.0
func (*Tensor) MustLogaddexp ¶
func (*Tensor) MustLogaddexp2 ¶
func (*Tensor) MustLogaddexp2Out ¶
func (*Tensor) MustLogaddexpOut ¶
func (*Tensor) MustLogcumsumexp ¶
func (*Tensor) MustLogcumsumexpOut ¶
func (*Tensor) MustLogdet ¶
func (*Tensor) MustLogicalAnd ¶
func (*Tensor) MustLogicalAndOut ¶
func (*Tensor) MustLogicalAnd_ ¶
func (*Tensor) MustLogicalNot ¶
func (*Tensor) MustLogicalNotOut ¶
func (*Tensor) MustLogicalNot_ ¶
func (ts *Tensor) MustLogicalNot_()
func (*Tensor) MustLogicalOr ¶
func (*Tensor) MustLogicalOrOut ¶
func (*Tensor) MustLogicalOr_ ¶
func (*Tensor) MustLogicalXor ¶
func (*Tensor) MustLogicalXorOut ¶
func (*Tensor) MustLogicalXor_ ¶
func (*Tensor) MustLogitBackward ¶
func (*Tensor) MustLogitBackwardGradInput ¶
func (*Tensor) MustLogitOut ¶
func (*Tensor) MustLogit_ ¶
func (*Tensor) MustLogsumexp ¶
func (*Tensor) MustLogsumexpOut ¶
func (*Tensor) MustLtScalarOut ¶
func (*Tensor) MustLtTensor ¶
func (*Tensor) MustLtTensorOut ¶
func (*Tensor) MustLtTensor_ ¶
func (*Tensor) MustLuSolve ¶
func (*Tensor) MustLuSolveOut ¶
func (*Tensor) MustMaskedFill ¶
func (*Tensor) MustMaskedFillScalarOut ¶ added in v0.8.0
func (*Tensor) MustMaskedFillTensor ¶
func (*Tensor) MustMaskedFillTensorOut ¶ added in v0.8.0
func (*Tensor) MustMaskedFillTensor_ ¶
func (*Tensor) MustMaskedFill_ ¶
func (*Tensor) MustMaskedScatter ¶
func (*Tensor) MustMaskedScatterOut ¶ added in v0.8.0
func (*Tensor) MustMaskedScatter_ ¶
func (*Tensor) MustMaskedSelect ¶
func (*Tensor) MustMaskedSelectOut ¶
func (*Tensor) MustMatmulOut ¶
func (*Tensor) MustMatrixExp ¶
func (*Tensor) MustMatrixExpBackward ¶
func (*Tensor) MustMatrixH ¶ added in v0.7.0
func (*Tensor) MustMatrixPower ¶
func (*Tensor) MustMatrixPowerOut ¶
func (*Tensor) MustMaxDim ¶
func (*Tensor) MustMaxDimMax ¶
func (*Tensor) MustMaxOther ¶
func (*Tensor) MustMaxOut ¶
func (*Tensor) MustMaxPool1d ¶
func (*Tensor) MustMaxPool1dWithIndices ¶
func (*Tensor) MustMaxPool2d ¶
func (*Tensor) MustMaxPool2dBackward ¶ added in v0.8.0
func (*Tensor) MustMaxPool2dBackwardOut ¶ added in v0.8.0
func (*Tensor) MustMaxPool2dWithIndices ¶
func (*Tensor) MustMaxPool2dWithIndicesBackward ¶
func (*Tensor) MustMaxPool2dWithIndicesBackwardGradInput ¶
func (*Tensor) MustMaxPool2dWithIndicesOut ¶
func (*Tensor) MustMaxPool3d ¶
func (*Tensor) MustMaxPool3dWithIndices ¶
func (*Tensor) MustMaxPool3dWithIndicesBackward ¶
func (*Tensor) MustMaxPool3dWithIndicesBackwardGradInput ¶
func (*Tensor) MustMaxPool3dWithIndicesOut ¶
func (*Tensor) MustMaxUnaryOut ¶ added in v0.8.0
func (*Tensor) MustMaxUnpool2d ¶
func (*Tensor) MustMaxUnpool2dOut ¶
func (*Tensor) MustMaxUnpool3d ¶
func (*Tensor) MustMaxUnpool3dOut ¶
func (*Tensor) MustMaximum ¶
func (*Tensor) MustMaximumOut ¶
func (*Tensor) MustMeanDim ¶
func (*Tensor) MustMeanOut ¶
func (*Tensor) MustMedian ¶
func (*Tensor) MustMedianDim ¶
func (*Tensor) MustMedianDimValues ¶
func (*Tensor) MustMedianOut ¶ added in v0.8.0
func (*Tensor) MustMinDim ¶
func (*Tensor) MustMinDimMin ¶
func (*Tensor) MustMinOther ¶
func (*Tensor) MustMinOut ¶
func (*Tensor) MustMinUnaryOut ¶ added in v0.9.0
func (*Tensor) MustMinimum ¶
func (*Tensor) MustMinimumOut ¶
func (*Tensor) MustMiopenConvolution ¶
func (*Tensor) MustMiopenConvolutionAddRelu ¶ added in v0.8.0
func (*Tensor) MustMiopenConvolutionOut ¶ added in v0.8.0
func (*Tensor) MustMiopenConvolutionRelu ¶ added in v0.8.0
func (*Tensor) MustMiopenConvolutionTranspose ¶
func (*Tensor) MustMiopenConvolutionTransposeOut ¶ added in v0.8.0
func (*Tensor) MustMiopenDepthwiseConvolution ¶
func (*Tensor) MustMiopenDepthwiseConvolutionOut ¶ added in v0.8.0
func (*Tensor) MustMishBackward ¶
func (*Tensor) MustMkldnnAdaptiveAvgPool2d ¶
func (*Tensor) MustMkldnnAdaptiveAvgPool2dBackward ¶
func (*Tensor) MustMkldnnAdaptiveAvgPool2dBackwardOut ¶ added in v0.8.0
func (*Tensor) MustMkldnnAdaptiveAvgPool2dOut ¶ added in v0.8.0
func (*Tensor) MustMkldnnConvolution ¶
func (*Tensor) MustMkldnnConvolutionOut ¶ added in v0.8.0
func (*Tensor) MustMkldnnLinear ¶
func (*Tensor) MustMkldnnLinearOut ¶ added in v0.8.0
func (*Tensor) MustMkldnnMaxPool2d ¶
func (*Tensor) MustMkldnnMaxPool2dOut ¶ added in v0.8.0
func (*Tensor) MustMkldnnMaxPool3d ¶
func (*Tensor) MustMkldnnMaxPool3dOut ¶ added in v0.8.0
func (*Tensor) MustMkldnnReorderConv2dWeight ¶
func (*Tensor) MustMkldnnReorderConv2dWeightOut ¶ added in v0.8.0
func (*Tensor) MustMkldnnReorderConv3dWeight ¶
func (*Tensor) MustMkldnnReorderConv3dWeightOut ¶ added in v0.8.0
func (*Tensor) MustModeValues ¶
func (*Tensor) MustMoveaxis ¶
func (*Tensor) MustMoveaxisInt ¶
func (*Tensor) MustMovedim ¶
func (*Tensor) MustMovedimInt ¶
func (*Tensor) MustMseLoss ¶
func (*Tensor) MustMseLossBackward ¶
func (*Tensor) MustMseLossBackwardGradInput ¶
func (*Tensor) MustMseLossOut ¶
func (*Tensor) MustMsortOut ¶
func (*Tensor) MustMulOut ¶
func (*Tensor) MustMulScalar ¶
func (*Tensor) MustMulScalarOut ¶ added in v0.8.0
func (*Tensor) MustMulScalar_ ¶
func (*Tensor) MustMultiMarginLossBackward ¶
func (*Tensor) MustMultiMarginLossBackwardGradInput ¶
func (*Tensor) MustMultilabelMarginLoss ¶
func (*Tensor) MustMultilabelMarginLossBackward ¶
func (*Tensor) MustMultilabelMarginLossBackwardGradInput ¶
func (*Tensor) MustMultilabelMarginLossOut ¶
func (*Tensor) MustMultinomial ¶
func (*Tensor) MustMultinomialOut ¶
func (*Tensor) MustMultiply ¶
func (*Tensor) MustMultiplyOut ¶
func (*Tensor) MustMultiplyScalar ¶
func (*Tensor) MustMultiplyScalar_ ¶
func (*Tensor) MustMultiply_ ¶
func (*Tensor) MustMvlgammaOut ¶
func (*Tensor) MustMvlgamma_ ¶
func (*Tensor) MustNLLLoss ¶
func (*Tensor) MustNanToNum ¶
func (*Tensor) MustNanToNumOut ¶
func (*Tensor) MustNanToNum_ ¶
func (*Tensor) MustNanmean ¶
func (*Tensor) MustNanmeanOut ¶
func (*Tensor) MustNanmedian ¶
func (*Tensor) MustNanmedianDim ¶
func (*Tensor) MustNanmedianDimValues ¶
func (*Tensor) MustNanmedianOut ¶ added in v0.8.0
func (*Tensor) MustNanquantile ¶
func (*Tensor) MustNanquantileOut ¶
func (*Tensor) MustNanquantileScalar ¶
func (*Tensor) MustNanquantileScalarOut ¶
func (*Tensor) MustNansum ¶
func (*Tensor) MustNansumOut ¶ added in v0.8.0
func (*Tensor) MustNarrow ¶
func (*Tensor) MustNarrowCopy ¶
func (*Tensor) MustNarrowCopyOut ¶
func (*Tensor) MustNarrowTensor ¶
func (*Tensor) MustNativeChannelShuffle ¶ added in v0.7.0
func (*Tensor) MustNativeNorm ¶
func (*Tensor) MustNativeNormOut ¶ added in v0.8.0
func (*Tensor) MustNativeNormScalaroptDimDtype ¶
func (*Tensor) MustNativeNormScalaroptDimDtypeOut ¶ added in v0.8.0
func (*Tensor) MustNeScalarOut ¶
func (*Tensor) MustNeTensor ¶
func (*Tensor) MustNeTensorOut ¶
func (*Tensor) MustNeTensor_ ¶
func (*Tensor) MustNegative ¶
func (*Tensor) MustNegativeOut ¶
func (*Tensor) MustNegative_ ¶
func (ts *Tensor) MustNegative_()
func (*Tensor) MustNestedToPaddedTensor ¶ added in v0.8.0
func (*Tensor) MustNewEmpty ¶
func (*Tensor) MustNewEmptyOut ¶ added in v0.8.0
func (*Tensor) MustNewEmptyStrided ¶
func (*Tensor) MustNewEmptyStridedOut ¶ added in v0.8.0
func (*Tensor) MustNewFull ¶
func (*Tensor) MustNewFullOut ¶ added in v0.8.0
func (*Tensor) MustNewOnes ¶
func (*Tensor) MustNewOnesOut ¶ added in v0.8.0
func (*Tensor) MustNewZeros ¶
func (*Tensor) MustNewZerosOut ¶ added in v0.8.0
func (*Tensor) MustNextafter ¶
func (*Tensor) MustNextafterOut ¶
func (*Tensor) MustNextafter_ ¶
func (*Tensor) MustNllLoss ¶
func (*Tensor) MustNllLoss2d ¶
func (*Tensor) MustNllLoss2dBackward ¶
func (*Tensor) MustNllLoss2dBackwardGradInput ¶
func (*Tensor) MustNllLoss2dOut ¶
func (*Tensor) MustNllLossBackward ¶
func (*Tensor) MustNllLossBackwardGradInput ¶
func (*Tensor) MustNllLossNd ¶
func (*Tensor) MustNllLossOut ¶
func (*Tensor) MustNonzero ¶
func (*Tensor) MustNonzeroNumpy ¶
func (*Tensor) MustNonzeroOut ¶
func (*Tensor) MustNonzeroStatic ¶ added in v0.9.0
func (*Tensor) MustNonzeroStaticOut ¶ added in v0.9.0
func (*Tensor) MustNormDtypeOut ¶
func (*Tensor) MustNormOut ¶
func (*Tensor) MustNormScalarOut ¶ added in v0.8.0
func (*Tensor) MustNormScalaroptDim ¶
func (*Tensor) MustNormScalaroptDimDtype ¶
func (*Tensor) MustNormScalaroptDtype ¶
func (*Tensor) MustNormScalaroptDtypeOut ¶ added in v0.8.0
func (*Tensor) MustNormalFunctional ¶ added in v0.8.0
func (*Tensor) MustNormal_ ¶
func (*Tensor) MustNotEqual ¶
func (*Tensor) MustNotEqualScalarOut ¶
func (*Tensor) MustNotEqualTensor ¶
func (*Tensor) MustNotEqualTensorOut ¶
func (*Tensor) MustNotEqualTensor_ ¶
func (*Tensor) MustNotEqual_ ¶
func (*Tensor) MustNuclearNorm ¶
func (*Tensor) MustNuclearNormDim ¶
func (*Tensor) MustNuclearNormDimOut ¶
func (*Tensor) MustNuclearNormOut ¶
func (*Tensor) MustNumpyT ¶
func (*Tensor) MustOneHot ¶
func (*Tensor) MustOnesLike ¶
func (*Tensor) MustOnesLikeOut ¶ added in v0.8.0
func (*Tensor) MustOrgqrOut ¶
func (*Tensor) MustOrmqrOut ¶
func (*Tensor) MustOuterOut ¶
func (*Tensor) MustOutputNr ¶
func (*Tensor) MustPermuteCopy ¶ added in v0.8.0
func (*Tensor) MustPermuteCopyOut ¶ added in v0.8.0
func (*Tensor) MustPinMemory ¶
func (*Tensor) MustPinverse ¶
func (*Tensor) MustPixelShuffle ¶
func (*Tensor) MustPixelShuffleOut ¶ added in v0.8.0
func (*Tensor) MustPixelUnshuffle ¶
func (*Tensor) MustPixelUnshuffleOut ¶ added in v0.8.0
func (*Tensor) MustPoisson ¶
func (*Tensor) MustPoissonOut ¶ added in v0.8.0
func (*Tensor) MustPolygammaOut ¶
func (*Tensor) MustPolygamma_ ¶
func (*Tensor) MustPositive ¶
func (*Tensor) MustPowTensorScalar ¶
func (*Tensor) MustPowTensorScalarOut ¶
func (*Tensor) MustPowTensorTensorOut ¶
func (*Tensor) MustPowTensor_ ¶
func (*Tensor) MustProdDimInt ¶
func (*Tensor) MustProdIntOut ¶
func (*Tensor) MustProdOut ¶ added in v0.8.0
func (*Tensor) MustPutOut ¶ added in v0.8.0
func (*Tensor) MustQPerChannelAxis ¶
func (*Tensor) MustQPerChannelScales ¶
func (*Tensor) MustQPerChannelScalesOut ¶ added in v0.8.0
func (*Tensor) MustQPerChannelZeroPoints ¶
func (*Tensor) MustQPerChannelZeroPointsOut ¶ added in v0.8.0
func (*Tensor) MustQScale ¶
func (*Tensor) MustQZeroPoint ¶
func (*Tensor) MustQuantile ¶
func (*Tensor) MustQuantileOut ¶
func (*Tensor) MustQuantileScalar ¶
func (*Tensor) MustQuantileScalarOut ¶
func (*Tensor) MustQuantizePerChannel ¶
func (*Tensor) MustQuantizePerChannelOut ¶ added in v0.8.0
func (*Tensor) MustQuantizePerTensor ¶
func (*Tensor) MustQuantizePerTensorDynamic ¶ added in v0.7.0
func (*Tensor) MustQuantizePerTensorDynamicOut ¶ added in v0.8.0
func (*Tensor) MustQuantizePerTensorTensorQparams ¶
func (*Tensor) MustQuantizedMaxPool1d ¶
func (*Tensor) MustQuantizedMaxPool1dOut ¶ added in v0.8.0
func (*Tensor) MustQuantizedMaxPool2d ¶
func (*Tensor) MustQuantizedMaxPool2dOut ¶ added in v0.8.0
func (*Tensor) MustQuantizedMaxPool3d ¶ added in v0.9.0
func (*Tensor) MustQuantizedMaxPool3dOut ¶ added in v0.9.0
func (*Tensor) MustRad2deg ¶
func (*Tensor) MustRad2degOut ¶
func (*Tensor) MustRad2deg_ ¶
func (ts *Tensor) MustRad2deg_()
func (*Tensor) MustRandLike ¶
func (*Tensor) MustRandLikeOut ¶ added in v0.8.0
func (*Tensor) MustRandintLike ¶
func (*Tensor) MustRandintLikeLowDtype ¶
func (*Tensor) MustRandintLikeLowDtypeOut ¶ added in v0.8.0
func (*Tensor) MustRandintLikeOut ¶ added in v0.8.0
func (*Tensor) MustRandnLike ¶
func (*Tensor) MustRandnLikeOut ¶ added in v0.8.0
func (*Tensor) MustRandom ¶ added in v0.8.0
func (*Tensor) MustRandomFrom ¶ added in v0.8.0
func (*Tensor) MustRandomFromOut ¶ added in v0.8.0
func (*Tensor) MustRandomFrom_ ¶
func (*Tensor) MustRandomOut ¶ added in v0.8.0
func (*Tensor) MustRandomTo ¶ added in v0.8.0
func (*Tensor) MustRandomToOut ¶ added in v0.8.0
func (*Tensor) MustRandomTo_ ¶
func (*Tensor) MustRandom_ ¶
func (ts *Tensor) MustRandom_()
func (*Tensor) MustReciprocal ¶
func (*Tensor) MustReciprocalOut ¶
func (*Tensor) MustReciprocal_ ¶
func (ts *Tensor) MustReciprocal_()
func (*Tensor) MustReflectionPad1d ¶
func (*Tensor) MustReflectionPad1dBackward ¶
func (*Tensor) MustReflectionPad1dBackwardGradInput ¶
func (*Tensor) MustReflectionPad1dOut ¶
func (*Tensor) MustReflectionPad2d ¶
func (*Tensor) MustReflectionPad2dBackward ¶
func (*Tensor) MustReflectionPad2dBackwardGradInput ¶
func (*Tensor) MustReflectionPad2dOut ¶
func (*Tensor) MustReflectionPad3d ¶
func (*Tensor) MustReflectionPad3dBackward ¶
func (*Tensor) MustReflectionPad3dBackwardGradInput ¶
func (*Tensor) MustReflectionPad3dOut ¶
func (*Tensor) MustRelu6_ ¶
func (ts *Tensor) MustRelu6_()
func (*Tensor) MustReluOut ¶ added in v0.8.0
func (*Tensor) MustRemainder ¶
func (*Tensor) MustRemainderScalarOut ¶
func (*Tensor) MustRemainderTensor ¶
func (*Tensor) MustRemainderTensorOut ¶
func (*Tensor) MustRemainderTensor_ ¶
func (*Tensor) MustRemainder_ ¶
func (*Tensor) MustRenorm ¶
func (*Tensor) MustRenormOut ¶
func (*Tensor) MustRepeat ¶
func (*Tensor) MustRepeatInterleaveSelfInt ¶
func (*Tensor) MustRepeatInterleaveSelfTensor ¶
func (*Tensor) MustRepeatOut ¶ added in v0.8.0
func (*Tensor) MustReplicationPad1d ¶
func (*Tensor) MustReplicationPad1dBackward ¶
func (*Tensor) MustReplicationPad1dBackwardGradInput ¶
func (*Tensor) MustReplicationPad1dOut ¶
func (*Tensor) MustReplicationPad2d ¶
func (*Tensor) MustReplicationPad2dBackward ¶
func (*Tensor) MustReplicationPad2dBackwardGradInput ¶
func (*Tensor) MustReplicationPad2dOut ¶
func (*Tensor) MustReplicationPad3d ¶
func (*Tensor) MustReplicationPad3dBackward ¶
func (*Tensor) MustReplicationPad3dBackwardGradInput ¶
func (*Tensor) MustReplicationPad3dOut ¶
func (*Tensor) MustRequiresGrad ¶
func (*Tensor) MustRequiresGrad_ ¶
func (*Tensor) MustReshape ¶
func (*Tensor) MustReshapeAs ¶
func (*Tensor) MustResize ¶ added in v0.8.0
func (*Tensor) MustResizeAs ¶ added in v0.8.0
func (*Tensor) MustResizeAsOut ¶ added in v0.8.0
func (*Tensor) MustResizeAsSparse ¶ added in v0.8.0
func (*Tensor) MustResizeAsSparseOut ¶ added in v0.8.0
func (*Tensor) MustResizeAsSparse_ ¶
func (*Tensor) MustResizeAs_ ¶
func (*Tensor) MustResizeOut ¶ added in v0.8.0
func (*Tensor) MustResize_ ¶
func (*Tensor) MustResolveConj ¶
func (*Tensor) MustResolveNeg ¶
func (*Tensor) MustRetainsGrad ¶
func (*Tensor) MustRollOut ¶ added in v0.8.0
func (*Tensor) MustRot90Out ¶ added in v0.8.0
func (*Tensor) MustRoundDecimals ¶ added in v0.7.0
func (*Tensor) MustRoundDecimalsOut ¶ added in v0.7.0
func (*Tensor) MustRoundDecimals_ ¶ added in v0.7.0
func (*Tensor) MustRoundOut ¶
func (*Tensor) MustRound_ ¶
func (ts *Tensor) MustRound_()
func (*Tensor) MustRowIndices ¶ added in v0.8.0
func (*Tensor) MustRowIndicesCopy ¶ added in v0.8.0
func (*Tensor) MustRowIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) MustRreluWithNoise ¶
func (*Tensor) MustRreluWithNoiseBackward ¶
func (*Tensor) MustRreluWithNoiseBackwardOut ¶ added in v0.8.0
func (*Tensor) MustRreluWithNoiseOut ¶
func (*Tensor) MustRreluWithNoise_ ¶
func (*Tensor) MustRrelu_ ¶
func (*Tensor) MustRsqrtOut ¶
func (*Tensor) MustRsqrt_ ¶
func (ts *Tensor) MustRsqrt_()
func (*Tensor) MustRsubScalar ¶
func (*Tensor) MustRsubScalarOut ¶ added in v0.8.0
func (*Tensor) MustRsubTensorOut ¶ added in v0.8.0
func (*Tensor) MustScatter ¶
func (*Tensor) MustScatterAdd ¶
func (*Tensor) MustScatterAddOut ¶
func (*Tensor) MustScatterAdd_ ¶
func (*Tensor) MustScatterReduce ¶
func (*Tensor) MustScatterReduceOut ¶
func (*Tensor) MustScatterReduce_ ¶
func (*Tensor) MustScatterSrcOut ¶
func (*Tensor) MustScatterValue ¶
func (*Tensor) MustScatterValueOut ¶
func (*Tensor) MustScatterValueReduce ¶
func (*Tensor) MustScatterValueReduceOut ¶
func (*Tensor) MustScatterValueReduce_ ¶
func (*Tensor) MustScatterValue_ ¶
func (*Tensor) MustSearchsorted ¶
func (*Tensor) MustSearchsortedTensorOut ¶
func (*Tensor) MustSelect ¶
func (*Tensor) MustSelectCopy ¶ added in v0.8.0
func (*Tensor) MustSelectCopyIntOut ¶ added in v0.8.0
func (*Tensor) MustSelectScatter ¶ added in v0.7.0
func (*Tensor) MustSelectScatterOut ¶ added in v0.8.0
func (*Tensor) MustSetOut ¶ added in v0.8.0
func (*Tensor) MustSetRequiresGrad ¶
func (*Tensor) MustSetSourceTensor ¶ added in v0.8.0
func (*Tensor) MustSetSourceTensorOut ¶ added in v0.8.0
func (*Tensor) MustSetSourceTensorStorageOffset_ ¶ added in v0.8.0
func (*Tensor) MustSetSourceTensor_ ¶
func (*Tensor) MustShallowClone ¶
MustShallowClone returns a new tensor that share storage with the input tensor. It will panic if error occurred
func (*Tensor) MustSigmoid ¶
func (*Tensor) MustSigmoidOut ¶
func (*Tensor) MustSigmoid_ ¶
func (ts *Tensor) MustSigmoid_()
func (*Tensor) MustSignbit ¶
func (*Tensor) MustSignbitOut ¶
func (*Tensor) MustSiluBackward ¶
func (*Tensor) MustSiluBackwardGradInput ¶
func (*Tensor) MustSliceCopy ¶ added in v0.8.0
func (*Tensor) MustSliceCopyTensorOut ¶ added in v0.8.0
func (*Tensor) MustSliceScatter ¶ added in v0.7.0
func (*Tensor) MustSliceScatterOut ¶ added in v0.8.0
func (*Tensor) MustSlogdet ¶
func (*Tensor) MustSlogdetOut ¶ added in v0.8.0
func (*Tensor) MustSlowConv3d ¶
func (*Tensor) MustSlowConv3dOut ¶
func (*Tensor) MustSlowConvDilated2d ¶
func (*Tensor) MustSlowConvDilated2dOut ¶ added in v0.8.0
func (*Tensor) MustSlowConvDilated3d ¶
func (*Tensor) MustSlowConvDilated3dOut ¶ added in v0.8.0
func (*Tensor) MustSlowConvTranspose2d ¶
func (*Tensor) MustSlowConvTranspose2dOut ¶
func (*Tensor) MustSlowConvTranspose3d ¶
func (*Tensor) MustSlowConvTranspose3dOut ¶
func (*Tensor) MustSmoothL1Loss ¶
func (*Tensor) MustSmoothL1LossBackward ¶
func (*Tensor) MustSmoothL1LossBackwardGradInput ¶
func (*Tensor) MustSmoothL1LossOut ¶
func (*Tensor) MustSoftMarginLoss ¶
func (*Tensor) MustSoftMarginLossBackward ¶
func (*Tensor) MustSoftMarginLossBackwardGradInput ¶
func (*Tensor) MustSoftMarginLossOut ¶
func (*Tensor) MustSoftmax ¶
func (*Tensor) MustSoftmaxIntOut ¶ added in v0.8.0
func (*Tensor) MustSoftplus ¶
func (*Tensor) MustSoftplusBackward ¶
func (*Tensor) MustSoftplusBackwardGradInput ¶
func (*Tensor) MustSoftplusOut ¶
func (*Tensor) MustSoftshrink ¶
func (*Tensor) MustSoftshrinkBackward ¶
func (*Tensor) MustSoftshrinkBackwardGradInput ¶
func (*Tensor) MustSoftshrinkOut ¶
func (*Tensor) MustSortStable ¶
func (*Tensor) MustSortValues ¶
func (*Tensor) MustSortValuesStable ¶
func (*Tensor) MustSparseDim ¶
func (*Tensor) MustSparseMask ¶
func (*Tensor) MustSparseMaskOut ¶ added in v0.8.0
func (*Tensor) MustSparseResize ¶ added in v0.8.0
func (*Tensor) MustSparseResizeAndClear ¶ added in v0.8.0
func (*Tensor) MustSparseResizeAndClearOut ¶ added in v0.8.0
func (*Tensor) MustSparseResizeAndClear_ ¶
func (*Tensor) MustSparseResizeOut ¶ added in v0.8.0
func (*Tensor) MustSparseResize_ ¶
func (*Tensor) MustSparseSampledAddmm ¶ added in v0.7.0
func (*Tensor) MustSparseSampledAddmmOut ¶ added in v0.7.0
func (*Tensor) MustSpecialBesselJ0 ¶ added in v0.8.0
func (*Tensor) MustSpecialBesselJ0Out ¶ added in v0.8.0
func (*Tensor) MustSpecialBesselJ1 ¶ added in v0.8.0
func (*Tensor) MustSpecialBesselJ1Out ¶ added in v0.8.0
func (*Tensor) MustSpecialBesselY0 ¶ added in v0.8.0
func (*Tensor) MustSpecialBesselY0Out ¶ added in v0.8.0
func (*Tensor) MustSpecialBesselY1 ¶ added in v0.8.0
func (*Tensor) MustSpecialBesselY1Out ¶ added in v0.8.0
func (*Tensor) MustSpecialDigamma ¶
func (*Tensor) MustSpecialDigammaOut ¶
func (*Tensor) MustSpecialEntr ¶
func (*Tensor) MustSpecialEntrOut ¶
func (*Tensor) MustSpecialErf ¶
func (*Tensor) MustSpecialErfOut ¶
func (*Tensor) MustSpecialErfc ¶
func (*Tensor) MustSpecialErfcOut ¶
func (*Tensor) MustSpecialErfcx ¶
func (*Tensor) MustSpecialErfcxOut ¶
func (*Tensor) MustSpecialErfinv ¶
func (*Tensor) MustSpecialErfinvOut ¶
func (*Tensor) MustSpecialExp2 ¶
func (*Tensor) MustSpecialExp2Out ¶
func (*Tensor) MustSpecialExpit ¶
func (*Tensor) MustSpecialExpitOut ¶
func (*Tensor) MustSpecialExpm1 ¶
func (*Tensor) MustSpecialExpm1Out ¶
func (*Tensor) MustSpecialGammainc ¶
func (*Tensor) MustSpecialGammaincOut ¶
func (*Tensor) MustSpecialGammaincc ¶
func (*Tensor) MustSpecialGammainccOut ¶
func (*Tensor) MustSpecialGammaln ¶
func (*Tensor) MustSpecialGammalnOut ¶
func (*Tensor) MustSpecialI0 ¶
func (*Tensor) MustSpecialI0Out ¶
func (*Tensor) MustSpecialI0e ¶
func (*Tensor) MustSpecialI0eOut ¶
func (*Tensor) MustSpecialI1 ¶
func (*Tensor) MustSpecialI1Out ¶
func (*Tensor) MustSpecialI1e ¶
func (*Tensor) MustSpecialI1eOut ¶
func (*Tensor) MustSpecialLog1p ¶
func (*Tensor) MustSpecialLog1pOut ¶
func (*Tensor) MustSpecialLogNdtr ¶ added in v0.8.0
func (*Tensor) MustSpecialLogNdtrOut ¶ added in v0.8.0
func (*Tensor) MustSpecialLogSoftmax ¶
func (*Tensor) MustSpecialLogit ¶
func (*Tensor) MustSpecialLogitOut ¶
func (*Tensor) MustSpecialLogsumexp ¶
func (*Tensor) MustSpecialLogsumexpOut ¶
func (*Tensor) MustSpecialModifiedBesselI0 ¶ added in v0.8.0
func (*Tensor) MustSpecialModifiedBesselI0Out ¶ added in v0.8.0
func (*Tensor) MustSpecialModifiedBesselI1 ¶ added in v0.8.0
func (*Tensor) MustSpecialModifiedBesselI1Out ¶ added in v0.8.0
func (*Tensor) MustSpecialModifiedBesselK0 ¶ added in v0.8.0
func (*Tensor) MustSpecialModifiedBesselK0Out ¶ added in v0.8.0
func (*Tensor) MustSpecialModifiedBesselK1 ¶ added in v0.8.0
func (*Tensor) MustSpecialModifiedBesselK1Out ¶ added in v0.8.0
func (*Tensor) MustSpecialMultigammaln ¶
func (*Tensor) MustSpecialMultigammalnOut ¶
func (*Tensor) MustSpecialNdtr ¶
func (*Tensor) MustSpecialNdtrOut ¶
func (*Tensor) MustSpecialNdtri ¶
func (*Tensor) MustSpecialNdtriOut ¶
func (*Tensor) MustSpecialPolygamma ¶
func (*Tensor) MustSpecialPolygammaOut ¶
func (*Tensor) MustSpecialPsi ¶
func (*Tensor) MustSpecialPsiOut ¶
func (*Tensor) MustSpecialRound ¶
func (*Tensor) MustSpecialRoundOut ¶
func (*Tensor) MustSpecialSinc ¶
func (*Tensor) MustSpecialSincOut ¶
func (*Tensor) MustSpecialSoftmax ¶ added in v0.7.0
func (*Tensor) MustSpecialXlog1py ¶
func (*Tensor) MustSpecialXlog1pyOtherScalar ¶
func (*Tensor) MustSpecialXlog1pyOtherScalarOut ¶
func (*Tensor) MustSpecialXlog1pyOut ¶
func (*Tensor) MustSpecialXlogy ¶
func (*Tensor) MustSpecialXlogyOtherScalar ¶
func (*Tensor) MustSpecialXlogyOtherScalarOut ¶
func (*Tensor) MustSpecialXlogyOut ¶
func (*Tensor) MustSpecialZeta ¶
func (*Tensor) MustSpecialZetaOtherScalar ¶
func (*Tensor) MustSpecialZetaOtherScalarOut ¶
func (*Tensor) MustSpecialZetaOut ¶
func (*Tensor) MustSplitWithSizes ¶
func (*Tensor) MustSquare ¶
func (*Tensor) MustSquareOut ¶
func (*Tensor) MustSquare_ ¶
func (ts *Tensor) MustSquare_()
func (*Tensor) MustSqueeze ¶
func (*Tensor) MustSqueezeCopy ¶ added in v0.8.0
func (*Tensor) MustSqueezeCopyDim ¶ added in v0.8.0
func (*Tensor) MustSqueezeCopyDimOut ¶ added in v0.8.0
func (*Tensor) MustSqueezeCopyDims ¶ added in v0.8.0
func (*Tensor) MustSqueezeCopyDimsOut ¶ added in v0.8.0
func (*Tensor) MustSqueezeCopyOut ¶ added in v0.8.0
func (*Tensor) MustSqueezeDim ¶
func (*Tensor) MustSqueezeDim_ ¶
func (*Tensor) MustSqueezeDims ¶ added in v0.8.0
func (*Tensor) MustSqueezeDims_ ¶ added in v0.8.0
func (*Tensor) MustSqueeze_ ¶
func (ts *Tensor) MustSqueeze_()
func (*Tensor) MustSspaddmm ¶
func (*Tensor) MustSspaddmmOut ¶
func (*Tensor) MustStdCorrection ¶
func (*Tensor) MustStdCorrectionOut ¶
func (*Tensor) MustStdDim ¶
func (*Tensor) MustStdMean ¶
func (*Tensor) MustStdMeanCorrection ¶
func (*Tensor) MustStdMeanCorrectionOut ¶ added in v0.8.0
func (*Tensor) MustStdMeanDim ¶
func (*Tensor) MustStdOut ¶
func (*Tensor) MustStftCenter ¶ added in v0.8.0
func (*Tensor) MustStride ¶ added in v0.8.0
func (*Tensor) MustSubOut ¶
func (*Tensor) MustSubScalar ¶
func (*Tensor) MustSubScalarOut ¶ added in v0.8.0
func (*Tensor) MustSubScalar_ ¶
func (*Tensor) MustSubtract ¶
func (*Tensor) MustSubtractOut ¶
func (*Tensor) MustSubtractScalar ¶
func (*Tensor) MustSubtractScalar_ ¶
func (*Tensor) MustSubtract_ ¶
func (*Tensor) MustSumDimIntlist ¶
func (*Tensor) MustSumIntlistOut ¶
func (*Tensor) MustSumOut ¶ added in v0.8.0
func (*Tensor) MustSumToSize ¶
func (*Tensor) MustSwapaxes ¶
func (*Tensor) MustSwapaxes_ ¶
func (*Tensor) MustSwapdims ¶
func (*Tensor) MustSwapdims_ ¶
func (*Tensor) MustTCopyOut ¶ added in v0.8.0
func (*Tensor) MustTakeAlongDim ¶
func (*Tensor) MustTakeAlongDimOut ¶
func (*Tensor) MustTakeOut ¶
func (*Tensor) MustTensordot ¶
func (*Tensor) MustTensordotOut ¶
func (*Tensor) MustThreshold ¶
func (*Tensor) MustThresholdBackward ¶
func (*Tensor) MustThresholdBackwardGradInput ¶
func (*Tensor) MustThresholdOut ¶
func (*Tensor) MustThreshold_ ¶
func (*Tensor) MustToDense ¶
func (*Tensor) MustToDevice ¶
func (*Tensor) MustToDtype ¶
func (*Tensor) MustToDtypeLayout ¶
func (*Tensor) MustToMkldnn ¶
func (*Tensor) MustToMkldnnOut ¶ added in v0.8.0
func (*Tensor) MustToOther ¶
func (*Tensor) MustToPaddedTensor ¶ added in v0.8.0
func (*Tensor) MustToPaddedTensorOut ¶ added in v0.8.0
func (*Tensor) MustToSparse ¶
func (*Tensor) MustToSparseBsc ¶ added in v0.8.0
func (*Tensor) MustToSparseBsr ¶ added in v0.8.0
func (*Tensor) MustToSparseCsc ¶ added in v0.8.0
func (*Tensor) MustToSparseCsr ¶ added in v0.8.0
func (*Tensor) MustToSparseSparseDim ¶
func (*Tensor) MustToString ¶
MustToString returns a string representation for the tensor. It will be panic if error. lw : line width (size)
func (*Tensor) MustTopkValues ¶
func (*Tensor) MustTotype ¶
func (*Tensor) MustTraceOut ¶ added in v0.8.0
func (*Tensor) MustTranspose ¶
func (*Tensor) MustTransposeCopy ¶ added in v0.8.0
func (*Tensor) MustTransposeCopyIntOut ¶ added in v0.8.0
func (*Tensor) MustTranspose_ ¶
func (*Tensor) MustTriangularSolve ¶
func (*Tensor) MustTriangularSolveX ¶
func (*Tensor) MustTrilOut ¶
func (*Tensor) MustTriuOut ¶
func (*Tensor) MustTrueDivide ¶
func (*Tensor) MustTrueDivideOut ¶
func (*Tensor) MustTrueDivideScalar ¶
func (*Tensor) MustTrueDivideScalar_ ¶
func (*Tensor) MustTrueDivide_ ¶
func (*Tensor) MustTruncOut ¶
func (*Tensor) MustTrunc_ ¶
func (ts *Tensor) MustTrunc_()
func (*Tensor) MustUnflatten ¶
func (*Tensor) MustUnfold ¶
func (*Tensor) MustUnfoldCopy ¶ added in v0.8.0
func (*Tensor) MustUnfoldCopyOut ¶ added in v0.8.0
func (*Tensor) MustUniform ¶ added in v0.8.0
func (*Tensor) MustUniformOut ¶ added in v0.8.0
func (*Tensor) MustUniform_ ¶
func (*Tensor) MustUniqueConsecutive ¶
func (*Tensor) MustUniqueConsecutiveOut ¶ added in v0.8.0
func (*Tensor) MustUniqueDim ¶
func (*Tensor) MustUniqueDimConsecutive ¶
func (*Tensor) MustUniqueDimConsecutiveOut ¶ added in v0.8.0
func (*Tensor) MustUniqueDimOut ¶ added in v0.8.0
func (*Tensor) MustUnsqueeze ¶
func (*Tensor) MustUnsqueezeCopy ¶ added in v0.8.0
func (*Tensor) MustUnsqueezeCopyOut ¶ added in v0.8.0
func (*Tensor) MustUnsqueeze_ ¶
func (*Tensor) MustUpsampleBicubic2d ¶
func (*Tensor) MustUpsampleBicubic2dOut ¶
func (*Tensor) MustUpsampleBilinear2d ¶
func (*Tensor) MustUpsampleBilinear2dOut ¶
func (*Tensor) MustUpsampleLinear1d ¶
func (*Tensor) MustUpsampleLinear1dOut ¶
func (*Tensor) MustUpsampleNearest1d ¶
func (*Tensor) MustUpsampleNearest1dOut ¶
func (*Tensor) MustUpsampleNearest2d ¶
func (*Tensor) MustUpsampleNearest2dOut ¶
func (*Tensor) MustUpsampleNearest3d ¶
func (*Tensor) MustUpsampleNearest3dOut ¶
func (*Tensor) MustUpsampleTrilinear3d ¶
func (*Tensor) MustUpsampleTrilinear3dOut ¶
func (*Tensor) MustValues ¶
func (*Tensor) MustValuesCopy ¶ added in v0.8.0
func (*Tensor) MustValuesCopyOut ¶ added in v0.8.0
func (*Tensor) MustVarCorrection ¶
func (*Tensor) MustVarCorrectionOut ¶
func (*Tensor) MustVarDim ¶
func (*Tensor) MustVarMean ¶
func (*Tensor) MustVarMeanCorrection ¶
func (*Tensor) MustVarMeanCorrectionOut ¶ added in v0.8.0
func (*Tensor) MustVarMeanDim ¶
func (*Tensor) MustVarOut ¶
func (*Tensor) MustVdotOut ¶
func (*Tensor) MustViewAsComplex ¶
func (*Tensor) MustViewAsComplexCopy ¶ added in v0.8.0
func (*Tensor) MustViewAsComplexCopyOut ¶ added in v0.8.0
func (*Tensor) MustViewAsReal ¶
func (*Tensor) MustViewAsRealCopy ¶ added in v0.8.0
func (*Tensor) MustViewAsRealCopyOut ¶ added in v0.8.0
func (*Tensor) MustViewCopy ¶ added in v0.8.0
func (*Tensor) MustViewCopyDtype ¶ added in v0.8.0
func (*Tensor) MustViewCopyDtypeOut ¶ added in v0.8.0
func (*Tensor) MustViewCopyOut ¶ added in v0.8.0
func (*Tensor) MustViewDtype ¶
func (*Tensor) MustWhereScalarother ¶
func (*Tensor) MustWhereSelf ¶
func (*Tensor) MustWhereSelfOut ¶ added in v0.8.0
func (*Tensor) MustXlogyOutscalarOther ¶
func (*Tensor) MustXlogyOuttensor ¶
func (*Tensor) MustXlogyScalarOther ¶
func (*Tensor) MustXlogyScalarOther_ ¶
func (*Tensor) MustXlogy_ ¶
func (*Tensor) MustZeroOut ¶ added in v0.8.0
func (*Tensor) MustZeroPad2d ¶
func (*Tensor) MustZerosLike ¶
func (*Tensor) MustZerosLikeOut ¶ added in v0.8.0
func (*Tensor) Must_AdaptiveAvgPool2d ¶
func (*Tensor) Must_AdaptiveAvgPool2dBackward ¶
func (*Tensor) Must_AdaptiveAvgPool2dBackwardOut ¶ added in v0.8.0
func (*Tensor) Must_AdaptiveAvgPool2dOut ¶ added in v0.8.0
func (*Tensor) Must_AdaptiveAvgPool3d ¶
func (*Tensor) Must_AdaptiveAvgPool3dBackward ¶
func (*Tensor) Must_AdaptiveAvgPool3dBackwardOut ¶ added in v0.8.0
func (*Tensor) Must_AdaptiveAvgPool3dOut ¶ added in v0.8.0
func (*Tensor) Must_AddBatchDim ¶
func (*Tensor) Must_AddRelu ¶
func (*Tensor) Must_AddReluOut ¶
func (*Tensor) Must_AddReluScalar ¶
func (*Tensor) Must_AddReluScalarOut ¶ added in v0.8.0
func (*Tensor) Must_AddReluScalar_ ¶
func (*Tensor) Must_AddRelu_ ¶
func (*Tensor) Must_AddmmActivation ¶ added in v0.8.0
func (*Tensor) Must_AddmmActivationOut ¶ added in v0.8.0
func (*Tensor) Must_Aminmax ¶
func (*Tensor) Must_AminmaxDim ¶
func (*Tensor) Must_AminmaxDimOut ¶ added in v0.8.0
func (*Tensor) Must_AminmaxOut ¶ added in v0.8.0
func (*Tensor) Must_AmpUpdateScale ¶ added in v0.8.0
func (*Tensor) Must_AmpUpdateScaleOut ¶ added in v0.8.0
func (*Tensor) Must_AmpUpdateScale_ ¶
func (*Tensor) Must_AutocastToFullPrecision ¶ added in v0.7.0
func (*Tensor) Must_AutocastToReducedPrecision ¶ added in v0.7.0
func (*Tensor) Must_CastByte ¶
func (*Tensor) Must_CastChar ¶
func (*Tensor) Must_CastDouble ¶
func (*Tensor) Must_CastFloat ¶
func (*Tensor) Must_CastHalf ¶
func (*Tensor) Must_CastInt ¶
func (*Tensor) Must_CastLong ¶
func (*Tensor) Must_CastShort ¶
func (*Tensor) Must_CholeskySolveHelper ¶
func (*Tensor) Must_CholeskySolveHelperOut ¶ added in v0.8.0
func (*Tensor) Must_Coalesce ¶
func (*Tensor) Must_CoalesceOut ¶ added in v0.8.0
func (*Tensor) Must_Coalesced ¶ added in v0.8.0
func (*Tensor) Must_CoalescedOut ¶ added in v0.8.0
func (*Tensor) Must_Coalesced_ ¶
func (*Tensor) Must_ConjCopy ¶ added in v0.8.0
func (*Tensor) Must_ConjCopyOut ¶ added in v0.8.0
func (*Tensor) Must_ConjPhysical ¶
func (*Tensor) Must_ConjPhysicalOut ¶ added in v0.8.0
func (*Tensor) Must_ConvDepthwise2d ¶
func (*Tensor) Must_ConvDepthwise2dOut ¶
func (*Tensor) Must_ConvertIndicesFromCooToCsr ¶
func (*Tensor) Must_ConvertIndicesFromCooToCsrOut ¶
func (*Tensor) Must_CopyFrom ¶
func (*Tensor) Must_CopyFromAndResize ¶
func (*Tensor) Must_CopyFromAndResizeOut ¶ added in v0.8.0
func (*Tensor) Must_CopyFromOut ¶ added in v0.8.0
func (*Tensor) Must_DebugHasInternalOverlap ¶
func (*Tensor) Must_FakeQuantizeLearnablePerChannelAffine ¶
func (*Tensor) Must_FakeQuantizeLearnablePerChannelAffineBackward ¶
func (*Tensor) Must_FakeQuantizeLearnablePerChannelAffineOut ¶ added in v0.8.0
func (*Tensor) Must_FakeQuantizeLearnablePerTensorAffine ¶
func (*Tensor) Must_FakeQuantizeLearnablePerTensorAffineBackward ¶
func (*Tensor) Must_FakeQuantizeLearnablePerTensorAffineOut ¶ added in v0.8.0
func (*Tensor) Must_FakeQuantizePerTensorAffineCachemaskTensorQparams ¶
func (*Tensor) Must_FakeQuantizePerTensorAffineCachemaskTensorQparamsOut ¶ added in v0.8.0
func (*Tensor) Must_FftC2c ¶
func (*Tensor) Must_FftC2cOut ¶
func (*Tensor) Must_FftC2r ¶
func (*Tensor) Must_FftC2rOut ¶
func (*Tensor) Must_FftR2c ¶
func (*Tensor) Must_FftR2cOut ¶
func (*Tensor) Must_FillMemEffDropoutMask_ ¶ added in v0.9.0
func (*Tensor) Must_Foobar ¶ added in v0.8.0
func (*Tensor) Must_FoobarOut ¶ added in v0.8.0
func (*Tensor) Must_FunctionalAssertAsync ¶ added in v0.9.0
func (*Tensor) Must_FusedDropout ¶
func (*Tensor) Must_FusedDropoutOut ¶ added in v0.8.0
func (*Tensor) Must_FusedMovingAvgObsFqHelper ¶
func (ts *Tensor) Must_FusedMovingAvgObsFqHelper(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, runningMax *Tensor, scale *Tensor, zeroPoint *Tensor, averagingConst float64, quantMin int64, quantMax int64, chAxis int64, perRowFakeQuant bool, symmetricQuant bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
func (*Tensor) Must_FusedMovingAvgObsFqHelperFunctional ¶ added in v0.8.0
func (ts *Tensor) Must_FusedMovingAvgObsFqHelperFunctional(observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, runningMax *Tensor, scale *Tensor, zeroPoint *Tensor, averagingConst float64, quantMin int64, quantMax int64, chAxis int64, perRowFakeQuant bool, symmetricQuant bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, retVal3 *Tensor, retVal4 *Tensor, retVal5 *Tensor)
func (*Tensor) Must_FusedMovingAvgObsFqHelperOut ¶ added in v0.8.0
func (ts *Tensor) Must_FusedMovingAvgObsFqHelperOut(out0 *Tensor, out1 *Tensor, observerOn *Tensor, fakeQuantOn *Tensor, runningMin *Tensor, runningMax *Tensor, scale *Tensor, zeroPoint *Tensor, averagingConst float64, quantMin int64, quantMax int64, chAxis int64, perRowFakeQuant bool, symmetricQuant bool, del bool) (retVal0 *Tensor, retVal1 *Tensor)
func (*Tensor) Must_FwPrimal ¶
func (*Tensor) Must_FwPrimalCopy ¶ added in v0.8.0
func (*Tensor) Must_FwPrimalCopyOut ¶ added in v0.8.0
func (*Tensor) Must_GatherSparseBackward ¶
func (*Tensor) Must_HasCompatibleShallowCopyType ¶
func (*Tensor) Must_HasSameStorageNumel ¶ added in v0.7.0
func (*Tensor) Must_HistogramddFromBinCts ¶ added in v0.8.0
func (*Tensor) Must_HistogramddFromBinTensors ¶ added in v0.7.0
func (*Tensor) Must_HistogramddFromBinTensorsOut ¶ added in v0.8.0
func (*Tensor) Must_IndexPutImpl ¶ added in v0.8.0
func (*Tensor) Must_IndexPutImplOut ¶ added in v0.8.0
func (*Tensor) Must_Indices ¶
func (*Tensor) Must_IndicesCopy ¶ added in v0.8.0
func (*Tensor) Must_IndicesCopyOut ¶ added in v0.8.0
func (*Tensor) Must_IntMm ¶ added in v0.9.0
func (*Tensor) Must_IntMmOut ¶ added in v0.9.0
func (*Tensor) Must_IsAllTrue ¶ added in v0.8.0
func (*Tensor) Must_IsAnyTrue ¶ added in v0.8.0
func (*Tensor) Must_IsZerotensor ¶ added in v0.7.0
func (*Tensor) Must_LogSoftmax ¶
func (*Tensor) Must_LogSoftmaxOut ¶
func (*Tensor) Must_Logcumsumexp ¶
func (*Tensor) Must_LogcumsumexpOut ¶
func (*Tensor) Must_LuWithInfo ¶
func (*Tensor) Must_MakePerChannelQuantizedTensor ¶
func (*Tensor) Must_MakePerChannelQuantizedTensorOut ¶ added in v0.8.0
func (*Tensor) Must_MakePerTensorQuantizedTensor ¶
func (*Tensor) Must_MakePerTensorQuantizedTensorOut ¶ added in v0.8.0
func (*Tensor) Must_MaskedScale ¶
func (*Tensor) Must_MaskedScaleOut ¶ added in v0.8.0
func (*Tensor) Must_MaskedSoftmax ¶ added in v0.7.0
func (*Tensor) Must_MaskedSoftmaxOut ¶ added in v0.8.0
func (*Tensor) Must_MkldnnReshape ¶
func (*Tensor) Must_MkldnnReshapeOut ¶ added in v0.8.0
func (*Tensor) Must_MkldnnTranspose ¶
func (*Tensor) Must_MkldnnTransposeOut ¶ added in v0.8.0
func (*Tensor) Must_MkldnnTranspose_ ¶
func (*Tensor) Must_MpsConvolution ¶ added in v0.8.0
func (*Tensor) Must_MpsConvolutionOut ¶ added in v0.8.0
func (*Tensor) Must_MpsConvolutionTranspose ¶ added in v0.8.0
func (*Tensor) Must_MpsConvolutionTransposeOut ¶ added in v0.8.0
func (*Tensor) Must_NegView ¶
func (*Tensor) Must_NegViewCopy ¶ added in v0.8.0
func (*Tensor) Must_NegViewCopyOut ¶ added in v0.8.0
func (*Tensor) Must_NestedSelectBackward ¶ added in v0.8.0
func (*Tensor) Must_NestedSumBackward ¶ added in v0.8.0
func (*Tensor) Must_NestedViewFromBuffer ¶ added in v0.8.0
func (*Tensor) Must_NestedViewFromBufferCopy ¶ added in v0.8.0
func (*Tensor) Must_NestedViewFromBufferCopyOut ¶ added in v0.8.0
func (*Tensor) Must_NewZerosWithSameFeatureMeta ¶ added in v0.7.0
func (*Tensor) Must_NewZerosWithSameFeatureMetaOut ¶ added in v0.8.0
func (*Tensor) Must_PadCircular ¶ added in v0.8.0
func (*Tensor) Must_PadEnum ¶ added in v0.8.0
func (*Tensor) Must_PdistBackward ¶
func (*Tensor) Must_PdistBackwardOut ¶ added in v0.8.0
func (*Tensor) Must_PinMemory ¶
func (*Tensor) Must_PinMemoryOut ¶ added in v0.8.0
func (*Tensor) Must_PreluKernel ¶ added in v0.8.0
func (*Tensor) Must_PreluKernelBackward ¶ added in v0.8.0
func (*Tensor) Must_RemoveBatchDim ¶
func (*Tensor) Must_ReshapeAlias ¶
func (*Tensor) Must_ReshapeAliasCopy ¶ added in v0.8.0
func (*Tensor) Must_ReshapeAliasCopyOut ¶ added in v0.8.0
func (*Tensor) Must_ReshapeCopy ¶ added in v0.8.0
func (*Tensor) Must_ReshapeFromTensor ¶
func (*Tensor) Must_ResizeOutput ¶ added in v0.8.0
func (*Tensor) Must_ResizeOutputOut ¶ added in v0.8.0
func (*Tensor) Must_ResizeOutput_ ¶ added in v0.8.0
func (*Tensor) Must_SampleDirichlet ¶
func (*Tensor) Must_SampleDirichletOut ¶ added in v0.8.0
func (*Tensor) Must_ScaledMm ¶ added in v0.9.0
func (*Tensor) Must_ScaledMmOut ¶ added in v0.9.0
func (*Tensor) Must_ScatterReduce ¶ added in v0.9.0
func (*Tensor) Must_ScatterReduceTwoOut ¶ added in v0.9.0
func (*Tensor) Must_ScatterReduce_ ¶ added in v0.9.0
func (*Tensor) Must_ShapeAsTensor ¶
func (*Tensor) Must_SlowConv2dBackward ¶ added in v0.7.0
func (*Tensor) Must_SobolEngineFf_ ¶
func (*Tensor) Must_SobolEngineInitializeState_ ¶
func (*Tensor) Must_SobolEngineScramble_ ¶
func (*Tensor) Must_Softmax ¶
func (*Tensor) Must_SoftmaxOut ¶
func (*Tensor) Must_SparseAddmm ¶
func (*Tensor) Must_SparseAddmmOut ¶ added in v0.8.0
func (*Tensor) Must_SparseBroadcastTo ¶ added in v0.7.0
func (*Tensor) Must_SparseBroadcastToCopy ¶ added in v0.8.0
func (*Tensor) Must_SparseBroadcastToCopyOut ¶ added in v0.8.0
func (*Tensor) Must_SparseCsrProd ¶ added in v0.8.0
func (*Tensor) Must_SparseCsrProdDimDtypeOut ¶ added in v0.8.0
func (*Tensor) Must_SparseCsrSum ¶ added in v0.8.0
func (*Tensor) Must_SparseCsrSumDimDtypeOut ¶ added in v0.8.0
func (*Tensor) Must_SparseLogSoftmax ¶
func (*Tensor) Must_SparseLogSoftmaxBackwardData ¶
func (*Tensor) Must_SparseLogSoftmaxBackwardDataOut ¶ added in v0.8.0
func (*Tensor) Must_SparseLogSoftmaxInt ¶
func (*Tensor) Must_SparseLogSoftmaxOut ¶ added in v0.8.0
func (*Tensor) Must_SparseMaskProjection ¶ added in v0.9.0
func (*Tensor) Must_SparseMaskProjectionOut ¶ added in v0.9.0
func (*Tensor) Must_SparseMmReduceImpl ¶ added in v0.8.0
func (*Tensor) Must_SparseSoftmax ¶
func (*Tensor) Must_SparseSoftmaxBackwardData ¶
func (*Tensor) Must_SparseSoftmaxBackwardDataOut ¶ added in v0.8.0
func (*Tensor) Must_SparseSoftmaxInt ¶
func (*Tensor) Must_SparseSoftmaxOut ¶ added in v0.8.0
func (*Tensor) Must_SparseSparseMatmul ¶
func (*Tensor) Must_SparseSparseMatmulOut ¶ added in v0.8.0
func (*Tensor) Must_SparseSum ¶
func (*Tensor) Must_SparseSumBackward ¶
func (*Tensor) Must_SparseSumBackwardOut ¶ added in v0.8.0
func (*Tensor) Must_SparseSumDim ¶
func (*Tensor) Must_SparseSumDimDtype ¶
func (*Tensor) Must_SparseSumDimOut ¶ added in v0.8.0
func (*Tensor) Must_SparseSumDtype ¶
func (*Tensor) Must_StandardGamma ¶
func (*Tensor) Must_StandardGammaGrad ¶
func (*Tensor) Must_StandardGammaGradOut ¶ added in v0.8.0
func (*Tensor) Must_StandardGammaOut ¶ added in v0.8.0
func (*Tensor) Must_TestAutogradMultipleDispatch ¶ added in v0.8.0
func (*Tensor) Must_TestAutogradMultipleDispatchFullcoverageOut ¶ added in v0.8.0
func (*Tensor) Must_TestAutogradMultipleDispatchNtonly ¶ added in v0.8.0
func (*Tensor) Must_TestAutogradMultipleDispatchView ¶ added in v0.8.0
func (*Tensor) Must_TestAutogradMultipleDispatchViewCopy ¶ added in v0.8.0
func (*Tensor) Must_TestAutogradMultipleDispatchViewCopyOut ¶ added in v0.8.0
func (*Tensor) Must_TestCheckTensor ¶ added in v0.8.0
func (*Tensor) Must_TestFunctorchFallback ¶ added in v0.9.0
func (*Tensor) Must_TestFunctorchFallbackOut ¶ added in v0.9.0
func (*Tensor) Must_TestSerializationSubcmul ¶
func (*Tensor) Must_TestWarnInAutograd ¶ added in v0.7.0
func (*Tensor) Must_TestWarnInAutogradOut ¶ added in v0.8.0
func (*Tensor) Must_ToCopy ¶
func (*Tensor) Must_ToCopyOut ¶ added in v0.8.0
func (*Tensor) Must_ToDense ¶ added in v0.8.0
func (*Tensor) Must_ToDenseOut ¶ added in v0.8.0
func (*Tensor) Must_ToSparse ¶ added in v0.9.0
func (*Tensor) Must_ToSparseBsc ¶ added in v0.9.0
func (*Tensor) Must_ToSparseBscOut ¶ added in v0.9.0
func (*Tensor) Must_ToSparseBsr ¶ added in v0.9.0
func (*Tensor) Must_ToSparseBsrOut ¶ added in v0.9.0
func (*Tensor) Must_ToSparseCsc ¶ added in v0.9.0
func (*Tensor) Must_ToSparseCscOut ¶ added in v0.9.0
func (*Tensor) Must_ToSparseCsr ¶ added in v0.9.0
func (*Tensor) Must_ToSparseCsrOut ¶ added in v0.9.0
func (*Tensor) Must_ToSparseOut ¶ added in v0.9.0
func (*Tensor) Must_ToSparseSparseDim ¶ added in v0.9.0
func (*Tensor) Must_ToSparseSparseDimOut ¶ added in v0.9.0
func (*Tensor) Must_Unique ¶
func (*Tensor) Must_Unique2 ¶
func (*Tensor) Must_Unique2Out ¶ added in v0.8.0
func (*Tensor) Must_UniqueOut ¶ added in v0.8.0
func (*Tensor) Must_UnsafeIndex ¶ added in v0.9.0
func (*Tensor) Must_UnsafeIndexPut ¶ added in v0.9.0
func (*Tensor) Must_UnsafeView ¶
func (*Tensor) Must_UnsafeViewOut ¶ added in v0.8.0
func (*Tensor) Must_UpsampleBicubic2dAa ¶ added in v0.7.0
func (*Tensor) Must_UpsampleBicubic2dAaOut ¶ added in v0.7.0
func (*Tensor) Must_UpsampleBilinear2dAa ¶ added in v0.7.0
func (*Tensor) Must_UpsampleBilinear2dAaOut ¶ added in v0.7.0
func (*Tensor) Must_UpsampleNearestExact1d ¶ added in v0.7.0
func (*Tensor) Must_UpsampleNearestExact1dOut ¶ added in v0.7.0
func (*Tensor) Must_UpsampleNearestExact2d ¶ added in v0.7.0
func (*Tensor) Must_UpsampleNearestExact2dOut ¶ added in v0.7.0
func (*Tensor) Must_UpsampleNearestExact3d ¶ added in v0.7.0
func (*Tensor) Must_UpsampleNearestExact3dOut ¶ added in v0.7.0
func (*Tensor) Must_Values ¶
func (*Tensor) Must_ValuesCopy ¶ added in v0.8.0
func (*Tensor) Must_ValuesCopyOut ¶ added in v0.8.0
func (*Tensor) Must_Version ¶
func (*Tensor) Must__AndTensor_ ¶
func (*Tensor) Must__And_ ¶
func (*Tensor) Must__IandTensor_ ¶
func (*Tensor) Must__Iand_ ¶
func (*Tensor) Must__IlshiftTensor_ ¶
func (*Tensor) Must__Ilshift_ ¶
func (*Tensor) Must__IorTensor_ ¶
func (*Tensor) Must__Ior_ ¶
func (*Tensor) Must__IrshiftTensor_ ¶
func (*Tensor) Must__Irshift_ ¶
func (*Tensor) Must__IxorTensor_ ¶
func (*Tensor) Must__Ixor_ ¶
func (*Tensor) Must__LshiftScalarOut_ ¶ added in v0.8.0
func (*Tensor) Must__LshiftTensorOut_ ¶ added in v0.8.0
func (*Tensor) Must__LshiftTensor_ ¶
func (*Tensor) Must__Lshift_ ¶
func (*Tensor) Must__OrTensor_ ¶
func (*Tensor) Must__RshiftScalarOut_ ¶ added in v0.8.0
func (*Tensor) Must__RshiftTensorOut_ ¶ added in v0.8.0
func (*Tensor) Must__RshiftTensor_ ¶
func (*Tensor) Must__Rshift_ ¶
func (*Tensor) Must__XorTensor_ ¶
func (*Tensor) Must__Xor_ ¶
func (*Tensor) MvlgammaOut ¶
func (*Tensor) NLLLoss ¶
NOTE. `NLLLoss` is a version of `NllLoss` in tensor-generated with default weight, reduction and ignoreIndex
func (*Tensor) NanToNumOut ¶
func (*Tensor) NanmeanOut ¶
func (*Tensor) NanmedianDim ¶
func (ts *Tensor) NanmedianDim(dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) NanmedianDimValues ¶
func (ts *Tensor) NanmedianDimValues(values *Tensor, indices *Tensor, dim int64, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) NanmedianOut ¶ added in v0.8.0
func (*Tensor) Nanquantile ¶
func (*Tensor) NanquantileOut ¶
func (*Tensor) NanquantileScalar ¶
func (*Tensor) NanquantileScalarOut ¶
func (*Tensor) NarrowCopy ¶
func (*Tensor) NarrowCopyOut ¶
func (*Tensor) NarrowTensor ¶
func (*Tensor) NativeChannelShuffle ¶ added in v0.7.0
func (*Tensor) NativeNormOut ¶ added in v0.8.0
func (*Tensor) NativeNormScalaroptDimDtype ¶
func (*Tensor) NativeNormScalaroptDimDtypeOut ¶ added in v0.8.0
func (*Tensor) NeScalarOut ¶
func (*Tensor) NeTensorOut ¶
func (*Tensor) NegativeOut ¶
func (*Tensor) NestedToPaddedTensor ¶ added in v0.8.0
func (*Tensor) NewEmptyOut ¶ added in v0.8.0
func (*Tensor) NewEmptyStrided ¶
func (*Tensor) NewEmptyStridedOut ¶ added in v0.8.0
func (*Tensor) NewFullOut ¶ added in v0.8.0
func (*Tensor) NewOnesOut ¶ added in v0.8.0
func (*Tensor) NewZerosOut ¶ added in v0.8.0
func (*Tensor) NextafterOut ¶
func (*Tensor) Nextafter_ ¶
func (*Tensor) NllLoss2dBackward ¶
func (*Tensor) NllLoss2dBackwardGradInput ¶
func (*Tensor) NllLoss2dOut ¶
func (*Tensor) NllLossBackward ¶
func (*Tensor) NllLossBackwardGradInput ¶
func (*Tensor) NllLossOut ¶
func (*Tensor) NonzeroNumpy ¶
tensor *atg_nonzero_numpy(tensor self);
func (*Tensor) NonzeroOut ¶
func (*Tensor) NonzeroStatic ¶ added in v0.9.0
func (*Tensor) NonzeroStaticOut ¶ added in v0.9.0
func (*Tensor) NormDtypeOut ¶
func (*Tensor) NormScalarOut ¶ added in v0.8.0
func (*Tensor) NormScalaroptDim ¶
func (*Tensor) NormScalaroptDimDtype ¶
func (*Tensor) NormScalaroptDtype ¶
func (*Tensor) NormScalaroptDtypeOut ¶ added in v0.8.0
func (*Tensor) NormalFunctional ¶ added in v0.8.0
func (*Tensor) NotEqualScalarOut ¶
func (*Tensor) NotEqualTensor ¶
func (*Tensor) NotEqualTensorOut ¶
func (*Tensor) NotEqualTensor_ ¶
func (*Tensor) NuclearNorm ¶
func (*Tensor) NuclearNormDim ¶
func (*Tensor) NuclearNormDimOut ¶
func (*Tensor) NuclearNormOut ¶
func (*Tensor) Onehot ¶
Onehot converts a tensor to a one-hot encoded version.
If the input has a size [N1, N2, ..., Nk], the returned tensor has a size [N1, ..., Nk, labels]. The returned tensor uses float values. Elements of the input vector are expected to be between 0 and labels-1.
NOTE: There's other `ts.OneHot` and `ts.MustOneHot` generated from Atg C++ API
func (*Tensor) OnesLikeOut ¶ added in v0.8.0
func (*Tensor) PermuteCopy ¶ added in v0.8.0
func (*Tensor) PermuteCopyOut ¶ added in v0.8.0
func (*Tensor) PixelShuffle ¶
func (*Tensor) PixelShuffleOut ¶ added in v0.8.0
func (*Tensor) PixelUnshuffle ¶
func (*Tensor) PixelUnshuffleOut ¶ added in v0.8.0
func (*Tensor) PoissonOut ¶ added in v0.8.0
func (*Tensor) PolygammaOut ¶
func (*Tensor) Polygamma_ ¶
func (*Tensor) PowTensorScalar ¶
func (*Tensor) PowTensorScalarOut ¶
func (*Tensor) PowTensorTensorOut ¶
func (*Tensor) PowTensor_ ¶
func (*Tensor) Print ¶
func (ts *Tensor) Print()
Print prints tensor values to console.
NOTE: it is printed from C and will print ALL elements of tensor with no truncation at all.
func (*Tensor) ProdDimInt ¶
func (*Tensor) ProdIntOut ¶
func (*Tensor) QPerChannelAxis ¶
func.returns = `int64`: --------------------------
func (*Tensor) QPerChannelScales ¶
func (*Tensor) QPerChannelScalesOut ¶ added in v0.8.0
func (*Tensor) QPerChannelZeroPoints ¶
func (*Tensor) QPerChannelZeroPointsOut ¶ added in v0.8.0
func (*Tensor) QZeroPoint ¶
func.returns = `int64`: --------------------------
func (*Tensor) QrQ ¶
func (ts *Tensor) QrQ(q *Tensor, r *Tensor, some bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) QuantileOut ¶
func (*Tensor) QuantileScalar ¶
func (*Tensor) QuantileScalarOut ¶
func (*Tensor) QuantizePerChannel ¶
func (*Tensor) QuantizePerChannelOut ¶ added in v0.8.0
func (*Tensor) QuantizePerTensor ¶
func (*Tensor) QuantizePerTensorDynamic ¶ added in v0.7.0
func (*Tensor) QuantizePerTensorDynamicOut ¶ added in v0.8.0
func (*Tensor) QuantizePerTensorTensorQparams ¶
func (*Tensor) QuantizedMaxPool1d ¶
func (*Tensor) QuantizedMaxPool1dOut ¶ added in v0.8.0
func (*Tensor) QuantizedMaxPool2d ¶
func (*Tensor) QuantizedMaxPool2dOut ¶ added in v0.8.0
func (*Tensor) QuantizedMaxPool3d ¶ added in v0.9.0
func (*Tensor) QuantizedMaxPool3dOut ¶ added in v0.9.0
func (*Tensor) Rad2degOut ¶
func (*Tensor) RandLikeOut ¶ added in v0.8.0
func (*Tensor) RandintLike ¶
func (*Tensor) RandintLikeLowDtype ¶
func (*Tensor) RandintLikeLowDtypeOut ¶ added in v0.8.0
func (*Tensor) RandintLikeOut ¶ added in v0.8.0
func (*Tensor) RandnLikeOut ¶ added in v0.8.0
func (*Tensor) RandomFrom ¶ added in v0.8.0
func (*Tensor) RandomFromOut ¶ added in v0.8.0
func (*Tensor) RandomToOut ¶ added in v0.8.0
func (*Tensor) ReciprocalOut ¶
func (*Tensor) Reciprocal_ ¶
func (*Tensor) ReflectionPad1d ¶
func (*Tensor) ReflectionPad1dBackward ¶
func (*Tensor) ReflectionPad1dBackwardGradInput ¶
func (*Tensor) ReflectionPad1dOut ¶
func (*Tensor) ReflectionPad2d ¶
func (*Tensor) ReflectionPad2dBackward ¶
func (*Tensor) ReflectionPad2dBackwardGradInput ¶
func (*Tensor) ReflectionPad2dOut ¶
func (*Tensor) ReflectionPad3d ¶
func (*Tensor) ReflectionPad3dBackward ¶
func (*Tensor) ReflectionPad3dBackwardGradInput ¶
func (*Tensor) ReflectionPad3dOut ¶
func (*Tensor) RemainderScalarOut ¶
func (*Tensor) RemainderTensor ¶
func (*Tensor) RemainderTensorOut ¶
func (*Tensor) RemainderTensor_ ¶
func (*Tensor) Remainder_ ¶
func (*Tensor) RepeatInterleaveSelfInt ¶
func (*Tensor) RepeatInterleaveSelfTensor ¶
func (*Tensor) ReplicationPad1d ¶
func (*Tensor) ReplicationPad1dBackward ¶
func (*Tensor) ReplicationPad1dBackwardGradInput ¶
func (*Tensor) ReplicationPad1dOut ¶
func (*Tensor) ReplicationPad2d ¶
func (*Tensor) ReplicationPad2dBackward ¶
func (*Tensor) ReplicationPad2dBackwardGradInput ¶
func (*Tensor) ReplicationPad2dOut ¶
func (*Tensor) ReplicationPad3d ¶
func (*Tensor) ReplicationPad3dBackward ¶
func (*Tensor) ReplicationPad3dBackwardGradInput ¶
func (*Tensor) ReplicationPad3dOut ¶
func (*Tensor) RequiresGrad ¶
RequiresGrad returns true if gradient are currently tracked for this tensor.
func (*Tensor) RequiresGrad_ ¶
func (*Tensor) ResizeAsOut ¶ added in v0.8.0
func (*Tensor) ResizeAsSparse ¶ added in v0.8.0
func (*Tensor) ResizeAsSparseOut ¶ added in v0.8.0
func (*Tensor) ResizeAsSparse_ ¶
func (*Tensor) RetainsGrad ¶
func.returns = `bool`: --------------------------
func (*Tensor) RoundDecimals ¶ added in v0.7.0
func (*Tensor) RoundDecimalsOut ¶ added in v0.7.0
func (*Tensor) RoundDecimals_ ¶ added in v0.7.0
func (*Tensor) RowIndices ¶ added in v0.8.0
func (*Tensor) RowIndicesCopy ¶ added in v0.8.0
func (*Tensor) RowIndicesCopyOut ¶ added in v0.8.0
func (*Tensor) RreluWithNoise ¶
func (*Tensor) RreluWithNoiseBackward ¶
func (*Tensor) RreluWithNoiseBackwardOut ¶ added in v0.8.0
func (*Tensor) RreluWithNoiseOut ¶
func (*Tensor) RreluWithNoise_ ¶
func (*Tensor) RsubScalar ¶
func (*Tensor) RsubScalarOut ¶ added in v0.8.0
func (*Tensor) RsubTensorOut ¶ added in v0.8.0
func (*Tensor) ScatterAdd ¶
func (*Tensor) ScatterAddOut ¶
func (*Tensor) ScatterAdd_ ¶
func (*Tensor) ScatterReduce ¶
func (*Tensor) ScatterReduceOut ¶
func (*Tensor) ScatterReduce_ ¶
func (*Tensor) ScatterSrcOut ¶
func (*Tensor) ScatterValue ¶
func (*Tensor) ScatterValueOut ¶
func (*Tensor) ScatterValueReduce ¶
func (*Tensor) ScatterValueReduceOut ¶
func (*Tensor) ScatterValueReduce_ ¶
func (*Tensor) ScatterValue_ ¶
func (*Tensor) Searchsorted ¶
func (*Tensor) SearchsortedTensorOut ¶
func (*Tensor) SelectCopy ¶ added in v0.8.0
func (*Tensor) SelectCopyIntOut ¶ added in v0.8.0
func (*Tensor) SelectScatter ¶ added in v0.7.0
func (*Tensor) SelectScatterOut ¶ added in v0.8.0
func (*Tensor) SetRequiresGrad ¶
func (*Tensor) SetSourceTensor ¶ added in v0.8.0
func (*Tensor) SetSourceTensorOut ¶ added in v0.8.0
func (*Tensor) SetSourceTensorStorageOffset_ ¶ added in v0.8.0
func (*Tensor) SetSourceTensor_ ¶
func (*Tensor) ShallowClone ¶
ShallowClone returns a new tensor that share storage with the input tensor.
func (*Tensor) SigmoidOut ¶
func (*Tensor) SignbitOut ¶
func (*Tensor) SiluBackward ¶
func (*Tensor) SiluBackwardGradInput ¶
func (*Tensor) Size ¶
Size return shape of the tensor
NOTE: C++ libtorch calls at_shape() -> t.sizes() And returns a slice of sizes or shape using given pointer to that slice.
func (*Tensor) SliceCopyTensorOut ¶ added in v0.8.0
func (*Tensor) SliceScatter ¶ added in v0.7.0
func (*Tensor) SliceScatterOut ¶ added in v0.8.0
func (*Tensor) SlogdetOut ¶ added in v0.8.0
func (ts *Tensor) SlogdetOut(sign *Tensor, logabsdet *Tensor, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) SlowConv3d ¶
func (*Tensor) SlowConv3dOut ¶
func (*Tensor) SlowConvDilated2d ¶
func (*Tensor) SlowConvDilated2dOut ¶ added in v0.8.0
func (*Tensor) SlowConvDilated3d ¶
func (*Tensor) SlowConvDilated3dOut ¶ added in v0.8.0
func (*Tensor) SlowConvTranspose2d ¶
func (*Tensor) SlowConvTranspose2dOut ¶
func (*Tensor) SlowConvTranspose3d ¶
func (*Tensor) SlowConvTranspose3dOut ¶
func (*Tensor) SmoothL1Loss ¶
func (*Tensor) SmoothL1LossBackward ¶
func (*Tensor) SmoothL1LossBackwardGradInput ¶
func (*Tensor) SmoothL1LossOut ¶
func (*Tensor) SoftMarginLoss ¶
func (*Tensor) SoftMarginLossBackward ¶
func (*Tensor) SoftMarginLossBackwardGradInput ¶
func (*Tensor) SoftMarginLossOut ¶
func (*Tensor) SoftmaxIntOut ¶ added in v0.8.0
func (*Tensor) SoftplusBackward ¶
func (*Tensor) SoftplusBackwardGradInput ¶
func (*Tensor) SoftplusOut ¶
func (*Tensor) SoftshrinkBackward ¶
func (*Tensor) SoftshrinkBackwardGradInput ¶
func (*Tensor) SoftshrinkOut ¶
func (*Tensor) Sort ¶
func (ts *Tensor) Sort(dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) SortStable ¶
func (ts *Tensor) SortStable(stable bool, dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) SortValues ¶
func (ts *Tensor) SortValues(values *Tensor, indices *Tensor, dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) SortValuesStable ¶
func (ts *Tensor) SortValuesStable(values *Tensor, indices *Tensor, stable bool, dim int64, descending bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) SparseMask ¶
func (*Tensor) SparseMaskOut ¶ added in v0.8.0
func (*Tensor) SparseResize ¶ added in v0.8.0
func (*Tensor) SparseResizeAndClear ¶ added in v0.8.0
func (*Tensor) SparseResizeAndClearOut ¶ added in v0.8.0
func (*Tensor) SparseResizeAndClear_ ¶
func (*Tensor) SparseResizeOut ¶ added in v0.8.0
func (*Tensor) SparseResize_ ¶
func (*Tensor) SparseSampledAddmm ¶ added in v0.7.0
func (*Tensor) SparseSampledAddmmOut ¶ added in v0.7.0
func (*Tensor) SpecialBesselJ0 ¶ added in v0.8.0
func (*Tensor) SpecialBesselJ0Out ¶ added in v0.8.0
func (*Tensor) SpecialBesselJ1 ¶ added in v0.8.0
func (*Tensor) SpecialBesselJ1Out ¶ added in v0.8.0
func (*Tensor) SpecialBesselY0 ¶ added in v0.8.0
func (*Tensor) SpecialBesselY0Out ¶ added in v0.8.0
func (*Tensor) SpecialBesselY1 ¶ added in v0.8.0
func (*Tensor) SpecialBesselY1Out ¶ added in v0.8.0
func (*Tensor) SpecialDigamma ¶
func (*Tensor) SpecialDigammaOut ¶
func (*Tensor) SpecialEntrOut ¶
func (*Tensor) SpecialErfOut ¶
func (*Tensor) SpecialErfcOut ¶
func (*Tensor) SpecialErfcxOut ¶
func (*Tensor) SpecialErfinv ¶
func (*Tensor) SpecialErfinvOut ¶
func (*Tensor) SpecialExp2Out ¶
func (*Tensor) SpecialExpitOut ¶
func (*Tensor) SpecialExpm1Out ¶
func (*Tensor) SpecialGammainc ¶
func (*Tensor) SpecialGammaincOut ¶
func (*Tensor) SpecialGammaincc ¶
func (*Tensor) SpecialGammainccOut ¶
func (*Tensor) SpecialGammaln ¶
func (*Tensor) SpecialGammalnOut ¶
func (*Tensor) SpecialI0Out ¶
func (*Tensor) SpecialI0eOut ¶
func (*Tensor) SpecialI1Out ¶
func (*Tensor) SpecialI1eOut ¶
func (*Tensor) SpecialLog1pOut ¶
func (*Tensor) SpecialLogNdtr ¶ added in v0.8.0
func (*Tensor) SpecialLogNdtrOut ¶ added in v0.8.0
func (*Tensor) SpecialLogSoftmax ¶
func (*Tensor) SpecialLogit ¶
func (*Tensor) SpecialLogitOut ¶
func (*Tensor) SpecialLogsumexp ¶
func (*Tensor) SpecialLogsumexpOut ¶
func (*Tensor) SpecialModifiedBesselI0 ¶ added in v0.8.0
func (*Tensor) SpecialModifiedBesselI0Out ¶ added in v0.8.0
func (*Tensor) SpecialModifiedBesselI1 ¶ added in v0.8.0
func (*Tensor) SpecialModifiedBesselI1Out ¶ added in v0.8.0
func (*Tensor) SpecialModifiedBesselK0 ¶ added in v0.8.0
func (*Tensor) SpecialModifiedBesselK0Out ¶ added in v0.8.0
func (*Tensor) SpecialModifiedBesselK1 ¶ added in v0.8.0
func (*Tensor) SpecialModifiedBesselK1Out ¶ added in v0.8.0
func (*Tensor) SpecialMultigammaln ¶
func (*Tensor) SpecialMultigammalnOut ¶
func (*Tensor) SpecialNdtrOut ¶
func (*Tensor) SpecialNdtriOut ¶
func (*Tensor) SpecialPolygamma ¶
func (*Tensor) SpecialPolygammaOut ¶
func (*Tensor) SpecialPsiOut ¶
func (*Tensor) SpecialRound ¶
func (*Tensor) SpecialRoundOut ¶
func (*Tensor) SpecialSincOut ¶
func (*Tensor) SpecialSoftmax ¶ added in v0.7.0
func (*Tensor) SpecialXlog1py ¶
func (*Tensor) SpecialXlog1pyOtherScalar ¶
func (*Tensor) SpecialXlog1pyOtherScalarOut ¶
func (*Tensor) SpecialXlog1pyOut ¶
func (*Tensor) SpecialXlogy ¶
func (*Tensor) SpecialXlogyOtherScalar ¶
func (*Tensor) SpecialXlogyOtherScalarOut ¶
func (*Tensor) SpecialXlogyOut ¶
func (*Tensor) SpecialZeta ¶
func (*Tensor) SpecialZetaOtherScalar ¶
func (*Tensor) SpecialZetaOtherScalarOut ¶
func (*Tensor) SpecialZetaOut ¶
func (*Tensor) Split ¶
Split splits tensor into chunks
Parameters:
- splitSize – size of a single chunk
- dim – dimension along which to split the tensor.
Ref. https://pytorch.org/docs/stable/generated/torch.split.html
func (*Tensor) SplitWithSizes ¶
SplitWithSizes splits tensor into chunks
Parameters:
- splitSizes – slice of sizes for each chunk
- dim – dimension along which to split the tensor.
Ref. https://pytorch.org/docs/stable/generated/torch.split.html
func (*Tensor) SqueezeCopy ¶ added in v0.8.0
func (*Tensor) SqueezeCopyDim ¶ added in v0.8.0
func (*Tensor) SqueezeCopyDimOut ¶ added in v0.8.0
func (*Tensor) SqueezeCopyDims ¶ added in v0.8.0
func (*Tensor) SqueezeCopyDimsOut ¶ added in v0.8.0
func (*Tensor) SqueezeCopyOut ¶ added in v0.8.0
func (*Tensor) SqueezeDim ¶
func (*Tensor) SqueezeDim_ ¶
func (*Tensor) SqueezeDims ¶ added in v0.8.0
func (*Tensor) SqueezeDims_ ¶ added in v0.8.0
func (*Tensor) SspaddmmOut ¶
func (*Tensor) StdCorrection ¶
func (*Tensor) StdCorrectionOut ¶
func (*Tensor) StdMeanCorrection ¶
func (ts *Tensor) StdMeanCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) StdMeanCorrectionOut ¶ added in v0.8.0
func (ts *Tensor) StdMeanCorrectionOut(out0 *Tensor, out1 *Tensor, dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) StdMeanDim ¶
func (ts *Tensor) StdMeanDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) StftCenter ¶ added in v0.8.0
func (*Tensor) SubScalarOut ¶ added in v0.8.0
func (*Tensor) SubScalar_ ¶
func (*Tensor) SubtractOut ¶
func (*Tensor) SubtractScalar ¶
func (*Tensor) SubtractScalar_ ¶
func (*Tensor) SumDimIntlist ¶
func (*Tensor) SumIntlistOut ¶
func (*Tensor) Svd ¶
func (ts *Tensor) Svd(some bool, computeUv bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) SvdU ¶
func (ts *Tensor) SvdU(u *Tensor, s *Tensor, v *Tensor, some bool, computeUv bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) TakeAlongDim ¶
func (*Tensor) TakeAlongDimOut ¶
func (*Tensor) TensordotOut ¶
func (*Tensor) ThresholdBackward ¶
func (*Tensor) ThresholdBackwardGradInput ¶
func (*Tensor) ThresholdOut ¶
func (*Tensor) Threshold_ ¶
func (*Tensor) ToDtypeLayout ¶
func (*Tensor) ToMkldnnOut ¶ added in v0.8.0
func (*Tensor) ToPaddedTensor ¶ added in v0.8.0
func (*Tensor) ToPaddedTensorOut ¶ added in v0.8.0
func (*Tensor) ToSparseBsc ¶ added in v0.8.0
func (*Tensor) ToSparseBsr ¶ added in v0.8.0
func (*Tensor) ToSparseCsc ¶ added in v0.8.0
func (*Tensor) ToSparseCsr ¶ added in v0.8.0
func (*Tensor) ToSparseSparseDim ¶
func (*Tensor) ToString ¶
ToString returns a string representation for the tensor.
lw : line width (size) NOTE: The representation will contain all the tensor element hence may be huge for large tensors.
func (*Tensor) Topk ¶
func (ts *Tensor) Topk(k int64, dim int64, largest bool, sorted bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) TopkValues ¶
func (ts *Tensor) TopkValues(values *Tensor, indices *Tensor, k int64, dim int64, largest bool, sorted bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) TransposeCopy ¶ added in v0.8.0
func (*Tensor) TransposeCopyIntOut ¶ added in v0.8.0
func (*Tensor) TriangularSolve ¶
func (ts *Tensor) TriangularSolve(a *Tensor, upper bool, transpose bool, unitriangular bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) TriangularSolveX ¶
func (ts *Tensor) TriangularSolveX(x *Tensor, m *Tensor, a *Tensor, upper bool, transpose bool, unitriangular bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) TrueDivide ¶
func (*Tensor) TrueDivideOut ¶
func (*Tensor) TrueDivideScalar ¶
func (*Tensor) TrueDivideScalar_ ¶
func (*Tensor) TrueDivide_ ¶
func (*Tensor) UnfoldCopy ¶ added in v0.8.0
func (*Tensor) UnfoldCopyOut ¶ added in v0.8.0
func (*Tensor) UniformOut ¶ added in v0.8.0
func (*Tensor) UniqueConsecutive ¶
func (ts *Tensor) UniqueConsecutive(returnInverse bool, returnCounts bool, dim []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) UniqueConsecutiveOut ¶ added in v0.8.0
func (ts *Tensor) UniqueConsecutiveOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, returnInverse bool, returnCounts bool, dim []int64, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) UniqueDim ¶
func (ts *Tensor) UniqueDim(dim int64, sorted bool, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) UniqueDimConsecutive ¶
func (ts *Tensor) UniqueDimConsecutive(dim int64, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) UniqueDimConsecutiveOut ¶ added in v0.8.0
func (ts *Tensor) UniqueDimConsecutiveOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, dim int64, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) UniqueDimOut ¶ added in v0.8.0
func (ts *Tensor) UniqueDimOut(out0 *Tensor, out1 *Tensor, out2 *Tensor, dim int64, sorted bool, returnInverse bool, returnCounts bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, retVal2 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) UnsqueezeCopy ¶ added in v0.8.0
func (*Tensor) UnsqueezeCopyOut ¶ added in v0.8.0
func (*Tensor) Unsqueeze_ ¶
func (*Tensor) UpsampleBicubic2d ¶
func (*Tensor) UpsampleBicubic2dOut ¶
func (*Tensor) UpsampleBilinear2d ¶
func (*Tensor) UpsampleBilinear2dOut ¶
func (*Tensor) UpsampleLinear1d ¶
func (*Tensor) UpsampleLinear1dOut ¶
func (*Tensor) UpsampleNearest1d ¶
func (*Tensor) UpsampleNearest1dOut ¶
func (*Tensor) UpsampleNearest2d ¶
func (*Tensor) UpsampleNearest2dOut ¶
func (*Tensor) UpsampleNearest3d ¶
func (*Tensor) UpsampleNearest3dOut ¶
func (*Tensor) UpsampleTrilinear3d ¶
func (*Tensor) UpsampleTrilinear3dOut ¶
func (*Tensor) Vals ¶
func (ts *Tensor) Vals() interface{}
Vals returns tensor values in a slice NOTE: need a type insersion to get runtime type E.g. res := xs.Vals().([]int64)
func (*Tensor) ValuesCopy ¶ added in v0.8.0
func (*Tensor) ValuesCopyOut ¶ added in v0.8.0
func (*Tensor) VarCorrection ¶
func (*Tensor) VarCorrectionOut ¶
func (*Tensor) VarMeanCorrection ¶
func (ts *Tensor) VarMeanCorrection(dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) VarMeanCorrectionOut ¶ added in v0.8.0
func (ts *Tensor) VarMeanCorrectionOut(out0 *Tensor, out1 *Tensor, dim []int64, correction *Scalar, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) VarMeanDim ¶
func (ts *Tensor) VarMeanDim(dim []int64, unbiased bool, keepdim bool, del bool) (retVal0 *Tensor, retVal1 *Tensor, err error)
func.returns = `fixed ntensors`: ---------------------------------
func (*Tensor) ViewAsComplex ¶
func (*Tensor) ViewAsComplexCopy ¶ added in v0.8.0
func (*Tensor) ViewAsComplexCopyOut ¶ added in v0.8.0
func (*Tensor) ViewAsRealCopy ¶ added in v0.8.0
func (*Tensor) ViewAsRealCopyOut ¶ added in v0.8.0
func (*Tensor) ViewCopyDtype ¶ added in v0.8.0
func (*Tensor) ViewCopyDtypeOut ¶ added in v0.8.0
func (*Tensor) ViewCopyOut ¶ added in v0.8.0
func (*Tensor) WhereScalarother ¶
func (*Tensor) WhereSelfOut ¶ added in v0.8.0
func (*Tensor) XlogyOutscalarOther ¶
func (*Tensor) XlogyOuttensor ¶
func (*Tensor) XlogyScalarOther ¶
func (*Tensor) XlogyScalarOther_ ¶
func (*Tensor) ZeroGrad ¶
func (ts *Tensor) ZeroGrad()
ZeroGrad zeroes the gradient tensor attached to this tensor if defined.
type TensorIndexer ¶
type TensorIndexer interface{}
TensorIndexer is an interface which defines method `From` for any type to fulfill to become an tensor indexer
type TensorOpt ¶ added in v0.8.0
type TensorOpt func(*TensorOptions)
func WithQuantized ¶ added in v0.8.0
type TensorOptions ¶ added in v0.8.0
TensorOptions constructs options to build/rebuild tensor.
func DefaultTensorOptions ¶ added in v0.8.0
func DefaultTensorOptions() *TensorOptions
type TextData ¶
type TextData struct {
Data *Tensor // frequency (occurence) of byte value from input text
CharForLabel []rune // unique rune values from input text
}
TextData represent text data in tensor of runes (uint8) and its corresponding string
func NewTextData ¶
NewTextData creates a text dataset from a file
It reads text input from file to `[]byte` buffer - Loops over each byte - first byte will be labelled `0` - next byte if exist will be labelled with existing label (index), otherwise will labelled with new label(index) Data: tensor of labels CharForLabel: []rune (unique runes from text input)
func (*TextData) IterShuffle ¶
func (td *TextData) IterShuffle(seqLen int64, batchSize int64) *TextDataIter
IterShuffle returns a batch iterator over the dataset. Each sample is made of seq_len characters.
func (*TextData) LabelForChar ¶
LabelForChar returns a corresponding `char` (rune) for specified label input
type TextDataIter ¶
type TextDataIter struct {
Data *Tensor
SeqLen int64
BatchIndex int64
BatchSize int64
Indexes *Tensor
IndexesLen int64
}
TextDataIter is a text data interator
func (*TextDataIter) Next ¶
func (tdi *TextDataIter) Next() (*Tensor, bool)
Next implements iterator for TextDataIter
func (*TextDataIter) Progress ¶ added in v0.8.0
func (tdi *TextDataIter) Progress() float32