Home
last modified time | relevance | path

Searched refs:second_value (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dmixup_batch_op.cc64 int64_t first_value, second_value; in ComputeLabels() local
66 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabels()
67 …URN_IF_NOT_OK((*out_labels)->SetItemAt(first_index, lam * first_value + (1 - lam) * second_value)); in ComputeLabels()
69 uint64_t first_value, second_value; in ComputeLabels() local
71 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabels()
72 …URN_IF_NOT_OK((*out_labels)->SetItemAt(first_index, lam * first_value + (1 - lam) * second_value)); in ComputeLabels()
Dcutmix_batch_op.cc166 int64_t first_value, second_value; in ComputeLabel() local
168 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabel()
170 … (*out_labels)->SetItemAt(first_index, label_lam * first_value + (1 - label_lam) * second_value)); in ComputeLabel()
172 uint64_t first_value, second_value; in ComputeLabel() local
174 RETURN_IF_NOT_OK(input.at(1)->GetItemAt(&second_value, second_index)); in ComputeLabel()
176 … (*out_labels)->SetItemAt(first_index, label_lam * first_value + (1 - label_lam) * second_value)); in ComputeLabel()
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types.py158 second_value = time_value
161 second_value = time_value[:point_position]
163 if 't' in second_value:
166 'lowercase \'t\' is not accepted'.format(second_value))
167 date_object = datetime.strptime(second_value, _TIMESTAMPFOMAT)
/third_party/mesa3d/src/compiler/nir/tests/
Dvars_tests.cpp449 nir_ssa_def *second_value = nir_imm_ivec2(b, 30, 40); in TEST_F() local
450 nir_store_var(b, v[0], second_value, mask); in TEST_F()
468 EXPECT_EQ(store_to_v1->src[1].ssa, second_value); in TEST_F()
478 nir_ssa_def *second_value = nir_imm_ivec2(b, 30, 40); in TEST_F() local
479 nir_store_var(b, v[0], second_value, 1 << 0); in TEST_F()
514 nir_ssa_def *second_value = nir_imm_ivec2(b, 30, 40); in TEST_F() local
515 nir_store_var(b, v[0], second_value, 1 << 0); in TEST_F()
551 nir_ssa_def *second_value = nir_imm_ivec2(b, 30, 40); in TEST_F() local
552 nir_store_var_volatile(b, v[0], second_value, mask); in TEST_F()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-value.c271 ecma_value_t second_value) /**< second ecma value */ in ecma_are_values_integer_numbers() argument
276 return ((first_value | second_value) & ECMA_DIRECT_TYPE_MASK) == ECMA_DIRECT_TYPE_INTEGER_VALUE; in ecma_are_values_integer_numbers()
Decma-helpers.h227 …Y_ATTR_CONST ecma_are_values_integer_numbers (ecma_value_t first_value, ecma_value_t second_value);