f448c24dc7b096a2041b699ce1bcb72cf287144b,GPflow/param.py,Param,compile,#Param#Any#,330
Before Change
session = session_manager.get_session(session)
with session.as_default():
if is_tensorflow_variable(self._variable):
return self._variable
def build_prior(self):
Build a tensorflow representation of the prior density.
The log Jacobian is included.
After Change
Compile a tensorflow representation of the parameter.
if self.is_compiled:
try:
get_tensor_by_name(self._tensor.name, graph=graph)
return
except GPflowError:
raise GPflowError("Attempt to run compile with different graph.")
graph = self.root.session.graph if graph is None else graph
if not self._externally_defined:
self._tensor = self._build_tensor(graph)
self._build_prior(graph)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: GPflow/GPflow
Commit Name: f448c24dc7b096a2041b699ce1bcb72cf287144b
Time: 2017-08-29
Author: art.art.v@gmail.com
File Name: GPflow/param.py
Class Name: Param
Method Name: compile
Project Name: GPflow/GPflow
Commit Name: 0a1a59e204b56ab9ddfba38cb4ee9956174bffeb
Time: 2017-08-26
Author: art.art.v@gmail.com
File Name: GPflow/param.py
Class Name: Param
Method Name: __setattr__
Project Name: GPflow/GPflow
Commit Name: f448c24dc7b096a2041b699ce1bcb72cf287144b
Time: 2017-08-29
Author: art.art.v@gmail.com
File Name: GPflow/param.py
Class Name: Param
Method Name: _set_fixed