Skip to content

Variable weights "alpha" needs to be converted correctly ! #5

@thusinh1969

Description

@thusinh1969

You need to convert alpha as below to make it work with Tensorflow 2. Assuming alpha input as a list:

alpha = np.array(alpha).reshape(len(alpha), 1)
alpha = tf.convert_to_tensor(alpha, dtype=tf.float32)

Steve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions