tfd v0.0.1 (2020-05-02T13:20:15Z)
Dub
Repo
makeTensor
tfd
graph
Creates a tensor with dtype of T.
TF_Tensor
*
makeTensor
(long[num_dims] dims, const(T)* values)
TF_Tensor
*
makeTensor
(
T
size_t
num_dims
)
(
const
long
[
num_dims
]
dims
,
const
(
T
)*
values
)
TF_Tensor
*
makeTensor
(const(T) scalar)
Meta
Source
See Implementation
tfd
graph
aliases
AttrValue
enums
dtype
functions
Add
Const
GetAttrValue
Placeholder
ScalarConst
assertStatus
makeTensor
structs
Session
Creates a tensor with dtype of T.