Home
last modified time | relevance | path

Searched refs:CHECK_EQ (Results 1 – 25 of 722) sorted by relevance

12345678910>>...29

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_list_test.cc37 CHECK_EQ(l->front(), i1); in CheckList()
41 CHECK_EQ(l->front(), i2); in CheckList()
45 CHECK_EQ(l->front(), i3); in CheckList()
49 CHECK_EQ(l->front(), i4); in CheckList()
53 CHECK_EQ(l->front(), i5); in CheckList()
57 CHECK_EQ(l->front(), i6); in CheckList()
65 CHECK_EQ(static_list.size(), 0); in TEST()
77 CHECK_EQ(l.size(), 0); in TEST()
79 CHECK_EQ(l.size(), 1); in TEST()
80 CHECK_EQ(l.back(), x); in TEST()
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dmanual_constructor_test.cc48 CHECK_EQ(sizeof(ManualConstructor<Test1>), sizeof(Test1)); in TEST()
49 CHECK_EQ(sizeof(ManualConstructor<Test2>), sizeof(Test2)); in TEST()
50 CHECK_EQ(sizeof(ManualConstructor<Test3>), sizeof(Test3)); in TEST()
51 CHECK_EQ(sizeof(ManualConstructor<Test4>), sizeof(Test4)); in TEST()
52 CHECK_EQ(sizeof(ManualConstructor<Test5>), sizeof(Test5)); in TEST()
53 CHECK_EQ(sizeof(ManualConstructor<Test9>), sizeof(Test9)); in TEST()
54 CHECK_EQ(sizeof(ManualConstructor<Test15>), sizeof(Test15)); in TEST()
56 CHECK_EQ(constructor_count_, 0); in TEST()
58 CHECK_EQ(sizeof(mt), 4); in TEST()
59 CHECK_EQ(constructor_count_, 0); in TEST()
[all …]
/external/tensorflow/tensorflow/c/eager/
Dc_api_test_util.cc30 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle()
42 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle()
54 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle()
68 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in DoubleTestMatrixTensorHandle()
82 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle()
100 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle100x100()
114 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in DoubleTestMatrixTensorHandle3X2()
128 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle3X2()
138 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp()
140 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp()
[all …]
Dc_api_test.cc44 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp()
56 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp()
68 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute()
78 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute()
90 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute()
103 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute_Identity()
113 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute_Identity()
125 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute_Identity()
464 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in SetAndGetOpDevices()
598 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in Execute_MatMul_CPU()
[all …]
/external/libbrillo/brillo/
Dasynchronous_signal_handler.cc25 CHECK_EQ(sigemptyset(&signal_mask_), 0) << "Failed to initialize signal mask"; in AsynchronousSignalHandler()
26 CHECK_EQ(sigemptyset(&saved_signal_mask_), 0) in AsynchronousSignalHandler()
38 CHECK_EQ(0, sigprocmask(SIG_SETMASK, &saved_signal_mask_, nullptr)); in ~AsynchronousSignalHandler()
43 CHECK_EQ(kInvalidDescriptor, descriptor_); in Init()
44 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, &saved_signal_mask_)); in Init()
62 CHECK_EQ(0, sigaddset(&signal_mask_, signal)); in RegisterHandler()
95 CHECK_EQ(0, sigdelset(&signal_mask_, signal)); in ResetSignal()
101 CHECK_EQ(0, sigprocmask(SIG_SETMASK, &saved_signal_mask_, nullptr)); in UpdateSignals()
102 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, nullptr)); in UpdateSignals()
103 CHECK_EQ(descriptor_, in UpdateSignals()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_aot_test_helper.cc94 CHECK_EQ(result->result_buffer_index(), 1); in main()
95 CHECK_EQ(result->buffer_infos().size(), 3); in main()
97 CHECK_EQ(result->buffer_infos()[1].size(), sizeof(float)); // result buffer in main()
101 CHECK_EQ(result->object_file_data()[0], 0x7F); in main()
102 CHECK_EQ(result->object_file_data()[1], 'E'); in main()
103 CHECK_EQ(result->object_file_data()[2], 'L'); in main()
104 CHECK_EQ(result->object_file_data()[3], 'F'); in main()
106 CHECK_EQ(result->object_file_data()[4], triple.isArch32Bit() ? 1 : 2); in main()
108 CHECK_EQ(result->object_file_data()[5], triple.isLittleEndian() ? 1 : 2); in main()
110 CHECK_EQ(result->object_file_data()[6], 1); in main()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Didentify_dilated_conv.cc68 CHECK_EQ(conv_op->outputs.size(), 1); in ResolveDilatedConv()
80 CHECK_EQ(post_conv_op->inputs.size(), 1); in ResolveDilatedConv()
81 CHECK_EQ(post_conv_op->outputs.size(), 1); in ResolveDilatedConv()
91 CHECK_EQ(pad_op->inputs.size(), 2); in ResolveDilatedConv()
92 CHECK_EQ(pad_op->outputs.size(), 1); in ResolveDilatedConv()
113 CHECK_EQ(bts_op->inputs.size(), 3); in ResolveDilatedConv()
114 CHECK_EQ(bts_op->outputs.size(), 1); in ResolveDilatedConv()
122 CHECK_EQ(bias_add_op->inputs.size(), 2); in ResolveDilatedConv()
123 CHECK_EQ(bias_add_op->outputs.size(), 1); in ResolveDilatedConv()
185 CHECK_EQ(stb_op->outputs.size(), 1); in Run()
[all …]
Dpropagate_array_data_types.cc110 CHECK_EQ(op->outputs.size(), 1); in Run()
117 CHECK_EQ(op->outputs.size(), 1); in Run()
124 CHECK_EQ(op->outputs.size(), 1); in Run()
141 CHECK_EQ(op->outputs.size(), 1); in Run()
151 CHECK_EQ(op->outputs.size(), 1); in Run()
157 CHECK_EQ(op->inputs.size(), 2); in Run()
158 CHECK_EQ(op->outputs.size(), 2); in Run()
186 CHECK_EQ(op->inputs.size(), 3); in Run()
197 CHECK_EQ(op->inputs.size(), 4); in Run()
206 CHECK_EQ(op->inputs.size(), 2); in Run()
[all …]
Dpropagate_fixed_sizes.cc118 CHECK_EQ(dim_x, dim_y) << "Dimensions must match"; in ComputeBinaryOperatorOutputSize()
142 CHECK_EQ(weights_shape.dimensions_count(), 4); in ProcessConvOperator()
153 CHECK_EQ(output_array.shape().dimensions_count(), 4); in ProcessConvOperator()
204 CHECK_EQ(weights_shape.dimensions_count(), 4) in ProcessTransposeConvOperator()
231 CHECK_EQ(input_shape.dimensions_count(), 4) in ProcessTransposeConvOperator()
235 CHECK_EQ(input_shape.dims(3), weights_shape.dims(3)) in ProcessTransposeConvOperator()
261 CHECK_EQ(input_shape.dimensions_count(), 4); in ProcessDepthwiseConvOperator()
269 CHECK_EQ(weights_shape.dimensions_count(), 4); in ProcessDepthwiseConvOperator()
284 CHECK_EQ(output_depth, input_depth * op->depth_multiplier) in ProcessDepthwiseConvOperator()
303 CHECK_EQ(input_shape.dimensions_count(), 4); in ProcessDepthToSpaceOperator()
[all …]
Dresolve_constant_range.cc39 CHECK_EQ(std::floor((limit - start) / delta), buffer.data.size()); in FillRangeOutput()
40 CHECK_EQ(buffer.data.size(), output_array->shape().dims()[0]); in FillRangeOutput()
54 CHECK_EQ(op->inputs.size(), 3); in Run()
78 CHECK_EQ(op->outputs.size(), 1); in Run()
85 CHECK_EQ(RequiredBufferSizeForShape(start_array.shape()), 1) in Run()
87 CHECK_EQ(RequiredBufferSizeForShape(limit_array.shape()), 1) in Run()
89 CHECK_EQ(RequiredBufferSizeForShape(delta_array.shape()), 1) in Run()
/external/libchrome/mojo/core/
Dmultiprocess_message_pipe_unittest.cc142 CHECK_EQ(result, MOJO_RESULT_FAILED_PRECONDITION); in DEFINE_TEST_CLIENT_WITH_PIPE()
143 CHECK_EQ(hss.satisfied_signals, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT_WITH_PIPE()
144 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT_WITH_PIPE()
153 CHECK_EQ(MojoReadMessage(h, &read_buffer[0], &read_buffer_size, nullptr, 0, in DEFINE_TEST_CLIENT_WITH_PIPE()
165 CHECK_EQ(MojoWriteMessage(h, write_buffer.data(), in DEFINE_TEST_CLIENT_WITH_PIPE()
193 CHECK_EQ(MojoReadMessage(h, &read_buffer[0], &read_buffer_size, nullptr, 0, in TEST_P()
201 CHECK_EQ(MojoWriteMessage(h, quitquitquit.data(), in TEST_P()
262 CHECK_EQ(WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss), in DEFINE_TEST_CLIENT_WITH_PIPE()
274 CHECK_EQ(MojoReadMessage(h, &read_buffer[0], &num_bytes, &handles[0], in DEFINE_TEST_CLIENT_WITH_PIPE()
278 CHECK_EQ(read_buffer, std::string("go 1")); in DEFINE_TEST_CLIENT_WITH_PIPE()
[all …]
Dmessage_pipe_perftest.cc44 CHECK_EQ( in WriteWaitThenRead()
49 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE, &hss), in WriteWaitThenRead()
51 CHECK_EQ(ReadMessageRaw(MessagePipeHandle(mp), &read_buffer_, nullptr, in WriteWaitThenRead()
54 CHECK_EQ(read_buffer_.size(), payload_.size()); in WriteWaitThenRead()
58 CHECK_EQ(WriteMessageRaw(MessagePipeHandle(mp), "", 0, nullptr, 0, in SendQuitMessage()
104 CHECK_EQ(ReadMessageRaw(MessagePipeHandle(mp), &buffer, nullptr, in RunPingPongClient()
112 CHECK_EQ( in RunPingPongClient()
/external/v8/src/codegen/
Dexternal-reference-table.cc92 CHECK_EQ(kSize, index); in BUILTIN_LIST_C()
113 CHECK_EQ(kSpecialReferenceCount, *index); in AddReferences()
125 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount, *index); in AddReferences()
129 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount, *index); in AddBuiltins()
140 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount + in AddBuiltins()
146 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount + in AddRuntimeFunctions()
160 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount + in AddRuntimeFunctions()
166 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount + in AddIsolateAddresses()
174 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount + in AddIsolateAddresses()
181 CHECK_EQ(kSpecialReferenceCount + kExternalReferenceCount + in AddAccessors()
[all …]
/external/libchrome/mojo/core/test/
Dmojo_test_base.cc112 CHECK_EQ(WriteMessageRaw(MessagePipeHandle(mp), message.data(), in WriteMessageWithHandles()
128 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithHandles()
132 CHECK_EQ(MOJO_RESULT_OK, in ReadMessageWithHandles()
135 CHECK_EQ(expected_num_handles, handles.size()); in ReadMessageWithHandles()
145 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithOptionalHandle()
149 CHECK_EQ(MOJO_RESULT_OK, in ReadMessageWithOptionalHandle()
170 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessage()
174 CHECK_EQ(MOJO_RESULT_OK, in ReadMessage()
177 CHECK_EQ(0u, handles.size()); in ReadMessage()
178 CHECK_EQ(num_bytes, bytes.size()); in ReadMessage()
[all …]
/external/tensorflow/tensorflow/c/
Dc_api_experimental_test.cc91 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
105 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
131 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
133 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
141 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
143 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
160 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
183 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
185 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
213 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in ShapeInferenceTest()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_batchnorm_thunk.cc65 CHECK_EQ(hlo->operand(i)->shape().element_type(), operand_primitive_type) in CheckInputOutputPrimitivetypeAreValid()
69 CHECK_EQ(hlo->operand(i)->shape().element_type(), F32) in CheckInputOutputPrimitivetypeAreValid()
74 CHECK_EQ(hlo->operand(num_operands - 1)->shape().element_type(), S64) in CheckInputOutputPrimitivetypeAreValid()
79 CHECK_EQ(hlo->shape().tuple_shapes(0).element_type(), in CheckInputOutputPrimitivetypeAreValid()
84 CHECK_EQ(hlo->shape().tuple_shapes(j).element_type(), F32) in CheckInputOutputPrimitivetypeAreValid()
88 CHECK_EQ(hlo->shape().element_type(), operand_primitive_type) in CheckInputOutputPrimitivetypeAreValid()
109 CHECK_EQ(hlo->opcode(), HloOpcode::kCustomCall); in CudnnBatchNormForwardInferenceThunk()
110 CHECK_EQ(hlo->custom_call_target(), in CudnnBatchNormForwardInferenceThunk()
159 CHECK_EQ(hlo->opcode(), HloOpcode::kCustomCall); in CudnnBatchNormForwardTrainingThunk()
160 CHECK_EQ(hlo->custom_call_target(), kCudnnBatchNormForwardTrainingCallTarget); in CudnnBatchNormForwardTrainingThunk()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dparse_flags_from_env_test.cc56 CHECK_EQ(*pargc, 1) << msg; in TestParseFlagsFromEnv()
59 CHECK_EQ(argv_second[1], nullptr) << msg; in TestParseFlagsFromEnv()
62 CHECK_EQ(with_value, "a_value") << msg; in TestParseFlagsFromEnv()
63 CHECK_EQ(embedded_quotes, "single'double\"") << msg; in TestParseFlagsFromEnv()
64 CHECK_EQ(single_quoted, "single quoted \\\\ \n \"") << msg; in TestParseFlagsFromEnv()
65 CHECK_EQ(double_quoted, "double quoted \\ \n '\"") << msg; in TestParseFlagsFromEnv()
103 CHECK_EQ(ferror(fp), 0) << "writes failed to " << tmp_file; in TEST()
143 CHECK_EQ(child_status, 0) << "test " << i; in TEST()
144 CHECK_EQ(stdout_str, test[i].expected_value) << "test " << i; in TEST()
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc323 CHECK_EQ(cpdata1, cpdata2); in TEST()
332 CHECK_EQ(cptest, cpdata1); in TEST()
335 CHECK_EQ(cptest, cpdata2); in TEST()
349 CHECK_EQ(w, in_w); in TEST()
350 CHECK_EQ(h, in_h); in TEST()
351 CHECK_EQ(c, 3); in TEST()
369 CHECK_EQ(w, in_w); in TEST()
370 CHECK_EQ(h, in_h); in TEST()
371 CHECK_EQ(c, 3); in TEST()
376 CHECK_EQ(totalerr, 0); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_creation_utils_test.cc77 CHECK_EQ(result_literal, LiteralUtil::CreateR1<int32>({3, 4})); in TEST_F()
98 CHECK_EQ(result_literal, in TEST_F()
119 CHECK_EQ(result_literal, LiteralUtil::CreateR2<int32>({{9, 10}})); in TEST_F()
138 CHECK_EQ(result_literal, LiteralUtil::CreateR3<int32>({{{9, 10}}})); in TEST_F()
157 CHECK_EQ(result_literal, LiteralUtil::CreateR2<int32>({{9}})); in TEST_F()
177 CHECK_EQ(result_literal, in TEST_F()
198 CHECK_EQ(result_literal, LiteralUtil::CreateR1<int32>({0, 0, 0, 3, 4, 0})); in TEST_F()
217 CHECK_EQ(result_literal, LiteralUtil::CreateR2<int32>({{0, 0}, {0, 0}})); in TEST_F()
236 CHECK_EQ(result_literal, in TEST_F()
259 CHECK_EQ(result_literal, in TEST_F()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_linux.cc44 CHECK_EQ(*current_++, '-'); in Next()
46 CHECK_EQ(*current_++, ' '); in Next()
60 CHECK_EQ(*current_++, ' '); in Next()
62 CHECK_EQ(*current_++, ' '); in Next()
64 CHECK_EQ(*current_++, ':'); in Next()
66 CHECK_EQ(*current_++, ' '); in Next()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc150 CHECK_EQ(__interceptor_pthread_mutex_init((pthread_mutex_t*)mtx_, 0), 0); in Init()
153 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0); in Init()
156 CHECK_EQ(__interceptor_pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0); in Init()
173 CHECK_EQ(__interceptor_pthread_mutex_destroy((pthread_mutex_t*)mtx_), 0); in Destroy()
176 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0); in Destroy()
179 CHECK_EQ(__interceptor_pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0); in Destroy()
185 CHECK_EQ(__interceptor_pthread_mutex_lock((pthread_mutex_t*)mtx_), 0); in Lock()
188 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0); in Lock()
191 CHECK_EQ(__interceptor_pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_), 0); in Lock()
210 CHECK_EQ(__interceptor_pthread_mutex_unlock((pthread_mutex_t*)mtx_), 0); in Unlock()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_proc.cc35 CHECK_EQ(proc->thr, nullptr); in ProcDestroy()
48 CHECK_EQ(thr->proc1, nullptr); in ProcWire()
49 CHECK_EQ(proc->thr, nullptr); in ProcWire()
55 CHECK_EQ(thr->proc1, proc); in ProcUnwire()
56 CHECK_EQ(proc->thr, thr); in ProcUnwire()
/external/v8/src/diagnostics/
Dobjects-debug.cc376 CHECK_EQ(0, delta % JSObject::kFieldsAdded); in JSObjectVerify()
426 CHECK_EQ((map().has_fast_smi_or_object_elements() || in JSObjectVerify()
432 CHECK_EQ(map().has_fast_object_elements(), HasObjectElements()); in JSObjectVerify()
451 CHECK_EQ(NumberOfOwnDescriptors(), in MapVerify()
464 CHECK_EQ(NumberOfOwnDescriptors(), parent.NumberOfOwnDescriptors()); in MapVerify()
513 CHECK_EQ(kInvalidEnumCacheSentinel, EnumLength()); in DictionaryMapVerify()
514 CHECK_EQ(ReadOnlyRoots(isolate).empty_descriptor_array(), in DictionaryMapVerify()
516 CHECK_EQ(0, UnusedPropertyFields()); in DictionaryMapVerify()
517 CHECK_EQ(Map::GetVisitorId(*this), visitor_id()); in DictionaryMapVerify()
540 CHECK_EQ(*this, ReadOnlyRoots(isolate).empty_property_array()); in PropertyArrayVerify()
[all …]
/external/v8/src/compiler/
Dverifier.cc133 CHECK_EQ(node->op()->ControlOutputCount(), case_count + 1); in CheckSwitch()
150 CHECK_EQ(input_count, node->InputCount()); in Check()
256 CHECK_EQ(0, input_count); in Check()
263 CHECK_EQ(0, node->op()->ValueOutputCount()); in Check()
264 CHECK_EQ(0, node->op()->EffectOutputCount()); in Check()
265 CHECK_EQ(0, node->op()->ControlOutputCount()); in Check()
286 CHECK_EQ(IrOpcode::kDeadValue, use->opcode()); in Check()
299 CHECK_EQ(1, count_true); in Check()
300 CHECK_EQ(1, count_false); in Check()
309 CHECK_EQ(IrOpcode::kBranch, control->opcode()); in Check()
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc84 CHECK_EQ(attr.value_case(), AttrValue::kS); in GetStringAttr()
92 CHECK_EQ(attr.value_case(), AttrValue::kI); in GetIntAttr()
99 CHECK_EQ(attr.value_case(), AttrValue::kF); in GetFloatAttr()
106 CHECK_EQ(attr.value_case(), AttrValue::kB); in GetBoolAttr()
114 CHECK_EQ(attr.value_case(), AttrValue::kType); in GetDataTypeAttr()
122 CHECK_EQ(attr.value_case(), AttrValue::kShape); in GetShapeAttr()
129 CHECK_EQ(attr.value_case(), AttrValue::kTensor); in GetTensorAttr()
137 CHECK_EQ(attr.value_case(), AttrValue::kList); in GetListAttr()
365 CHECK_EQ(input_tensor.dtype(), DT_FLOAT); in ImportFloatArray()
383 CHECK_EQ(input_tensor.dtype(), DT_COMPLEX64); in ImportComplex64Array()
[all …]

12345678910>>...29