Home
last modified time | relevance | path

Searched refs:is_stateful (Results 1 – 25 of 39) sorted by relevance

12

/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt321 is_stateful: true
405 is_stateful: true
652 is_stateful: true
762 is_stateful: true
2195 is_stateful: true
2296 is_stateful: true
2361 is_stateful: true
2377 is_stateful: true
2827 is_stateful: true
4481 is_stateful: true
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dhoist_random_uniform.cc150 bool is_stateful, in MakeLessStatefulFunction() argument
155 if (is_stateful) in MakeLessStatefulFunction()
156 stateless_function->mutable_signature()->set_is_stateful(is_stateful); in MakeLessStatefulFunction()
184 if (!map_function.signature().is_stateful()) return false; in CanHoistRandomUniform()
192 if (!op_def->is_stateful()) continue; in CanHoistRandomUniform()
Dfunction_utils.cc176 if (!function_def.signature().is_stateful()) return false; in IsFunctionStateful()
191 if (!op_def->is_stateful()) return false; in IsNodeStateful()
Dvectorization_utils.cc544 if (tensor.first->op_def().is_stateful()) { in AddUnstackedTensorMappingsHelper()
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v1.pbtxt876 is_stateful: true
1136 is_stateful: true
1547 is_stateful: true
1694 is_stateful: true
6904 is_stateful: true
7148 is_stateful: true
7356 is_stateful: true
7372 is_stateful: true
8652 is_stateful: true
8993 is_stateful: true
[all …]
Dops_history.v2.pbtxt876 is_stateful: true
1136 is_stateful: true
1547 is_stateful: true
1694 is_stateful: true
6904 is_stateful: true
7148 is_stateful: true
7356 is_stateful: true
7372 is_stateful: true
8652 is_stateful: true
8993 is_stateful: true
[all …]
Dops_history.v0.pbtxt399 is_stateful: true
599 is_stateful: true
3257 is_stateful: true
4245 is_stateful: true
7795 is_stateful: true
11992 is_stateful: true
12036 is_stateful: true
12210 is_stateful: true
12270 is_stateful: true
12310 is_stateful: true
[all …]
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.h177 bool is_stateful() const;
196 int graph_def_version, bool is_stateful,
Dfunctions.cc315 const bool is_stateful, GraphDef&& function_body) in GrapplerFunctionItem() argument
321 is_stateful_(is_stateful) { in GrapplerFunctionItem()
389 bool GrapplerFunctionItem::is_stateful() const { return is_stateful_; } in is_stateful() function in tensorflow::grappler::GrapplerFunctionItem
652 signature.is_stateful(), std::move(function_body)); in MakeGrapplerFunctionItem()
780 func->mutable_signature()->set_is_stateful(item.is_stateful()); in MakeFunctionDef()
/external/tensorflow/tensorflow/python/framework/
Dgraph_to_function_def.py118 if op.op_def is not None and op.op_def.is_stateful:
119 func.signature.is_stateful = True
Dop_def_library.py343 output_structure, is_stateful, op = self._apply_op_helper(
348 if isinstance(res, list) and not res and is_stateful:
789 return output_structure, op_def.is_stateful, op
Dauto_control_deps.py92 return op_def.is_stateful and op_def.name not in _ALL_BLACKLISTED_OPS
Dfunction_test.py1003 Foo._signature.is_stateful = True
1004 Bar._signature.is_stateful = True
1035 self.assertFalse(FunctionWithStatelessOp.definition.signature.is_stateful)
1036 self.assertTrue(FunctionWithStatefulOp.definition.signature.is_stateful)
1038 FunctionWithStatelessFunctionCall.definition.signature.is_stateful)
1040 FunctionWithStatefulFunctionCall.definition.signature.is_stateful)
Dfunction.py435 if op.op_def.is_stateful]
813 if op_def.is_stateful and op not in self._whitelisted_stateful_ops:
/external/tensorflow/tensorflow/core/common_runtime/
Deval_const_tensor.cc134 if (target_node.op_def().is_stateful()) { in ExtractConstantSubgraph()
188 if (current_node->op_def().is_stateful()) { in ExtractConstantSubgraph()
Dgraph_execution_state.cc230 if (n->op_def().is_stateful()) { in SaveStatefulNodes()
239 if (n->op_def().is_stateful()) { in RestoreStatefulNodes()
Dfunction.cc265 return s.ok() && op_def->is_stateful(); in IsStateful()
846 (n->op_def().is_stateful() && n->type_string() != kArgOp) || in PruneFunctionBody()
1162 return s.ok() && op_def->is_stateful(); in IsStateful()
1245 n->op_def().is_stateful()) { in RemoveDeadNodes()
/external/tensorflow/tensorflow/python/framework/testdata/
Dmetrics_export_meta_graph.pb161 is_stateful: true
236 is_stateful: true
261 is_stateful: true
406 is_stateful: true
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/
Dfunction_functional_while.pbtxt17 is_stateful: true
/external/tensorflow/tensorflow/core/graph/
Doptimizer_cse.cc138 if (a->op_def().is_stateful()) return false; in Equivalent()
/external/tensorflow/tensorflow/core/grappler/
Dop_types.cc613 return op_def->is_stateful(); in IsStateful()
632 if (op_def->is_stateful()) { in IsFreeOfSideEffect()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py84 return op.is_stateful
91 return op.op_def.is_stateful
248 def is_stateful(self): member in WhileOp
1263 is_stateful = _is_stateful_pfor_op(y_op)
1300 (not is_stateful and not some_input_converted and
1307 elif not (is_stateful or is_while_loop or some_input_stacked):
/external/tensorflow/tensorflow/contrib/compiler/
Djit_test.py42 return not _REGISTERED_OPS[node_def.op].is_stateful
/external/tensorflow/tensorflow/core/framework/
Dop_def.proto144 bool is_stateful = 17; // for things like variables, queue field
Dop_def_builder_test.cc633 EXPECT_TRUE(op_def.is_stateful()); in TEST_F()

12