golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
Tensor.opBinary
golem
tensor
Tensor
Undocumented in source. Be warned that the author may not have intended to support it.
Tensor
!(
T
,
Shape
,
commonGradientType
!(
typeof
(
this
),
RTensor
))
opBinary
(RTensor rhs)
Tensor
!(
T
,
Shape
,
hasGradient
)
opBinary
(T rhs)
Tensor
!(
T
,
Shape
,
commonGradientType
!(
typeof
(
this
),
RTensor
))
opBinary
(RTensor rhs)
Tensor
!(
T
,
Shape
,
hasGradient
)
opBinary
(T rhs)
Tensor
!(
T
,
Shape
,
commonGradientType
!(
typeof
(
this
),
RTensor
))
opBinary
(RTensor rhs)
Tensor
!(
T
,
Shape
,
hasGradient
)
opBinary
(T rhs)
Tensor
!(
T
,
Shape
,
commonGradientType
!(
typeof
(
this
),
RTensor
))
opBinary
(RTensor rhs)
class
Tensor
(T, size_t[] Shape, UseGradient hasGradient = UseGradient.yes)
Tensor
!(
T
,
Shape
,
commonGradientType
!(
typeof
(this),
RTensor
))
opBinary
(
string
op
: "/"
RTensor
)
(
RTensor
rhs
)
if
(
isTensor
!
RTensor
)
Meta
Source
See Implementation
golem
tensor
Tensor
aliases
ElementType
Value
shape
constructors
this
functions
backward
opBinary
opBinaryRight
opUnary
resetGrads
runtimeShape
manifest constants
staticShape
variables
backwardCount
backwardFn
grads
requireGrad
usedCount
value