Searched refs:variable_node (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/python/framework/ |
D | graph_util_test.py | 207 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/ |
D | freeze_graph_test.py | 61 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/ |
D | freeze_saved_model.cc | 151 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()
|