Home
last modified time | relevance | path

Searched refs:const_array (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Didentify_nearest_upsample.cc106 Array& const_array = IsConstantParameterArray(*model, lhs) in Run() local
115 if (!const_array.has_shape() || !nonconst_array.has_shape() || in Run()
122 if (const_array.shape().dimensions_count() != in Run()
127 if (const_array.data_type == ArrayDataType::kFloat) { in Run()
128 if (!HasSameValues<ArrayDataType::kFloat, float>(const_array, 1)) in Run()
130 } else if (const_array.data_type == ArrayDataType::kInt32) { in Run()
131 if (!HasSameValues<ArrayDataType::kInt32, int>(const_array, 1)) in Run()
133 } else if (const_array.data_type == ArrayDataType::kInt8) { in Run()
134 if (!HasSameValues<ArrayDataType::kInt8, int8_t>(const_array, 127)) in Run()
136 } else if (const_array.data_type == ArrayDataType::kUint8) { in Run()
[all …]
Dpropagate_activation_function_into_constants.cc77 auto& const_array = model->GetArray(src_op_input); in Run() local
78 if (const_array.data_type != ArrayDataType::kFloat) { in Run()
86 const_array.GetMutableBuffer<ArrayDataType::kFloat>().data; in Run()
/external/autotest/client/site_tests/platform_LowMemoryTest/
Dmain.js13 let const_array = new Float64Array(const_count);
14 for (let i = 0; i < const_array.length; i++) {
15 const_array[i] = 1;
17 return [random_array, const_array];
/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Darray.pass.cpp39 typedef const char const_array[3]; typedef
47 test_array<const_array>(); in main()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Darray.pass.cpp38 typedef const char const_array[3]; typedef
46 test_array<const_array>(); in main()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Darray.pass.cpp48 typedef const char const_array[3]; typedef
55 test_array<const_array>(); in main()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Darray.pass.cpp47 typedef const char const_array[3]; typedef
54 test_array<const_array>(); in main()
/external/llvm-project/clang/test/CodeGenCUDA/
Ddevice-var-init.cu287 static const int const_array[] = {1, 2, 3, 4, 5}; in df() local
/external/llvm/test/Transforms/InstCombine/
Daddrspacecast.ll116 @const_array = addrspace(2) constant [60 x i8] [i8 2, i8 9, i8 4, i8 22, i8 2, i8 9, i8 4, i8 22, i…
130 …rspace(2)* getelementptr inbounds ([60 x i8], [60 x i8] addrspace(2)* @const_array, i16 0, i16 4) …
/external/llvm-project/llvm/test/Transforms/InstCombine/
Daddrspacecast.ll116 @const_array = addrspace(2) constant [60 x i8] [i8 2, i8 9, i8 4, i8 22, i8 2, i8 9, i8 4, i8 22, i…
130 …rspace(2)* getelementptr inbounds ([60 x i8], [60 x i8] addrspace(2)* @const_array, i16 0, i16 4) …
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcpu_gpu_fusion_test.cc311 auto const_array = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() local
314 HloInstruction::CreateBroadcast(const_array->shape(), const_vector, {1})); in XLA_TEST_F()
320 HloOpcode::kAdd, broadcast, const_array)); in XLA_TEST_F()
/external/llvm/test/Bindings/OCaml/
Dcore.ml202 (* CHECK: const_array{{.*}}[i32 3, i32 4]
205 let c = const_array i32_type [| three; four |] in
206 ignore (define_global "const_array" c m);
1171 add_clause lp (const_array ety [| ztipkc; ztid |]);
/external/llvm-project/llvm/test/Bindings/OCaml/
Dcore.ml212 (* CHECK: const_array{{.*}}[i32 3, i32 4]
215 let c = const_array i32_type [| three; four |] in
216 ignore (define_global "const_array" c m);
1247 add_clause lp (const_array ety [| ztipkc; ztid |]);
/external/libcppbor/tests/
Dcppbor_test.cpp1784 const Array& const_array = array; in TEST() local
1785 EXPECT_EQ(const_array.begin(), const_array.end()); in TEST()
/external/llvm/bindings/ocaml/llvm/
Dllvm.ml510 external const_array : lltype -> llvalue array -> llvalue = "llvm_const_array"
Dllvm.mli919 (** [const_array ty elts] returns the constant array of type
923 val const_array : lltype -> llvalue array -> llvalue val
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm.ml592 external const_array : lltype -> llvalue array -> llvalue = "llvm_const_array"
Dllvm.mli970 (** [const_array ty elts] returns the constant array of type
974 val const_array : lltype -> llvalue array -> llvalue val