ShapeTrait
trait ShapeTrait (View source)
Shape methods for NdArray
Methods
array
getShape(int|float|array $data, array $shape)
Gets the dimensions of the array