Commit d9c61b8f authored by Arie's avatar Arie Committed by Jonathan Hseu
Browse files

Simplify _linear_model_fn

* reduce line count using getattr() on layers 'weighted_sum...' rather than two explicit calls

*  create a variable that has a reference to the correct function

as suggested

* use a better name for the logit function

* use regular if statement

* be more explicit in if statement

* fix whitespace

* whitespace fix
parent 6a689e92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment