Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Some issues about aggregators.py file  #4

@ayanesakura

Description

@ayanesakura

In the GatedMeanAggregator class ,I find that when parameter "concat" was False, I can't create it.

Because the attribute “output_dim” of the class will be set only when "concat" is True,while when create self.vars['bias'] variable, self.output_dim is needed,but the class still doens't have this attribute.

Souce code is as follows:
...
if concat:
self.output_dim = 2 * output_dim
...
if self.bias:
self.vars['bias'] = zeros([self.output_dim], name='bias')
...

I'm not so good at English ,sorry for my poor expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions