Flatten
Flattens the input. Does not affect batch size.
Shape transform: (N, *) -> (N, )
Functions
get Single Input
Link copied to clipboard
Helper to check that the layer was called with a single input. Returns that input if successful, else errors.