is_shape_equal¶
-
tfsnippet.utils.
is_shape_equal
(x, y, name=None)¶ Check whether the shape of x equals to y.
Parameters: - x – A tensor.
- y – Another tensor, to compare with x.
- name (str) – Default name of the name scope. If not specified, generate one according to the method name.
Returns: The static or dynamic comparison result.
Return type: bool or tf.Tensor