Home
last modified time | relevance | path

Searched refs:read_var (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_resource_partitioning.cc116 auto read_var = llvm::dyn_cast_or_null<TF::ReadVariableOp>( in PartitionResourceReadsWrites() local
118 if (!read_var || !read_var.value().hasOneUse()) continue; in PartitionResourceReadsWrites()
120 read_var.resource().getDefiningOp()); in PartitionResourceReadsWrites()
129 read_var->getLoc(), GetResourceSubtype(input), input); in PartitionResourceReadsWrites()
133 partitioned_input->getLoc(), read_var.value().getType(), in PartitionResourceReadsWrites()
137 read_var->erase(); in PartitionResourceReadsWrites()
Dtpu_sharding_identification_pass.cc59 if (auto read_var = llvm::dyn_cast_or_null<TF::ReadVariableOp>( in GetXlaShardingFromOperand() local
61 value_to_visit = read_var.resource(); in GetXlaShardingFromOperand()
/external/tensorflow/tensorflow/cc/tools/
Dfreeze_saved_model_test.cc131 Output read_var = ops::ReadVariableOp( in TestFreezeGraphWithoutDependentVariables() local
172 Output read_var; in TestFreezeGraphWithDependentVariables() local
176 read_var = ops::ReadVariableOp( in TestFreezeGraphWithDependentVariables()
180 Output read_var = in TestFreezeGraphWithDependentVariables() local
182 Output assign = ops::Assign(scope.WithOpName("assign"), read_var, a); in TestFreezeGraphWithDependentVariables()
184 Output c = ops::Mul(scope.WithOpName("c"), a, read_var); in TestFreezeGraphWithDependentVariables()
222 Output read_var; in TestFreezeGraphWithAndWithoutDependentVariables() local
227 read_var = ops::ReadVariableOp( in TestFreezeGraphWithAndWithoutDependentVariables()
238 read_var = ops::Variable(scope.WithOpName("var"), {}, DataType::DT_FLOAT); in TestFreezeGraphWithAndWithoutDependentVariables()
239 Output assign = ops::Assign(scope.WithOpName("assign"), read_var, a); in TestFreezeGraphWithAndWithoutDependentVariables()
[all …]
/external/llvm-project/libcxx/test/libcxx/gdb/
Dgdb_pretty_printer_test.py49 expectation_val = compare_frame.read_var("expectation")
82 value_str = str(compare_frame.read_var("value"))
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c88 static void read_var(int len) in read_var() function
131 read_var(len); in test_workload()
136 read_var(len); in test_workload()
145 read_var(1); in test_workload()
151 read_var(1); in test_workload()
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_variable_test.py311 self.assertEqual(2.0, self.evaluate(distribution.extended.read_var(v0)))
317 self.assertEqual(3.0, self.evaluate(distribution.extended.read_var(v1)))
340 self.evaluate(distribution.extended.read_var(v0)))
351 self.evaluate(distribution.extended.read_var(v1)))
368 self.evaluate(distribution.extended.read_var(v0)))
377 self.evaluate(distribution.extended.read_var(v1)))
515 distribution.extended.read_var(ret_v_sum)))
517 distribution.extended.read_var(ret_v_mean)))
Dstrategy_test_lib.py172 fetched = d.extended.read_var(v)
180 after_list.append(d.extended.read_var(v))
229 fetched = d.extended.read_var(v)
236 after_list.append(d.extended.read_var(v))
Done_device_strategy.py418 def read_var(self, replica_local_var): member in OneDeviceExtended
Dcollective_all_reduce_strategy_test.py156 fetched = d.extended.read_var(v)
164 after_list.append(d.extended.read_var(v))
Dmirrored_strategy_test.py980 distribution.extended.read_var(sync_on_read_var)))
989 distribution.extended.read_var(sync_on_read_var)))
1007 distribution.extended.read_var(sync_on_read_var)))
1013 distribution.extended.read_var(sync_on_read_var)))
Dvalues_util.py73 return strategy.extended.read_var(var)
Dparameter_server_strategy_test.py485 fetched = d.extended.read_var(v)
493 after_list.append(d.extended.read_var(v))
Dparameter_server_strategy.py589 def read_var(self, var): member in ParameterServerStrategyExtended
Ddistribute_lib.py2779 def read_var(self, v): member in StrategyExtendedV1
3489 def read_var(self, replica_local_var): member in _DefaultDistributionExtended
Dmirrored_strategy.py787 def read_var(self, replica_local_var): member in MirroredExtended
Dtpu_strategy.py1300 def read_var(self, var): member in TPUExtended
/external/python/cpython2/Misc/NEWS.d/next/Tools-Demos/
D2018-06-14-16-16-53.bpo-32962.2YfdwI.rst1 python-gdb now catchs ValueError on read_var(): when Python has no debug
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dinitialize_variables.cc90 if (auto read_var = llvm::dyn_cast_or_null<TF::ReadVariableOp>(op)) in GetGlobalTensorOp() local
91 return GetGlobalTensor<TF::ReadVariableOp>(symbol_table, read_var, func); in GetGlobalTensorOp()
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c175 static void read_var(int len) in read_var() function
248 read_var(len); in trigger_tests()
/external/skia/tools/gdb/
Dbitmap.py53 val = frame.read_var(arg)
/external/skqp/tools/gdb/
Dbitmap.py53 val = frame.read_var(arg)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.-strategy-extended.pbtxt67 name: "read_var"
/external/python/cpython2/Tools/gdb/
Dlibpython.py1372 func = frame.read_var(arg_name)
1383 func = frame.read_var(arg_name)
1408 f = self._gdbframe.read_var('f')
1418 f = caller.read_var('f')
/external/python/cpython3/Tools/gdb/
Dlibpython.py1578 func = frame.read_var(arg_name)
1589 func = frame.read_var(arg_name)
1613 f = self._gdbframe.read_var('f')
1623 f = caller.read_var('f')
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py222 def read_var(): function
241 arg_attrs = read_var.get_concrete_function().function_def.arg_attr
248 self.assertAllEqual(read_var(), (1 + 5, 2 + 5, 3 + 6, 4 + 6))

12