get_weights: Layer/Model weights as R arrays

Description Usage Arguments See Also

View source: R/layer-methods.R

Description

Layer/Model weights as R arrays

Usage

1
2
3
get_weights(object)

set_weights(object, weights)

Arguments

object

Layer or model object

weights

Weights as R array

See Also

Other model persistence: model_to_json(), model_to_yaml(), save_model_hdf5(), save_model_tf(), save_model_weights_hdf5(), serialize_model()

Other layer methods: count_params(), get_config(), get_input_at(), reset_states()


dfalbel/keras documentation built on Nov. 27, 2019, 8:16 p.m.