'run function file in google colab

In Google Colab, how can I execute the function file related to the original code? In the main code is part of the function that is in the file. PY is another, it has been called and I want to know what I need to do to identify that file and perform the operation because without calling it gives an error not defining the name. For example in the code below, "common" is the name of the function file.

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-1-312b7f047357> in <module>()
    102     return EDSR(args)
    103 
--> 104 class EDSR(nn.Module):
    105     def __init__(self, args, conv=common.default_conv):
    106         super(EDSR, self).__init__()

<ipython-input-1-312b7f047357> in EDSR()
    103 
    104 class EDSR(nn.Module):
--> 105     def __init__(self, args, conv=common.default_conv):
    106         super(EDSR, self).__init__()
    107 

NameError: name 'common' is not defined


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source