Home
last modified time | relevance | path

Searched refs:source_array (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc1361 void CopyArrayAttribs(const Array& source_array, Array* target_array) { in CopyArrayAttribs() argument
1362 target_array->data_type = source_array.data_type; in CopyArrayAttribs()
1363 target_array->final_data_type = source_array.final_data_type; in CopyArrayAttribs()
1364 if (source_array.has_shape()) { in CopyArrayAttribs()
1365 target_array->copy_shape(source_array.shape()); in CopyArrayAttribs()
1368 if (source_array.minmax) { in CopyArrayAttribs()
1369 target_array->GetOrCreateMinMax() = source_array.GetMinMax(); in CopyArrayAttribs()
1374 if (source_array.quantization_params) { in CopyArrayAttribs()
1376 source_array.GetQuantizationParams(); in CopyArrayAttribs()
1386 const Array& source_array = model->GetArray(source_array_name); in InsertCopyOperator() local
[all …]
Dtooling_util.h178 void CopyArrayBuffer(const Array& source_array, Array* target_array) {
179 int source_buffer_size = RequiredBufferSizeForShape(source_array.shape());
183 CHECK(source_array.data_type == target_array->data_type)
185 if (source_array.buffer) {
186 const auto& source_buffer = source_array.GetBuffer<A>();
/external/sfntly/cpp/src/test/
Dopen_type_data_test.cc50 ByteArrayPtr source_array = new MemoryByteArray(&(source_bytes[0]), 1024); in TestOTFCopy() local
51 ReadableFontDataPtr source = new ReadableFontData(source_array); in TestOTFCopy()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc817 llvm_ir::IrArray source_array(GetIrArrayFor(source)); in HandleSelectAndScatter() local
819 source_array.EmitReadArrayElement(source_index, &b_); in HandleSelectAndScatter()
1938 llvm_ir::IrArray source_array = GetIrArrayFor(operand); in HandleSlice() local
1946 source_array.EmitArrayElementAddress(source_index, &b_, "slice.source"); in HandleSlice()
1953 source_array); in HandleSlice()
2514 llvm_ir::IrArray source_array = GetIrArrayFor(operand); in EmitFastConcatenate() local
2518 source_array.EmitArrayElementAddress(source_index, &b_, "src_addr"), in EmitFastConcatenate()
2527 target_array, source_array); in EmitFastConcatenate()
2583 const llvm_ir::IrArray& source_array) { in EmitTransferElements() argument
2594 source_array.AnnotateLoadStoreInstructionWithMetadata(load_instruction); in EmitTransferElements()
[all …]
Dir_emitter.h416 const llvm_ir::IrArray& source_array);
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_dependence.cpp236 Instruction* source_array = GetOperandDefinition(source_access_chain, 0); in GetDependence() local
241 if (source_array->opcode() == SpvOpAccessChain || in GetDependence()
249 if (source_array != destination_array) { in GetDependence()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_dependence.cpp236 Instruction* source_array = GetOperandDefinition(source_access_chain, 0); in GetDependence() local
241 if (source_array->opcode() == SpvOpAccessChain || in GetDependence()
249 if (source_array != destination_array) { in GetDependence()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_dependence.cpp236 Instruction* source_array = GetOperandDefinition(source_access_chain, 0); in GetDependence() local
241 if (source_array->opcode() == SpvOpAccessChain || in GetDependence()
249 if (source_array != destination_array) { in GetDependence()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc826 const llvm_ir::IrArray source_array = ir_arrays[0]; in EmitPadToStaticFromMlir() local
838 llvm::Value* source_buffer = source_array.GetBasePointer(); in EmitPadToStaticFromMlir()
919 source_array.EmitReadArrayElement(array_index, &b_, /*name=*/""), &b_, in EmitPadToStaticFromMlir()
2226 const IrArray& source_array = ir_arrays[1]; in EmitSelectAndScatterFromMlir() local
2402 source_array.EmitArrayElementAddress(source_index, &b_); in EmitSelectAndScatterFromMlir()