fetch_tensor

dragon.workspace.fetch_tensor(tensor)[source]

Return the value of tensor.

Parameters:
Returns:

numpy.ndarray – The array copied from backend.