Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py708 def to_control_flow_context_def(self, context_def, export_scope=None): argument
827 context_def=None, argument
843 if context_def:
844 self._init_from_proto(context_def, import_scope=import_scope)
859 def _init_from_proto(self, context_def, import_scope=None): argument
866 assert isinstance(context_def, control_flow_pb2.CondContextDef)
869 self._name = ops.prepend_name_scope(context_def.context_name, import_scope)
871 ops.prepend_name_scope(context_def.pred_name, import_scope))
873 ops.prepend_name_scope(context_def.pivot_name, import_scope))
874 self._branch = context_def.branch
[all …]
Dcontrol_flow_ops_test.py518 def to_control_flow_context_def(self, context_def, export_scope=None): argument
520 self).to_control_flow_context_def(context_def, export_scope)
/external/tensorflow/tensorflow/python/tpu/
Dtpu.py725 def to_control_flow_context_def(self, context_def, export_scope=None): argument