Skip to content

Freezing Pruned weights smaller than 1e-6 #5

@yuezhixiong

Description

@yuezhixiong

In main.py
#Freezing Pruned weights by making their gradients Zero
grad_tensor = np.where(tensor < EPS, 0, grad_tensor)

Does this also freeze the weights that have negative values? More than just weights with 0 values?

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