Home
last modified time | relevance | path

Searched refs:result_t (Results 1 – 24 of 24) sorted by relevance

/external/zstd/tests/regression/
Dresult.h42 } result_t; typedef
47 static result_t result_error(result_error_t error);
51 static result_t result_data(result_data_t data);
56 static int result_is_error(result_t result);
60 static int result_is_skip(result_t result);
64 static result_error_t result_get_error(result_t result);
68 static result_data_t result_get_data(result_t result);
70 static result_t result_error(result_error_t error) { in result_error()
71 result_t result = { in result_error()
77 static result_t result_data(result_data_t data) { in result_data()
[all …]
Dmethod.c94 static result_t simple_compress(method_state_t* base, config_t const* config) { in simple_compress()
141 static result_t compress_cctx_compress( in compress_cctx_compress()
164 result_t result; in compress_cctx_compress()
253 static result_t cli_compress(method_state_t* state, config_t const* config) { in cli_compress()
324 static result_t advanced_one_pass_compress_output_adjustment( in advanced_one_pass_compress_output_adjustment()
334 result_t result; in advanced_one_pass_compress_output_adjustment()
370 static result_t advanced_one_pass_compress( in advanced_one_pass_compress()
376 static result_t advanced_one_pass_compress_small_output( in advanced_one_pass_compress_small_output()
382 static result_t advanced_streaming_compress( in advanced_streaming_compress()
391 result_t result; in advanced_streaming_compress()
[all …]
Dresult.c13 char const* result_get_error_string(result_t result) { in result_get_error_string()
Dmethod.h48 result_t (*compress)(method_state_t* state, config_t const* config);
Dtest.c266 result_t const result = in run_all()
/external/abseil-cpp/absl/random/
Ddistribution_format_traits.h95 using result_t = typename distribution_t::result_type;
106 static std::string FormatResults(absl::Span<const result_t> results) {
114 using result_t = typename distribution_t::result_type;
124 static std::string FormatResults(absl::Span<const result_t> results) {
132 using result_t = typename distribution_t::result_type;
142 static std::string FormatResults(absl::Span<const result_t> results) {
150 using result_t = typename distribution_t::result_type;
160 static std::string FormatResults(absl::Span<const result_t> results) {
168 using result_t = typename distribution_t::result_type;
176 static std::string FormatResults(absl::Span<const result_t> results) {
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/
Ddistribution_format_traits.h95 using result_t = typename distribution_t::result_type;
106 static std::string FormatResults(absl::Span<const result_t> results) {
114 using result_t = typename distribution_t::result_type;
124 static std::string FormatResults(absl::Span<const result_t> results) {
132 using result_t = typename distribution_t::result_type;
142 static std::string FormatResults(absl::Span<const result_t> results) {
150 using result_t = typename distribution_t::result_type;
160 static std::string FormatResults(absl::Span<const result_t> results) {
168 using result_t = typename distribution_t::result_type;
176 static std::string FormatResults(absl::Span<const result_t> results) {
[all …]
/external/tensorflow/tensorflow/python/keras/
Dmetrics_test.py88 result_t = m(100, sample_weight=0.5)
89 self.assertEqual(self.evaluate(result_t), 50)
93 result_t = m([1, 5], sample_weight=[1, 0.2])
94 result = self.evaluate(result_t)
99 result_t = m([1, 2], sample_weight=0.5)
100 self.assertAlmostEqual(self.evaluate(result_t), 53.5, 1) # 52 + 0.5 + 1
104 result_t = m([1, 5], sample_weight=[[1], [0.2]])
105 self.assertAlmostEqual(self.evaluate(result_t), 55.5, 1) # 53.5 + 1 + 1
109 result_t = m([[1], [5]], sample_weight=[1, 0.2])
110 self.assertAlmostEqual(self.evaluate(result_t), 57.5, 2) # 55.5 + 1 + 1
[all …]
Dmetrics.py224 result_t = self.result() # pylint: disable=not-callable
234 result_t._metric_obj = self # pylint: disable=protected-access
235 return result_t
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_array_ops.py161 result_t = val
163 if not isinstance(result_t, ops.Tensor):
165 dtype = np_utils.result_type(result_t)
178 result_t = np_arrays.convert_to_tensor(result_t, dtype_hint=dtype)
179 result_t = math_ops.cast(result_t, dtype=dtype)
181 result_t = math_ops.cast(result_t, dtype)
184 result_t = array_ops.identity(result_t)
187 return result_t
189 ndims = array_ops.rank(result_t)
192 old_shape = array_ops.shape(result_t)
[all …]
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py121 result_t = array_ops.identity(result_fn(*args))
141 result_t = replica_context.merge_call(
147 metric_obj._call_result = result_t
148 return result_t
/external/tensorflow/tensorflow/python/ops/
Dgradients_test.py960 result_t = func(input_t)
962 [input_t], [result_t])
976 result_t = func(input_t)
978 [input_t], [result_t])
991 result_t = func(input_t)
993 [input_t], [result_t])
1005 result_t = func(input_t)
1007 [input_t], [result_t])
1022 result_t = _Func(input_t)
1024 [input_t], [result_t])
[all …]
/external/tensorflow/tensorflow/c/eager/
Dc_api_unified_experimental_test.cc93 TFE_TensorHandle* result_t = in TEST_P() local
96 TF_Tensor* result_tensor = TFE_TensorHandleResolve(result_t, status.get()); in TEST_P()
158 TFE_TensorHandle* result_t = in TEST_P() local
161 TF_Tensor* result_tensor = TFE_TensorHandleResolve(result_t, status.get()); in TEST_P()
240 TFE_TensorHandle* result_t = in TEST_P() local
244 TF_Tensor* result_tensor = TFE_TensorHandleResolve(result_t, status.get()); in TEST_P()
326 TFE_TensorHandle* result_t = in TEST_P() local
330 TF_Tensor* result_tensor = TFE_TensorHandleResolve(result_t, status.get()); in TEST_P()
Dunified_api_testutil.cc179 TFE_TensorHandle* result_t = in GetValue() local
182 *result_tensor = TFE_TensorHandleResolve(result_t, status.get()); in GetValue()
Dgradients_util.cc133 TFE_TensorHandle* result_t = in GetValue() local
136 *result_tensor = TFE_TensorHandleResolve(result_t, status.get()); in GetValue()
/external/llvm-project/llvm/unittests/ADT/
DTypeTraitsTest.cpp22 std::is_same<typename function_traits<CallableT>::result_t, bool>::value,
/external/mtools/
Dvfat.c524 typedef enum result_t { enum
529 } result_t; typedef
537 static result_t checkNameForMatch(struct direntry_t *direntry, in checkNameForMatch()
613 result_t result; in vfat_lookup()
/external/google-fruit/include/fruit/impl/normalized_component_storage/
Dbinding_normalization.templates.h560 using result_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>; in performBindingCompression() local
561 result_t result = result_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in performBindingCompression()
/external/llvm-project/clang/test/SemaOpenCL/
Dintel-subgroup-avc-ext-types.cl29 intel_sub_group_avc_ime_result_t result_ime = 1; // No literal initializer for *result_t types
/external/tensorflow/tensorflow/core/kernels/
Dlist_kernels.h987 auto result_t = result->vec<Variant>(); in Compute() local
991 result_t(b) = tl_batch[b]->Copy(); in Compute()
993 TensorList* output = result_t(b).get<TensorList>(); in Compute()
/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp549 typename llvm::function_traits<CallbackT>::result_t,
560 typename llvm::function_traits<CallbackT>::result_t,
/external/tensorflow/tensorflow/python/kernel_tests/
Dfunctional_ops_test.py398 result_t = functional_ops.scan(lambda a, x: a + x, x_t, infer_shape=False)
401 result_t_grad = gradients_impl.gradients(result_t, [x_t])[0]
404 sess.run([result, result_t, result_grad, result_t_grad],
Dlist_ops_test.py1220 result_t = list_ops.tensor_list_stack(result, element_dtype=dtypes.float32)
1221 self.assertAllEqual(self.evaluate(result_t), [9., 12.])
/external/llvm-project/llvm/include/llvm/ADT/
DSTLExtras.h127 using result_t = ReturnType;
144 using result_t = ReturnType;