Skip to content

How to count FLOPs? #220

@miladdona

Description

@miladdona

Hi,

How can I count number of floating point operation in kerasdense layers in this library (t3f)?

In normal way we do Y = AX + b in a dense layer in keras:
Y: output
X: input
A: weights (in dense layers is a 2-D matrix in shape (m, n))
b: bias
num of FLOPs: m * n + b

But in t3f I don't know how can I count FLOPs?

Thanks

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