Skip to content

bug: tensor_op_mean segfaults, t->grad is NULL when accessed #36

Description

@Anmol-s2006

tensor_op_mean mein t->grad->data access ho raha hai
bina null check ke. grad initialize nahi hota.

File: src/backend_cpu/math/mean.cpp
Fix needed: NULL check before accessing t->grad->data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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