aws_lambda/pytorch/source/torch/jit/__init__.py
def _get_weak_stubs(cls):
    """
    Calls script_method for each method on the type of the object passed in and
    returns the generated ScriptMethodStubs
    """
    stubs = []
    for name in dir(cls):
        func = get_function_from_type(cls, name)
        if func in _weak_script_methods:
            entry = _weak_script_methods[func]
            stub = script_method(entry["original_method"], entry["rcb"])
            stubs.append(stub)
    return stubs

    Calls script_method for each method on the type of the object passed in and
    returns the generated ScriptMethodStubs
    
Calls script_method for each method on the type of the object passed in and
returns the generated ScriptMethodStubs
Calls script_method for each method on the type of the object passed in and returns the generated ScriptMethodStubs
def _get_weak_stubs(cls):
    stubs = []
    for name in dir(cls):
        func = get_function_from_type(cls, name)
        if func in _weak_script_methods:
            entry = _weak_script_methods[func]
            stub = script_method(entry["original_method"], entry["rcb"])
            stubs.append(stub)
    return stubs
def _get_weak_stubs ( cls ) : stubs = [ ] for name in dir ( cls ) : func = get_function_from_type ( cls , name ) if func in _weak_script_methods : entry = _weak_script_methods [ func ] stub = script_method ( entry [ "original_method" ] , entry [ "rcb" ] ) stubs . append ( stub ) return stubs
Calls script_method for each method on the type of the object passed in and
returns the generated ScriptMethodStubs
Calls script_method for each method on the type of the object passed in and returns the generated ScriptMethodStubs
"""
    Calls script_method for each method on the type of the object passed in and
    returns the generated ScriptMethodStubs
    """
cls