Modifier and Type | Method and Description |
---|---|
Assign.Options |
useLocking(Boolean useLocking) |
Assign.Options |
validateShape(Boolean validateShape) |
public Assign.Options validateShape(Boolean validateShape)
validateShape
- If true, the operation will validate that the shape
of 'value' matches the shape of the Tensor being assigned to. If false,
'ref' will take on the shape of 'value'.public Assign.Options useLocking(Boolean useLocking)
useLocking
- If True, the assignment will be protected by a lock;
otherwise the behavior is undefined, but may exhibit less contention.Copyright © 2022. All rights reserved.