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.cc1358 void CopyArrayAttribs(const Array& source_array, Array* target_array) { in CopyArrayAttribs() argument
1359 target_array->data_type = source_array.data_type; in CopyArrayAttribs()
1360 target_array->final_data_type = source_array.final_data_type; in CopyArrayAttribs()
1361 if (source_array.has_shape()) { in CopyArrayAttribs()
1362 target_array->copy_shape(source_array.shape()); in CopyArrayAttribs()
1365 if (source_array.minmax) { in CopyArrayAttribs()
1366 target_array->GetOrCreateMinMax() = source_array.GetMinMax(); in CopyArrayAttribs()
1371 if (source_array.quantization_params) { in CopyArrayAttribs()
1373 source_array.GetQuantizationParams(); in CopyArrayAttribs()
1383 const Array& source_array = model->GetArray(source_array_name); in InsertCopyOperator() local
[all …]
Dtooling_util.h180 void CopyArrayBuffer(const Array& source_array, Array* target_array) {
181 int source_buffer_size = RequiredBufferSizeForShape(source_array.shape());
185 CHECK(source_array.data_type == target_array->data_type)
187 if (source_array.buffer) {
188 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.cc958 llvm_ir::IrArray source_array(GetIrArrayFor(source)); in HandleSelectAndScatter() local
960 source_array.EmitReadArrayElement(source_index, &b_); in HandleSelectAndScatter()
2267 llvm_ir::IrArray source_array = GetIrArrayFor(operand); in HandleSlice() local
2275 source_array.EmitArrayElementAddress(source_index, &b_, "slice.source"); in HandleSlice()
2282 source_array); in HandleSlice()
2696 llvm_ir::IrArray source_array = GetIrArrayFor(operand); in EmitFastConcatenate() local
2700 source_array.EmitArrayElementAddress(source_index, &b_, "src_addr"), in EmitFastConcatenate()
2709 target_array, source_array); in EmitFastConcatenate()
2727 const llvm_ir::IrArray& source_array) { in EmitTransferElements() argument
2738 source_array.AnnotateLoadStoreInstructionWithMetadata(load_instruction); in EmitTransferElements()
[all …]
Dir_emitter.h428 const llvm_ir::IrArray& source_array);
/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/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/angle/third_party/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/v8/src/objects/
Delements.cc3654 Handle<JSArray> source_array = Handle<JSArray>::cast(source); in CopyElementsHandleImpl() local
3655 if (TryCopyElementsFastNumber(isolate->context(), *source_array, in CopyElementsHandleImpl()