ivy.data module

class ivy.data.Matrix[source]

Bases: object

get(x, col=None)[source]
class ivy.data.Rows(array=None, k=None, v=None)[source]

Bases: object

A helper class for associating row-based data with nodes. Implements a dictionary-like interface that allows lookups by, e.g., d[node] or d[‘Pongo’].

k is a function that returns the key from a row

v is a function that returns the value from a row

index_array(array)[source]