public function update(Tensor $step) : void
    {
        $this->w = $this->w()->subtract($step);
    }
public function update(Tensor $step) : void
    {
        $this->w = $this->w()->subtract($step);
    }
public function update ( Tensor $ step ) : void { $ this -> w = $ this -> w ( ) -> subtract ( $ step ) ; }
Update the parameter.

@param \Rubix\Tensor\Tensor $step
Update the parameter .