失效链接处理 |
【官方文档】TensorFlow Python API documentation PDF 下载
本站整理下载:
提取码:kl9u
相关截图:
主要内容:
tf.Dimension.merge_with(other)
Returns a Dimension that combines the information
in self and other.
Dimensions are combined as follows:
Dimension(n) .merge_with(Dimension(n)) == Dimension(n)
Dimension(n) .merge_with(Dimension(None)) == Dimension(n)
Dimension(None).merge_with(Dimension(n)) == Dimension(n)
Dimension(None).merge_with(Dimension(None)) == Dimension(None)
Dimension(n) .merge_with(Dimension(m)) raises ValueError for
n != m
Args:
other: Another Dimension.
Returns:
A Dimension containing the combined information of self and other.
Raises:
ValueError: If self and other are not compatible (see
is_compatible_with)
|