mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-13 05:52:38 +02:00
[param_array] doc
This commit is contained in:
parent
53ff580a6e
commit
8ff4a42d1a
1 changed files with 4 additions and 0 deletions
|
|
@ -713,6 +713,10 @@ class Parameterizable(OptimizationHandlable):
|
|||
|
||||
@property
|
||||
def param_array(self):
|
||||
"""
|
||||
Array representing the parameters of this class.
|
||||
There is only one copy of all parameters in memory, two during optimization.
|
||||
"""
|
||||
if self._param_array_ is None:
|
||||
self._param_array_ = np.empty(self.size, dtype=np.float64)
|
||||
return self._param_array_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue