brainspy.utils#

A set of classes to provide support in useful tasks that are typically required when using the library. Check https://github.com/BraiNEdarwin/brains-py/wiki/C.-Package-Description

Modules

brainspy.utils.io

Library that handles loading and saving of data to a file.

brainspy.utils.manager

Class to retrieve data specified in a dictionary used to train a model.

brainspy.utils.performance

Package for training a perceptron after the signal of a Processor class or one of its children.

brainspy.utils.pytorch

Class to consistently manage torch variables and their data types.

brainspy.utils.signal

Set of fitness functions for genetic algorithm and loss functions for gradient descent.

brainspy.utils.transforms

File that contains a set of methods to perform linear transformation from a given range to the range of the activation electrodes.

brainspy.utils.waveform

This module is part of the utils of brains-py helps managing the waveforms of the signals sent to and received by the hardware DNPUs.