Function caffe2_serde::get_mutable_tensor_data_range
source · pub fn get_mutable_tensor_data_range<T>(
tensor: &mut Tensor,
start: usize,
num_elements: usize
) -> Range<*mut T>
Expand description
| Return a mutable Range pointing to a | portion of the tensor’s data field. | | Returns a Range pointing to the elements | starting at the specified start index, | and including the specified number | of elements. |