Resets all parameters to None
551942
def reset_all(self):
        
        for item in self.inputs:
            setattr(self, "_%s" % item, None)
        self.stack = []
640961
def reset(self):
        
        self.grid = [[0 for dummy_l in range(self.grid_width)] for dummy_l in range(self.grid_height)]
271328
def reset(self):
        """"""
        self.num_inst = 0
        self.sum_metric = 0.0
        self.global_num_inst = 0
        self.global_sum_metric = 0.0
594195
def reset(self):
        '''
        
        '''
        self.resetRNG()
        sNow = np.zeros(self.pop_size)
        Shk  = self.RNG.rand(self.pop_size)
        sNow[Shk < self.p_init] = 1
        self.sNow = sNow
1204441
def reset(self):
        '''
        
        '''
        self.parameters = []
        self.transformed_parameters = []
        self.expressions = []
        self.data = []
        self.transformed_data = []
        self.X = {}
        self.model = []
        self.mu_cont = []
        self.mu_cat = []
        self._original_names = {}
        # variables to suppress in output. Stan uses limited set for variable
        # names, so track variable names we may need to simplify for the model
        # code and then sub back later.
        self._suppress_vars = ['yhat', 'lp__']
1054309
def reset_params(self):
        """"""
        units = [self.input_units]
        units += [self.hidden_units] * self.num_hidden
        units += [self.output_units]

        sequence = []
        for u0, u1 in zip(units, units[1:]):
            sequence.append(nn.Linear(u0, u1))
            sequence.append(self.nonlin)
            sequence.append(nn.Dropout(self.dropout))

        sequence = sequence[:-2]
        if self.output_nonlin:
            sequence.append(self.output_nonlin)

        self.sequential = nn.Sequential(*sequence)
912984
protected function resetDestinationParams() {
        foreach($this->options as $op=>$junk){
            if(preg_match("#^Destination.#",$op)){
                unset($this->options[$op]);
            }
        }
    }
1336470
public function resetParameters()
    {
        // Reset parameter data
        $this->paramsGet     = array();
        $this->paramsPost    = array();
        $this->files         = array();
        $this->raw_post_data = null;

        // Clear outdated headers
        if (isset($this->headers['content-type'])) { unset($this->headers['content-type']);
        }
        if (isset($this->headers['content-length'])) { unset($this->headers['content-length']);
        }

        return $this;
    }
761851
def clear(self):
        """"""
        # Adapted from http://stackoverflow.com/a/13103617/1198772
        for i in reversed(list(range(self.kwExtraKeywordsGridLayout.count()))):
            self.kwExtraKeywordsGridLayout.itemAt(i).widget().setParent(None)
        self.parameters = []
        self.parameter_container = ParameterContainer()
901407
def _reset(self, **kwargs):
        
        # set object attributes from params
        for key in kwargs:
            setattr(self, key, kwargs[key])

        # set defaults (if need be) where the default is not None
        for attr in self.ATTRIBUTES:
            if not hasattr(self, attr) and self.ATTRIBUTES[attr] is not None:
                setattr(self, attr, self.ATTRIBUTES[attr])
1050830
def reset(self):
        """"""
        self.Base.metadata.drop_all(self.session.bind)
        self.initialize()
1176775
function reset() {
        foreach ($this->vars as $key=>$val) {
            unset($this->env[$key]);
        }
        $this->vars = array();
    }
1305101
def reset(cls, *args, **kwargs):
        """"""
        cls.local.tchannel = None
        cls.args = None
        cls.kwargs = None
        cls.prepared = False
286777
def reset(self) -> None:
        
        self.evaluating = set()
        self.assumptions = {}
        self.known_results = {}
        self.current_node = None
        self.evaluate_stack = []
        self.bnode_map = {}
1350564
protected function resetSubscriptionParams() {
        foreach($this->options as $op=>$junk){
            if(preg_match("#Subscription.#",$op)){
                unset($this->options[$op]);
            }
        }
    }
474901
static void resetRoundingParams(Rounded rounded) {
    rounded.setCircle(false);
    rounded.setRadius(0);
    rounded.setBorder(Color.TRANSPARENT, 0);
    rounded.setPadding(0);
    rounded.setScaleDownInsideBorders(false);
    rounded.setPaintFilterBitmap(false);
  }
529759
def _remove_parameter(self, param):
        
        # TODO: check to see if protected (required by a current constraint or
        # by a backend)
        self._params = [p for p in self._params if p != param]