Operator operator ==
operator ==(TensorShape, TensorShape)
Compares two TensorShape objects. Returns true if the two objects have the same rank, and all their dimensions are equal.
Declaration
public static bool operator ==(TensorShape a, TensorShape b)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorShape | a | The first shape to compare. |
| TensorShape | b | The second shape to compare. |
Returns
| Type | Description |
|---|---|
| bool | Whether the two shapes are equal. |