Home
last modified time | relevance | path

Searched refs:variable_node (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dgraph_util_test.py207 variable_node = variables.Variable(1.0, name="variable_node")
209 defun_node = plus_one(variable_node)
214 init = variables.variables_initializer([variable_node])
240 variable_node = variable_scope.get_variable(
245 variable_node, 2.0, name="output_node")
247 self.evaluate(variable_node.initializer)
279 variable_node = None
282 variable_node = node
283 self.assertIsNotNone(variable_node)
285 self.assertEqual(variable_node.op, "VarHandleOp")
[all …]
/external/tensorflow/tensorflow/python/tools/
Dfreeze_graph_test.py61 variable_node = variables.VariableV1(1.0, name="variable_node")
62 output_node = math_ops.multiply(variable_node, 2.0, name="output_node")
138 variable_node = variables.VariableV1(1.0, name="variable_node")
139 scores = math_ops.multiply(variable_node, feature, name="output_node")
176 variable_node = variables.VariableV1(1.0, name="variable_node")
177 output_node = math_ops.multiply(variable_node, 2.0, name="output_node")
/external/tensorflow/tensorflow/cc/tools/
Dfreeze_saved_model.cc151 void ConvertVariableToConstant(const NodeDef& variable_node, in ConvertVariableToConstant() argument
154 const_node->set_name(variable_node.name()); in ConvertVariableToConstant()
156 (*const_node->mutable_attr())["dtype"] = variable_node.attr().at("dtype"); in ConvertVariableToConstant()