Home
last modified time | relevance | path

Searched refs:input_func (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants_test.py81 input_func = saved_model.signatures["serving_default"]
83 variable_graph_def = input_func.graph.as_graph_def()
88 input_func)
95 actual_value = self._evaluateGraphDef(constant_graph_def, input_func,
107 input_func = root.f.get_concrete_function(input_data)
109 variable_graph_def = input_func.graph.as_graph_def()
113 input_func)
120 actual_value = self._evaluateGraphDef(constant_graph_def, input_func,
137 input_func = saved_model.signatures["serving_default"]
139 variable_graph_def = input_func.graph.as_graph_def()
[all …]
Dconvert_to_constants.py81 def _construct_concrete_function(input_func, graph_def): argument
91 output_graph = func_graph.FuncGraph(input_func.graph.name)
95 input_func.inputs)
97 input_func.outputs)
99 output_graph.structured_outputs = input_func.graph.structured_outputs
101 input_func.graph.structured_input_signature)
108 output_func._captured_inputs = input_func.captured_inputs # pylint: disable=protected-access
109 output_func.graph.variables = input_func.graph.variables
111 output_func._arg_keywords = input_func._arg_keywords # pylint: disable=protected-access
112 …output_func._num_position_args = input_func._num_positional_args # pylint: disable=protected-acce…