Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

Assign.Options

Stay organized with collections Save and categorize content based on your preferences.
public static class Assign.Options

Optional attributes for Assign

Public Methods

Assign.Options
useLocking(Boolean useLocking)
Assign.Options
validateShape(Boolean validateShape)

Inherited Methods

Public Methods

public Assign.Options useLocking (Boolean useLocking)

Parameters
useLocking If True, the assignment will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.

public Assign.Options validateShape (Boolean validateShape)

Parameters
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'.