Method Broadcast
Broadcast(TensorShape)
Creates a new iterator by broadcasting this iterator on a given shape following the broadcast rule.
Declaration
public TensorNDIterator Broadcast(TensorShape shapeToBroadcast)
Parameters
Type | Name | Description |
---|---|---|
TensorShape | shapeToBroadcast | The shape to broadcast with. |
Returns
Type | Description |
---|---|
TensorNDIterator | The broadcast iterator. |