Crate intricate_macros

Source
Expand description

A library that implements some very useful macros that help writing code for the Intricate library.

Intricate is GPU accelerated machine learning Rust library that uses OpenCL under the hood to do computations on any device that has OpenCL implementations.

Derive Macros§

ActivationLayer
Derives the implementation of intricate::layers::Layer for a layer that is an activation function which is the same for all activations.
EnumLayer
Derives the implementation of intricate::layers::Layer for a enum containing layers, this is used as to not have to write this implementation and change it everytime we need to add a new layer.
FromForAllUnnamedVariants
Derives all the From<…> implementations for the enum it is being derived on.