Function identity

Source
pub fn identity<'graph, A, F: Float>(x: A) -> Tensor<'graph, F>
where A: AsRef<Tensor<'graph, F>> + Copy,
Expand description

Identity function without copy.