Skip to content

Commit

Permalink
[UPD]add scatternd op to xcode project file (#1961)
Browse files Browse the repository at this point in the history
* [UPD]fix const for only 1 element; fix binary op for old model with wrong weight shape; update profile for npu; fix const layer error;

* [BUG]fix deconv error; add exp op

* [BUG]fix deconv error; add exp op

* fix coreml comile error

* fix build script

* fix build script

* add build flag

* fix build script

* delete mac xcode project

* [UPD]fix build script

* [BUG]fix UI of monodepth example

* [BUG]fix issue #1878, support convert onnx fp16 model to tnn fp16 model

* [BUG]support macbook woth apple M2

* [UPD]unify scale logic;opt blob2mat for nchw float

* [UPD]unify scale logic;opt blob2mat for nchw float

* [BUG]fix logic of fusing mul-add to bn, bn doesnt support broadcast

* [UPD]enable swish op cvt

* [UPD]support save int8 for embedding

* [UPD]support save int8 for embedding

* Revert "[UPD]support save int8 for embedding"

This reverts commit 750933c.

* [UPD]support save int8 for embedding

* [UPD]add scatternd op to xcode project file

---------

Co-authored-by: lucasktian <lucasktian@tencent.com>
  • Loading branch information
darrenyao87 and gttiankai committed Sep 27, 2023
1 parent 0afdc3b commit 1c27f20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platforms/ios/tnn.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,7 @@
9D4C60CC246BF7A1006068D1 /* bbox_util.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9D4C60CA246BF7A1006068D1 /* bbox_util.cc */; };
9D4C60CF246BF826006068D1 /* profile.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9D4C60CD246BF826006068D1 /* profile.cc */; };
9D4C60D0246BF826006068D1 /* profile.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D4C60CE246BF826006068D1 /* profile.h */; };
9D52DFC72AC16CE600A92920 /* arm_scatter_nd_layer_acc.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9D52DFC62AC16CE600A92920 /* arm_scatter_nd_layer_acc.cc */; };
9D5B716024BF0A300062DF64 /* metal_prior_box_layer_acc.metal in Sources */ = {isa = PBXBuildFile; fileRef = 9D5B715E24BF0A300062DF64 /* metal_prior_box_layer_acc.metal */; };
9D5B716124BF0A300062DF64 /* metal_prior_box_layer_acc.mm in Sources */ = {isa = PBXBuildFile; fileRef = 9D5B715F24BF0A300062DF64 /* metal_prior_box_layer_acc.mm */; };
9D852BCB24584E6A003F4E41 /* bfp16_utils.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9D852BC924584E6A003F4E41 /* bfp16_utils.cc */; };
Expand Down Expand Up @@ -3760,6 +3761,7 @@
9D4C60CA246BF7A1006068D1 /* bbox_util.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bbox_util.cc; sourceTree = "<group>"; };
9D4C60CD246BF826006068D1 /* profile.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = profile.cc; sourceTree = "<group>"; };
9D4C60CE246BF826006068D1 /* profile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = profile.h; sourceTree = "<group>"; };
9D52DFC62AC16CE600A92920 /* arm_scatter_nd_layer_acc.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = arm_scatter_nd_layer_acc.cc; sourceTree = "<group>"; };
9D5B715E24BF0A300062DF64 /* metal_prior_box_layer_acc.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = metal_prior_box_layer_acc.metal; sourceTree = "<group>"; };
9D5B715F24BF0A300062DF64 /* metal_prior_box_layer_acc.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = metal_prior_box_layer_acc.mm; sourceTree = "<group>"; };
9D852BC924584E6A003F4E41 /* bfp16_utils.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bfp16_utils.cc; sourceTree = "<group>"; };
Expand Down Expand Up @@ -6902,6 +6904,7 @@
9E12EF442865BCCE0089E089 /* acc */ = {
isa = PBXGroup;
children = (
9D52DFC62AC16CE600A92920 /* arm_scatter_nd_layer_acc.cc */,
9EA7949C2869BD3600E61ED7 /* arm_abs_layer_acc.cc */,
9EA794A92869BD3700E61ED7 /* arm_add_layer_acc.cc */,
9EA794942869BD3500E61ED7 /* arm_add_layer_acc.h */,
Expand Down Expand Up @@ -8959,6 +8962,7 @@
9E12F0A02865BCCF0089E089 /* arm_relu6_fp16_layer.cc in Sources */,
9EA794F22869BD3900E61ED7 /* arm_normalize_layer_acc.cc in Sources */,
9EA794D42869BD3900E61ED7 /* arm_pixel_shuffle_layer_acc.cc in Sources */,
9D52DFC72AC16CE600A92920 /* arm_scatter_nd_layer_acc.cc in Sources */,
EC5932FA25CFEBA900FF8F4B /* metal_reorg_layer_acc.mm in Sources */,
36289E6A2987F4770091FDA9 /* common.cc in Sources */,
ECCDCEC425DF536000D7D297 /* cpu_shape_layer_acc.cc in Sources */,
Expand Down

0 comments on commit 1c27f20

Please sign in to comment.