Home
last modified time | relevance | path

Searched refs:graph_element (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py349 graph_element=None, argument
415 self._graph_element = graph_element
1772 graph_element = value
1790 graph_element = None
1824 graph_element=graph_element,
1969 graph_element = value
1975 graph_element = None
1984 graph_element=graph_element,
2020 graph_element = None
2023 graph_element = gen_resource_variable_ops.read_variable_op(
[all …]
/external/tensorflow/tensorflow/python/framework/
Dfunc_graph.py357 graph_element = ops._as_graph_element(c) # pylint: disable=protected-access
358 if graph_element is None:
359 graph_element = c
360 if graph_element is not None and getattr(
361 graph_element, "graph", None) is not self:
362 self.control_captures.add(graph_element)
364 filtered_control_inputs.append(graph_element)
Dops.py6139 graph_element = None
6142 graph_element = op_input
6144 graph_element = _as_graph_element(op_input)
6146 if graph_element is not None:
6148 original_graph_element = graph_element
6149 graph = getattr(graph_element, "graph", None)
6151 _assert_same_graph(original_graph_element, graph_element)
6152 elif graph_element.graph is not graph:
6153 raise ValueError("%s is not from the passed-in graph." % graph_element)
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dautocast_variable.py334 graph_element = self._variable._as_graph_element() # pylint:disable=protected-access
335 if graph_element is None:
337 return graph_element
/external/tensorflow/tensorflow/python/eager/
Dwrap_function.py319 graph_element = self.graph.as_graph_element(fetch)
320 return _fetch_preprocessing_callback(graph_element)
/external/tensorflow/tensorflow/python/keras/
Dbackend.py682 graph_element = op_input
684 graph_element = _as_graph_element(op_input)
686 if graph_element is not None:
688 original_graph_element = graph_element
689 graph = getattr(graph_element, 'graph', None)
691 _assert_same_graph(original_graph_element, graph_element)
692 elif graph_element.graph is not graph:
693 raise ValueError('%s is not from the passed-in graph.' % graph_element)
/external/tensorflow/tensorflow/python/distribute/
Dpacked_distributed_variable.py75 graph_element=None,