Skip to content

[Discussion] dim equal assert in ElementwiseLayer #376

@auroua

Description

@auroua

TensorFlow support broadcasting. I think it is no necessary to add the following assert in ElementwiseLayer:

assert str(self.outputs.get_shape()) == str(l.outputs.get_shape()), "Hint: the input shapes should be the same. %s != %s" %  (self.outputs.get_shape() , str(l.outputs.get_shape()))

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