tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

LinearClassifier does not have weights_

Open ghost opened this issue 7 years ago • 0 comments

In the latest version of tensorflow (1.3.0) the LinearClassifier object does not have a weights_ member. Instead, the weights have to be retrieved as follows:

weights = classifier.get_variable_value("linear//weight")

ghost avatar Aug 30 '17 02:08 ghost