MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / get_weights

Method get_weights

tensorflow/python/keras/optimizers.py:137–143  ·  view source on GitHub ↗

Returns the current value of the weights of the optimizer. Returns: A list of numpy arrays.

(self)

Source from the content-addressed store, hash-verified

135 K.batch_set_value(weight_value_tuples)
136
137 def get_weights(self):
138 """Returns the current value of the weights of the optimizer.
139
140 Returns:
141 A list of numpy arrays.
142 """
143 return K.batch_get_value(self.weights)
144
145 def get_config(self):
146 config = {}

Callers 10

iteration_inside_funcFunction · 0.45
iteration_outside_funcFunction · 0.45
dnn_correctnessMethod · 0.45
_test_optimizerMethod · 0.45
test_extra_variableMethod · 0.45
on_epoch_endMethod · 0.45
layer_testFunction · 0.45

Calls

no outgoing calls

Tested by 9

iteration_inside_funcFunction · 0.36
iteration_outside_funcFunction · 0.36
dnn_correctnessMethod · 0.36
_test_optimizerMethod · 0.36
test_extra_variableMethod · 0.36
layer_testFunction · 0.36