refOf

fun <T : DType, V> refOf(tensor: Tensor<T, V>): TensorRef(source)

Return existing or create a new TensorRef for the given tensor.