和numpy一样
可以进行广播的条件:
1Each tensor has at least one dimension.
2When iterating over the dimension sizes, starting at the trailing dimension(从右向左), the dimension sizes must either be equal, one of them is 1, or one of them does not exist.
怎么广播?
dimensions with size 1 are stretched or “copied” to match the other.