tfjs_sys
pub fn scalar(value: &JsValue, dtype: Option<&str>) -> Tensor
Creates rank-0 Tensor (scalar) with the provided value and dtype.