Calflops

Latest version: v0.3.2

The latest version of calflops with no known security vulnerabilities is 0.3.2. We recommend installing version 0.3.2.

The information on this page was curated by experts in our Cybersecurity Intelligence Team.

Latest release
v0.3.2 at June 7, 2024
License
MIT (MIT License)

Description

This package is designed to compute the theoretical amount of FLOPs(floating-point operations)、MACs(multiply-add operations) and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 GCN、Transformer(Bert、LlaMA etc Large Language Model),including any custom models via torch.nn.function.* as long as based on the Pytorch implementation.

Resources

Vulnerabilities

See all vulnerabilities

No known vulnerabilities found

Versions (19)

See all versions

Has known vulnerabilities

  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.9
  • 0.2.8
  • 0.2.7
  • 0.2.6
  • 0.2.5
  • 0.2.0
  • 0.1.0
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1