broadcast
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
broadcast.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Broadcast both operands to their common shape.
Broadcast both operands to their common shape.
Returns (a', b') where both have shape == broadcastShape(a.shape, b.shape). Throws BroadcastException if shapes are incompatible.
Attributes
Compute the output shape for broadcasting two shapes.
Compute the output shape for broadcasting two shapes.
Shapes are right-aligned; a dimension of 1 expands to match the other. Throws BroadcastException if shapes are incompatible.
Attributes
Compute broadcast-extended strides for arr viewed as having outShape.
Compute broadcast-extended strides for arr viewed as having outShape.
Prepends 0s for dimensions padded on the left; sets stride to 0 for original dimensions of size 1 (broadcast).
Attributes
True if two shapes have the same rank and element-wise equal dimensions.
True if two shapes have the same rank and element-wise equal dimensions.
Attributes
Extensions
Extensions
Return a zero-copy view of this NDArray broadcast to targetShape.
Return a zero-copy view of this NDArray broadcast to targetShape.
Dimensions of size 1 are expanded via stride 0; prepended dimensions (when targetShape has more dims) also get stride 0. Throws BroadcastException if shapes are incompatible.