Open Gabrielllopes opened 4 years ago
Cool, that you found the error.
About reduceMean operator, I don’t know if it is easy to implement, I have to look at it.
It is the main problem with this implementation, as there are few contribution, I can hardly follow the development of the main stream.
I am on holiday and i’ll try to have a look. I can also help you if you want to try to implement it by yourself.
Olivier
Cheers buddy,
I am trying to implement reduceMean and i did not understand how to take the parameters from the network.
I saw the following code into the resharp implementation:
n := ns[0]
children := getOrderedChildren(g.g, n)
err := checkCondition(children, 2)
if err != nil {
return err
}
err = a.inferShape(children[1].gorgoniaNode.Value().Data(), children[0].gorgoniaNode.Shape())
if err != nil {
return err
}
my question is how do I know witch parameters the calling for reduce will pass? Like how do I know what is on
children[1].gorgoniaNode.Value().Data()
or
children[0].gorgoniaNode.Shape()
Hello, I'm using my own model and I faced the follow issue while running ->
Failed to infer shape. Op: A × Bᵀ: Inner dimensions do not match up
This is the model shape -> (1, 3, 50, 50)
and the error appear when
PopulateExprgraph
is calledDown bellow is the code