Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/kernel_tests/variables/
Ddense_update_ops_test.py59 var_value, op_value = self._initAssignFetch(x, y, use_gpu=False)
60 self.assertAllEqual(y, var_value)
62 var_value, op_value = self._initAssignAddFetch(x, y, use_gpu=False)
63 self.assertAllEqual(x + y, var_value)
65 var_value, op_value = self._initAssignSubFetch(x, y, use_gpu=False)
66 self.assertAllEqual(x - y, var_value)
69 var_value, op_value = self._initAssignFetch(x, y, use_gpu=True)
70 self.assertAllEqual(y, var_value)
72 var_value, op_value = self._initAssignAddFetch(x, y, use_gpu=True)
73 self.assertAllEqual(x + y, var_value)
[all …]
/external/cronet/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/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.py302 var_value = values_from_const(var_op)
303 if var_value.shape != (channel_count,):
305 " for node %s" % (str(var_value.shape), str(
346 (1.0 / np.vectorize(math.sqrt)(var_value + variance_epsilon_value)) *
350 1.0 / np.vectorize(math.sqrt)(var_value + variance_epsilon_value))
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dvariable_ops.cc179 xla::XlaOp var_value; in Compile() local
181 context, context->ReadVariableInput(0, dtype, &var_shape, &var_value)); in Compile()
192 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/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/swiftshader/third_party/SPIRV-Tools/test/opt/
Dspread_volatile_semantics_test.cpp148 const std::string var_value = tc.use_v4uint ? std::string(R"( in TEST_P() local
217 )") + var_value + std::string(R"( in TEST_P()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dspread_volatile_semantics_test.cpp147 const std::string var_value = tc.use_v4uint ? std::string(R"( in TEST_P() local
216 )") + var_value + std::string(R"( in TEST_P()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dspread_volatile_semantics_test.cpp148 const std::string var_value = tc.use_v4uint ? std::string(R"( in TEST_P() local
217 )") + var_value + std::string(R"( in TEST_P()
/external/webrtc/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/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/tensorflow/third_party/absl/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/cronet/third_party/abseil-cpp/absl/flags/
Dparse.cc236 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() argument
248 var_value = std::string(buf, get_res); in GetEnvVar()
255 var_value = val; in GetEnvVar()
/external/angle/third_party/abseil-cpp/absl/flags/
Dparse.cc240 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() argument
252 var_value = std::string(buf, get_res); in GetEnvVar()
259 var_value = val; in GetEnvVar()
/external/scrypt/
Dimport_scrypt.sh187 var_value() { function
/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/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/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/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"

12