tf.contrib.framework.assign_from_values
Stay organized with collections
Save and categorize content based on your preferences.
Creates an assignment operation from a given mapping.
tf.contrib.framework.assign_from_values(
var_names_to_values
)
This function provides a mechanism for performing assignment of variables
to values in a way that does not fill the graph with large assignment values.
Args |
var_names_to_values
|
A map from variable names to values.
|
Returns |
assign_op
|
An Operation that assigns each of the given variables to the
requested values.
|
feed_dict
|
The feed dictionary to use when evaluating assign_op .
|
Raises |
ValueError
|
if any of the given variable names were not found.
|
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]