has_tensor

dragon.workspace.has_tensor(tensor)[source]

Return a bool indicating if tensor is in current workspace.

Parameters:
Returns:

boolTrue if specified tensor is existing otherwise False.