tf.keras.backend.set_value  |  TensorFlow v2.0.0 (original) (raw)

tf.keras.backend.set_value

Stay organized with collections Save and categorize content based on your preferences.

Sets the value of a variable, from a Numpy array.

View aliases

Compat aliases for migration

SeeMigration guide for more details.

tf.compat.v1.keras.backend.set_value

tf.keras.backend.set_value(
    x, value
)
Arguments
x Tensor to set to a new value.
value Value to set the tensor to, as a Numpy array (of the same shape).

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2020-10-01 UTC.