tfjs_sys

Function tensor

Source
pub fn tensor(
    values: &Array,
    shape: Option<&Array>,
    dtype: Option<&str>,
) -> Tensor
Expand description

Creates a Tensor with the provided values, shape and dtype.