nnvm/python/nnvm/symbol.py
def _get_list_copt(self, option):
        """internal function to get list option"""
        if option == 'all':
            return _ctypes.c_int(0)
        elif option == 'read_only':
            return _ctypes.c_int(1)
        elif option == 'aux_state':
            return _ctypes.c_int(2)
        else:
            raise ValueError("option need to be in {'all', 'read_only, 'aux_state'}")
internal function to get list option
internal function to get list option
internal function to get list option
def _get_list_copt(self, option):
        if option == 'all':
            return _ctypes.c_int(0)
        elif option == 'read_only':
            return _ctypes.c_int(1)
        elif option == 'aux_state':
            return _ctypes.c_int(2)
        else:
            raise ValueError("option need to be in {'all', 'read_only, 'aux_state'}")
def _get_list_copt ( self , option ) : if option == 'all' : return _ctypes . c_int ( 0 ) elif option == 'read_only' : return _ctypes . c_int ( 1 ) elif option == 'aux_state' : return _ctypes . c_int ( 2 ) else : raise ValueError ( "option need to be in {'all', 'read_only, 'aux_state'}" )
internal function to get list option
internal function to get list option
"""internal function to get list option"""
self
option