Skip to content

TF_Part1_Intro.ipynb #203

@yuwilson105

Description

@yuwilson105

the functions self.add_weight() now needs the name to be specified in the parameter.

Ex. self.W = self.add_weight("weight", shape=[d, self.n_output_nodes]) gives "TypeError: Layer.add_weight() got multiple values for argument 'shape'"
so instead use self.W = self.add_weight(name="weight", shape=[d, self.n_output_nodes])

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