#[unsafe(no_mangle)]pub unsafe extern "C" fn tfe_tensor_f64_zeros(
_shape: *const usize,
_ndim: usize,
_status: *mut tfe_status_t,
) -> *mut TfeTensorF64Expand description
Create a tensor filled with zeros.
The internal memory layout is implementation-defined.
§Safety
shapemust point to at leastndimvalidusizevalues.statusmust be a valid, non-null pointer.
§Examples (C)
size_t shape[] = {3, 4};
tfe_status_t status;
tfe_tensor_f64 *t = tfe_tensor_f64_zeros(shape, 2, &status);
tfe_tensor_f64_release(t);