clone

TensorInfo.clone()

Creates a copy of the current TensorInfo object.

Returns:

A new TensorInfo object that is a clone of the current object.

Return type:

TensorInfo