Skip to content

QuaternionDense layer only accept input of dimension 2 #3

@healthyertech

Description

@healthyertech

Hi, I'm recentrly approaching to quaternion neural networks and I found this fantastic repository which I am exploiting to implement an academic project. I'm developing a convolutional neural network for a project about speech recognition.
After having defined a real-valued neural model, I was trying to convert it into a quaternion model. However, I noticed that the QuaternionDense layer accept ony inputs having dimension 2, while in the fully connected block of my model I would need a dense layer accepting input at least of dimension 3. I tried to slightly modify in my local folder the definition of the quaternion layer, but it slill retuns me a ValueError stressing that the input shape does not mathc the required shape.
Would it actually be possible to make the quaternion dense layer working with input of size 3? If so, how could I proceed?
Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions