16 17 18
# File 'lib/neural_network_rb/narray.rb', line 16 def rows(data, obj) data[obj, *Array.new(data.ndim-1, true)] end