broadcast_to_shape_strict¶
-
tfsnippet.ops.
broadcast_to_shape_strict
(x, shape, name=None)¶ Broadcast x to match shape.
This method requires rank(x) to be less than or equal to len(shape). You may use
broadcast_to_shape()
instead, to allow the cases whererank(x) > len(shape)
.Parameters: Returns: The broadcasted tensor.
Return type: tf.Tensor