Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc1330 void CopyArrayAttribs(const Array& source_array, Array* target_array) { in CopyArrayAttribs() argument
1331 target_array->data_type = source_array.data_type; in CopyArrayAttribs()
1332 target_array->final_data_type = source_array.final_data_type; in CopyArrayAttribs()
1333 target_array->copy_shape(source_array.shape()); in CopyArrayAttribs()
1335 if (source_array.minmax) { in CopyArrayAttribs()
1336 target_array->GetOrCreateMinMax() = source_array.GetMinMax(); in CopyArrayAttribs()
1341 if (source_array.quantization_params) { in CopyArrayAttribs()
1343 source_array.GetQuantizationParams(); in CopyArrayAttribs()
1353 const Array& source_array = model->GetArray(source_array_name); in InsertCopyOperator() local
1354 std::vector<int> shape = source_array.shape().dims(); in InsertCopyOperator()
[all …]
Dtooling_util.h181 void CopyArrayBuffer(const Array& source_array, Array* target_array) {
182 int source_buffer_size = RequiredBufferSizeForShape(source_array.shape());
186 CHECK(source_array.data_type == target_array->data_type)
188 if (source_array.buffer) {
189 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.cc898 llvm_ir::IrArray source_array(GetIrArrayFor(source)); in HandleSelectAndScatter() local
900 source_array.EmitReadArrayElement(source_index, &b_); in HandleSelectAndScatter()
2024 llvm_ir::IrArray source_array = GetIrArrayFor(operand); in HandleSlice() local
2032 source_array.EmitArrayElementAddress(source_index, &b_, "slice.source"); in HandleSlice()
2039 source_array); in HandleSlice()
2453 llvm_ir::IrArray source_array = GetIrArrayFor(operand); in EmitFastConcatenate() local
2455 source_array.EmitArrayElementAddress(target_index, &b_, "src_addr"), in EmitFastConcatenate()
2464 target_array, source_array); in EmitFastConcatenate()
2482 const llvm_ir::IrArray& source_array) { in EmitTransferElements() argument
2493 source_array.AnnotateLoadStoreInstructionWithMetadata(load_instruction); in EmitTransferElements()
[all …]
Dir_emitter.h415 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/v8/src/
Delements.cc3609 Handle<JSArray> source_array = Handle<JSArray>::cast(source); in CopyElementsHandleImpl() local
3610 if (TryCopyElementsFastNumber(isolate->context(), *source_array, in CopyElementsHandleImpl()