hawk.samples_first

Contents

hawk.samples_first#

hawk.samples_first(x)[source]#

Mark x as sample-major: its FIRST axis holds the samples, (N, w). Zero-copy, honoured for any shape, accepted by every hawk (and eagle) door that binds per-sample planes, and it beats the call’s layout=; a shape that contradicts it is refused naming the argument. hawk still binds by address, so a samples_first plane must be a free transposed view (its .T C-contiguous), as any sample-major plane.