Method checkAxis val checkAxis: int -> TensorLayout -> unit checks that the given axis is valid Declaration val checkAxis: ax:int -> a:TensorLayout -> unit Parameters Type Name Description int ax TensorLayout a