MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Layers.hpp File Reference

Descriptions of the layers the tensor kernels run, and their output sizes. More...

Include dependency graph for Layers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Yantra::TensorKernels::Conv1d
 One convolution layer over [batch, c_in, t_in], with weights [c_out, c_in, kernel]. More...
struct  MayaFlux::Yantra::TensorKernels::GroupedConv1d
 One grouped convolution layer over [batch, c_in, t_in], with weights [c_out, c_in / groups, kernel]. More...

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
namespace  MayaFlux::Yantra
namespace  MayaFlux::Yantra::TensorKernels
namespace  MayaFlux::Yantra::TensorKernels::detail

Enumerations

enum class  MayaFlux::Yantra::TensorKernels::Activation : uint8_t { MayaFlux::Yantra::TensorKernels::None , MayaFlux::Yantra::TensorKernels::Relu , MayaFlux::Yantra::TensorKernels::Sigmoid , MayaFlux::Yantra::TensorKernels::Gelu }
 Output activation of a layer. More...
enum class  MayaFlux::Yantra::TensorKernels::NormAffine : uint8_t { MayaFlux::Yantra::TensorKernels::None , MayaFlux::Yantra::TensorKernels::Along , MayaFlux::Yantra::TensorKernels::Outer }
 Which index selects the weight and bias applied after a normalisation. More...

Functions

uint32_t MayaFlux::Yantra::TensorKernels::conv1d_length (const Conv1d &layer, uint32_t t_in)
 Output length of a convolution, 0 when the window does not fit the padded input.
constexpr uint32_t MayaFlux::Yantra::TensorKernels::frame_audio_length (uint32_t chunk_size, uint32_t context, uint32_t pad)
 Length of one frame nn_frame_audio writes.
uint32_t MayaFlux::Yantra::TensorKernels::grouped_conv1d_length (const GroupedConv1d &layer, uint32_t t_in)
 Output length of a grouped convolution after its trim, 0 when nothing is left.
void MayaFlux::Yantra::TensorKernels::detail::refuse (std::string_view message)

Detailed Description

Descriptions of the layers the tensor kernels run, and their output sizes.

Definition in file Layers.hpp.