Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/kernel_tests/
Ddense_update_ops_test.py65 var_value, op_value = self._initAssignFetch(x, y, use_gpu=False)
66 self.assertAllEqual(y, var_value)
68 var_value, op_value = self._initAssignAddFetch(x, y, use_gpu=False)
69 self.assertAllEqual(x + y, var_value)
71 var_value, op_value = self._initAssignSubFetch(x, y, use_gpu=False)
72 self.assertAllEqual(x - y, var_value)
75 var_value, op_value = self._initAssignFetch(x, y, use_gpu=True)
76 self.assertAllEqual(y, var_value)
78 var_value, op_value = self._initAssignAddFetch(x, y, use_gpu=True)
79 self.assertAllEqual(x + y, var_value)
[all …]
/external/llvm-project/lldb/source/Commands/
DCommandObjectSettings.cpp206 llvm::StringRef var_value(command); in DoExecute() local
207 var_value = var_value.split(var_name).second.ltrim(); in DoExecute()
212 var_name, var_value); in DoExecute()
223 var_name, var_value); in DoExecute()
641 llvm::StringRef var_value(command); in DoExecute() local
642 var_value = var_value.split(var_name).second.trim(); in DoExecute()
645 &m_exe_ctx, eVarSetOperationRemove, var_name, var_value)); in DoExecute()
737 llvm::StringRef var_value(command); in DoExecute() local
738 var_value = var_value.split(var_name).second.trim(); in DoExecute()
741 &m_exe_ctx, eVarSetOperationReplace, var_name, var_value)); in DoExecute()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dquantized_batch_norm_op.cc60 const float var_value = in ReferenceBatchNorm() local
69 sqrtf(var_value + variance_epsilon)) * in ReferenceBatchNorm()
74 sqrtf(var_value + variance_epsilon)) + in ReferenceBatchNorm()
125 const float var_value = in FixedPointBatchNorm() local
133 scale_value = (1.0f / sqrtf(var_value + variance_epsilon)) * gamma_value; in FixedPointBatchNorm()
135 scale_value = (1.0f / sqrtf(var_value + variance_epsilon)); in FixedPointBatchNorm()
/external/tensorflow/tensorflow/c/eager/
Dcustom_device_test.cc154 TFE_TensorHandle* var_value = nullptr; in TEST() local
155 TFE_Execute(op.get(), &var_value, &num_retvals, status.get()); in TEST()
159 [var_value]() { TFE_DeleteTensorHandle(var_value); }); in TEST()
162 TFE_TensorHandleBackingDeviceName(var_value, status.get()))); in TEST()
164 UnpackTensorHandle(var_value, status.get()); in TEST()
239 TFE_TensorHandle* var_value = nullptr; in TEST() local
240 TFE_Execute(op.get(), &var_value, &num_retvals, status.get()); in TEST()
245 tensorflow::string(TFE_TensorHandleDeviceName(var_value, status.get()))); in TEST()
246 TFE_DeleteTensorHandle(var_value); in TEST()
/external/libchrome/base/
Denvironment_unittest.cc79 std::string var_value; in TEST_F() local
80 EXPECT_TRUE(env->GetVar(kFooUpper, &var_value)); in TEST_F()
81 EXPECT_EQ(var_value, kFooLower); in TEST_F()
/external/tensorflow/tensorflow/python/tools/
Doptimize_for_inference_lib.py306 var_value = values_from_const(var_op)
307 if var_value.shape != (channel_count,):
309 " for node %s" % (str(var_value.shape), str(
350 (1.0 / np.vectorize(math.sqrt)(var_value + variance_epsilon_value)) *
354 1.0 / np.vectorize(math.sqrt)(var_value + variance_epsilon_value))
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dvariable_ops.cc163 xla::XlaOp var_value; in Compile() local
165 context, context->ReadVariableInput(0, dtype, &var_shape, &var_value)); in Compile()
170 auto result = XlaScatter(var_value, updates, indices, indices_are_vectors_, in Compile()
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device_testlib.cc90 TFE_TensorHandle* var_value = nullptr; in Read() local
91 TFE_Execute(op.get(), &var_value, &num_retvals, status); in Read()
93 return TensorHandlePtr(var_value); in Read()
/external/webrtc/third_party/abseil-cpp/absl/flags/
Dparse.cc208 bool GetEnvVar(const char* var_name, std::string* var_value) { in GetEnvVar() argument
220 *var_value = std::string(buf, get_res); in GetEnvVar()
227 *var_value = val; in GetEnvVar()
/external/abseil-cpp/absl/flags/
Dparse.cc208 bool GetEnvVar(const char* var_name, std::string* var_value) { in GetEnvVar() argument
220 *var_value = std::string(buf, get_res); in GetEnvVar()
227 *var_value = val; in GetEnvVar()
/external/libtextclassifier/abseil-cpp/absl/flags/
Dparse.cc226 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() argument
238 var_value = std::string(buf, get_res); in GetEnvVar()
245 var_value = val; in GetEnvVar()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/
Dparse.cc226 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() argument
238 var_value = std::string(buf, get_res); in GetEnvVar()
245 var_value = val; in GetEnvVar()
/external/openscreen/third_party/abseil/src/absl/flags/
Dparse.cc226 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() argument
238 var_value = std::string(buf, get_res); in GetEnvVar()
245 var_value = val; in GetEnvVar()
/external/angle/third_party/abseil-cpp/absl/flags/
Dparse.cc226 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() argument
238 var_value = std::string(buf, get_res); in GetEnvVar()
245 var_value = val; in GetEnvVar()
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py84 def ShrinkToSnippet(cmd_parts, var_name, var_value): argument
99 parts = (x and SingleQuote(x) for x in value.split(var_value))
/external/scrypt/
Dimport_scrypt.sh187 var_value() { function
/external/libcap-ng/libcap-ng-0.7/
Dltmain.sh9010 elif eval var_value=\$$var; test -z "$var_value"; then
9013 func_quote_for_eval "$var_value"
9253 elif eval var_value=\$$var; test -z "$var_value"; then
9256 func_quote_for_eval "$var_value"
/external/lmfit/build-aux/
Dltmain.sh9016 elif eval var_value=\$$var; test -z "$var_value"; then
9019 func_quote_for_eval "$var_value"
9259 elif eval var_value=\$$var; test -z "$var_value"; then
9262 func_quote_for_eval "$var_value"
/external/libnfnetlink/build-aux/
Dltmain.sh9016 elif eval var_value=\$$var; test -z "$var_value"; then
9019 func_quote_for_eval "$var_value"
9259 elif eval var_value=\$$var; test -z "$var_value"; then
9262 func_quote_for_eval "$var_value"
/external/llvm-project/polly/lib/External/ppcg/
Dltmain.sh9016 elif eval var_value=\$$var; test -z "$var_value"; then
9019 func_quote_for_eval "$var_value"
9259 elif eval var_value=\$$var; test -z "$var_value"; then
9262 func_quote_for_eval "$var_value"
/external/libnetfilter_conntrack/
Dltmain.sh7795 elif eval var_value=\$$var; test -z "$var_value"; then
7798 func_quote_for_eval "$var_value"
8037 elif eval var_value=\$$var; test -z "$var_value"; then
8040 func_quote_for_eval "$var_value"
/external/speex/
Dltmain.sh9016 elif eval var_value=\$$var; test -z "$var_value"; then
9019 func_quote_for_eval "$var_value"
9259 elif eval var_value=\$$var; test -z "$var_value"; then
9262 func_quote_for_eval "$var_value"
/external/libexif/
Dltmain.sh9014 elif eval var_value=\$$var; test -z "$var_value"; then
9017 func_quote_for_eval "$var_value"
9255 elif eval var_value=\$$var; test -z "$var_value"; then
9258 func_quote_for_eval "$var_value"
/external/libnetfilter_conntrack/build-aux/
Dltmain.sh9016 elif eval var_value=\$$var; test -z "$var_value"; then
9019 func_quote_for_eval "$var_value"
9259 elif eval var_value=\$$var; test -z "$var_value"; then
9262 func_quote_for_eval "$var_value"
/external/google-breakpad/autotools/
Dltmain.sh7788 elif eval var_value=\$$var; test -z "$var_value"; then
7791 func_quote_for_eval "$var_value"
8030 elif eval var_value=\$$var; test -z "$var_value"; then
8033 func_quote_for_eval "$var_value"

12