用法
__mul__(
other
)
參數
-
other
另一個維度,或as_dimension
接受的值。
返回
-
一個維度,其值為
self
和other
的乘積。
返回 self
和 other
的乘積。
尺寸匯總如下:
tf.compat.v1.Dimension(m) * tf.compat.v1.Dimension(n) ==
tf.compat.v1.Dimension(m * n)
tf.compat.v1.Dimension(m) * tf.compat.v1.Dimension(None) # equiv. to
tf.compat.v1.Dimension(None)
tf.compat.v1.Dimension(None) * tf.compat.v1.Dimension(n) # equiv. to
tf.compat.v1.Dimension(None)
tf.compat.v1.Dimension(None) * tf.compat.v1.Dimension(None) # equiv. to
tf.compat.v1.Dimension(None)
相關用法
- Python tf.compat.v1.Dimension.__mod__用法及代碼示例
- Python tf.compat.v1.Dimension.__le__用法及代碼示例
- Python tf.compat.v1.Dimension.__gt__用法及代碼示例
- Python tf.compat.v1.Dimension.__add__用法及代碼示例
- Python tf.compat.v1.Dimension.__sub__用法及代碼示例
- Python tf.compat.v1.Dimension.__floordiv__用法及代碼示例
- Python tf.compat.v1.Dimension.__ge__用法及代碼示例
- Python tf.compat.v1.Dimension.__lt__用法及代碼示例
- Python tf.compat.v1.Dimension.merge_with用法及代碼示例
- Python tf.compat.v1.DeviceSpec.parse_from_string用法及代碼示例
- Python tf.compat.v1.DeviceSpec用法及代碼示例
- Python tf.compat.v1.DeviceSpec.make_merged_spec用法及代碼示例
- Python tf.compat.v1.DeviceSpec.replace用法及代碼示例
- Python tf.compat.v1.distributions.Multinomial.stddev用法及代碼示例
- Python tf.compat.v1.distribute.MirroredStrategy.experimental_distribute_dataset用法及代碼示例
- Python tf.compat.v1.data.TFRecordDataset.interleave用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.cross_entropy用法及代碼示例
- Python tf.compat.v1.Variable.eval用法及代碼示例
- Python tf.compat.v1.train.FtrlOptimizer.compute_gradients用法及代碼示例
- Python tf.compat.v1.layers.conv3d用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.compat.v1.Dimension.__mul__。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。