Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dforce_shared_name_for_resource_ops.pbtxt1 …phdef-to-mlir -tf-upgrade-legacy %s -tf-output-arrays=hash_table_node,variable_node,variable_v2_no…
26 name: "variable_node"
101 input: ["variable_node", "variable_v2_node"]
191 name: "variable_node"
239 input: ["variable_node:ref", "variable_v2_node:ref"]
343 # CHECK-SAME: shared_name = "variable_node"
354 # CHECK-SAME: shared_name = "variable_node"
Dfeed-control-dep.pbtxt24 name: "variable_node"
48 input: "variable_node"
/external/tensorflow/tensorflow/core/ir/importexport/tests/roundtrip/
Dfeed-control-dep.pbtxt22 name: "variable_node"
46 input: "variable_node"
Dforce_shared_name_for_resource_ops.pbtxt24 name: "variable_node"
/external/tensorflow/tensorflow/python/tools/
Dfreeze_graph_test.py59 variable_node = variables.VariableV1(1.0, name="variable_node")
60 output_node = math_ops.multiply(variable_node, 2.0, name="output_node")
136 variable_node = variables.VariableV1(1.0, name="variable_node")
137 scores = math_ops.multiply(variable_node, feature, name="output_node")
175 variable_node = variables.VariableV1(1.0, name="variable_node")
176 output_node = math_ops.multiply(variable_node, 2.0, name="output_node")
/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants_test.py952 variable_node = variable_scope.get_variable(
955 output_node = math_ops.multiply(variable_node, 2.0, name="output_node")
957 self.evaluate(variable_node.initializer)
984 variable_node = variable_scope.get_variable(
989 [variable_node.assign(another_variable + variable_node)]):
990 output_node = array_ops.identity(variable_node, name="output_node")
991 initializer_name = variable_node.initializer.name
993 self.evaluate(variable_node.initializer)
1010 variable_node = None
1013 variable_node = node
[all …]
/external/tensorflow/tensorflow/cc/tools/
Dfreeze_saved_model.cc156 void ConvertVariableToConstant(const NodeDef& variable_node, in ConvertVariableToConstant() argument
159 const_node->set_name(variable_node.name()); in ConvertVariableToConstant()
161 (*const_node->mutable_attr())["dtype"] = variable_node.attr().at("dtype"); in ConvertVariableToConstant()
/external/tensorflow/tensorflow/lite/python/
Dmetrics_nonportable_test.py254 variable_node = tf.Variable(1.0, name='variable_node')
255 out_tensor = in_tensor_1 + in_tensor_2 * variable_node
258 sess.run(tf.compat.v1.variables_initializer([variable_node]))
Dlite_test.py1386 variable_node = variables.Variable(1.0, name='variable_node')
1387 defun_node = plus_placeholder(variable_node, placeholder)
1392 sess.run(variables.variables_initializer([variable_node]))
1577 variable_node = variables.Variable(1.0, name='variable_node')
1578 defun_node = plus_placeholder(variable_node, placeholder)
1583 sess.run(variables.variables_initializer([variable_node]))
Dlite_v2_test.py1365 variable_node = tf.Variable(1.0, name='variable_node')
1366 out_tensor = in_tensor_1 + in_tensor_2 * variable_node
1369 sess.run(tf.compat.v1.variables_initializer([variable_node]))
/external/tensorflow/tensorflow/lite/python/metrics/
Dmetrics_nonportable_test.py254 variable_node = tf.Variable(1.0, name='variable_node')
255 out_tensor = in_tensor_1 + in_tensor_2 * variable_node
258 sess.run(tf.compat.v1.variables_initializer([variable_node]))
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc4168 NodeDef* variable_node = nullptr; in TrySimplify() local
4169 TF_RETURN_IF_ERROR(GetInputNode(gather_node->input(0), &variable_node)); in TrySimplify()
4175 read_var_node->set_device(variable_node->device()); in TrySimplify()
4180 if (variable_node->attr().count("dtype")) { in TrySimplify()
4181 SetAttrValue(variable_node->attr().at("dtype").type(), in TrySimplify()
4192 if (variable_node->attr().count("shape")) { in TrySimplify()
4193 SetAttrValue(variable_node->attr().at("shape").shape(), in TrySimplify()