We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0e5e8 commit a0002ceCopy full SHA for a0002ce
backends/qualcomm/builders/node_visitor.py
@@ -228,9 +228,11 @@ def get_tensor_type(
228
229
if is_parameter(node, self.edge_program):
230
return PyQnnWrapper.Qnn_TensorType_t.QNN_TENSOR_TYPE_STATIC
231
-
232
- # dump all tensor, set to app read
233
- if self.enable_tensor_dump:
+ # dump all tensor, set to app read, and we only dump native tensors
+ if (
+ self.enable_tensor_dump
234
+ and tensor_type == PyQnnWrapper.Qnn_TensorType_t.QNN_TENSOR_TYPE_NATIVE
235
+ ):
236
return PyQnnWrapper.Qnn_TensorType_t.QNN_TENSOR_TYPE_APP_READ
237
return tensor_type
238
0 commit comments