golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
tensor
golem
tensor
Undocumented in source.
Tensor
!(
T
,
Shape
,
useGradient
)
tensor
(T[] data)
template
tensor
(size_t[] Shape, UseGradient useGradient = Yes.gradient)
Tensor
!(
T
,
Shape
,
useGradient
)
tensor
(
T
)
(
T
[]
data
)
if
(
isNumeric
!
T
)
Tensor
!(
DeepElementType
!
T
,
Shape
,
useGradient
)
tensor
(T[] data)
Members
Functions
tensor
Tensor
!(
T
,
Shape
,
useGradient
)
tensor
(T[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
tensor
Tensor
!(
DeepElementType
!
T
,
Shape
,
useGradient
)
tensor
(T[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
golem
tensor
aliases
UseGradient
classes
Tensor
enums
canBackward
isTensor
functions
ones
onesLike
reshape
testCompatibleStaticShape
zeros
zerosLike
templates
commonGradientType
tensor