tfd v0.0.5 (2020-05-15T16:52:37Z)
Dub
Repo
TensorOwner.sliced
tfd
tensor
TensorOwner
Return a tensor slice with an element type T with assertions.
struct
TensorOwner
Slice
!(
T
*,
N
,
Contiguous
)
sliced
(
T
size_t
N
)
(
)
Meta
Source
See Implementation
tfd
tensor
TensorOwner
destructors
~this
functions
dataType
elementCount
ndim
payload
scalar
shape
sliced
slicedAs
postblits
this(this)
variables
base
Return a tensor slice with an element type T with assertions.