List of memory-only structs
I am trying to create a struct for a neural network layer with memory-only list of neurons:
But I'm struggling to compose these into a list of any sort, whether with a heap array, vector, or variadic list, getting this error:
But I'm struggling to compose these into a list of any sort, whether with a heap array, vector, or variadic list, getting this error:
candidate not viable: method argument #1 cannot bind generic !mlirtype to memory-only type 'Neuron'. Is there a way to compose structs in this way?