Skip to main content
Ctrl+K

txv 0.0.1 documentation

Site Navigation

  • txv reference
  • Tutorials

Site Navigation

  • txv reference
  • Tutorials

Section Navigation

  • exp
    • LRP
    • IntegratedGradients
    • RawAttention
    • AttentionRollout
    • GradSAM
    • BeyondAttention
    • GenericAttention
    • TAM
    • BeyondIntuition
  • utils
    • read_image
    • read_image2
    • print_top_classes
    • postprocess
    • show_exp_on_image
  • vit
  • txv reference
  • utils
  • print_top_classes

print_top_classes#

txv.utils.print_top_classes(predictions, ntop=10, **kwargs)#
Parameters:
  • predictions (torch.Tensor) – The output of the model.

  • ntop (int, optional) – The number of top classes to print. The default is 10.

previous

read_image2

next

postprocess

On this page
  • print_top_classes()

© Copyright 2024, Lokesh Badisa.

Created using Sphinx 7.0.0.

Built with the PyData Sphinx Theme 0.14.4.