deeplake.api.info

class deeplake.api.info.Info

Contains optional key-value pairs that can be stored for datasets/tensors.

clear()

Clear info.

get(key, default=None)

Get value for key from info.

items()

Return all items in info.

keys()

Return all keys in info.

property nbytes

Returns size of info stored in bytes.

pop(key, default=None)

Pop item from info by key.

popitem()

Pop item from info.

replace_with(d)

Replace info with another dictionary.

setdefault(key, default=None)

Set default value for a key in info.

update(*args, **kwargs)

Update info.

values()

Return all values in info.