Home / Function/ get_times() — pytorch Function Reference

get_times() — pytorch Function Reference

Architecture documentation for the get_times() function in compare-fastrnn-results.py from the pytorch codebase.

Function python CoreTensor Dispatcher calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  f56b83c3_0951_d749_c006_3b6434e6b9e5["get_times()"]
  8a338965_74de_5228_1698_b194fc71bf26["base_times()"]
  8a338965_74de_5228_1698_b194fc71bf26 -->|calls| f56b83c3_0951_d749_c006_3b6434e6b9e5
  134d1685_33ae_d2bd_9fe4_4bd47755337a["diff_times()"]
  134d1685_33ae_d2bd_9fe4_4bd47755337a -->|calls| f56b83c3_0951_d749_c006_3b6434e6b9e5
  e81b59ad_1eef_8632_0b0f_7b024eeee6d1["construct_name()"]
  f56b83c3_0951_d749_c006_3b6434e6b9e5 -->|calls| e81b59ad_1eef_8632_0b0f_7b024eeee6d1
  style f56b83c3_0951_d749_c006_3b6434e6b9e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/compare-fastrnn-results.py lines 15–21

def get_times(json_data):
    r = {}
    for fwd_bwd in json_data:
        for test_name in json_data[fwd_bwd]:
            name = construct_name(fwd_bwd, test_name)
            r[name] = json_data[fwd_bwd][test_name]
    return r

Domain

Subdomains

Frequently Asked Questions

What does get_times() do?
get_times() is a function in the pytorch codebase.
What does get_times() call?
get_times() calls 1 function(s): construct_name.
What calls get_times()?
get_times() is called by 2 function(s): base_times, diff_times.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free