Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
358 Views

How to run two graphs on movidius

Hi,

 

I am trying to run squeezedet on ncs and i found the following operations are not supported as of now

 

     

  1. Stridedslice
  2.  

  3. tf.unstack and tf.stack
  4.  

  5. tf.math.greater
  6.  

 

I replaced stridedslice with the operation tf.slice and tf.unstack operation with tf.split.

 

But for the operation tf.math.greater i could not find any other replacements. Basically i am performing the following op

 

(tensor > threshold ) which returns boolean tensor

 

I wrote a another way to calculate greater operation as follows

 

     

  1. convert float to int32 dtype tensor
  2.  

  3. right shift the number by 31 bits so that signed bit becomes the LSB
  4.  

  5. perform bitwise and of 0x1 , input tensor
  6.  

  7. now the result will contain either 1 or 0 as value
  8.  

  9. Result one indicates input value is less than my threshold and zero indicated input value is greater than my threshold.
  10.  

 

To perform the above operation i need to convert my float tensor to int tensor. But Cast is not supported. So these are my questions

 

     

  1. How to get know the operations supported by intel movidius sdk( Not the layers but the operations like unstack, stack, slice, tf.tocast)

  2.  

  3. I am thinking of splitting the model into multiple graphs. perform the operations not supported by ncs sdk on host machine and take the results and do the remaining

     

    computation on movidius stick.

     

    To perform the above task I would like to load multiple graphs on movidius same time so that i can construct a pipeline as follows
  4.  

  5. Perform initial operations on movidius. take the result

  6.  

  7. calculate the unsupported operations available in the graph output on host machine and perform remaining ops on movidius.

  8.  

 

So I would like to know how to load more than one graphs on movidius.

0 Kudos
2 Replies
idata
Community Manager
71 Views

idata
Community Manager
71 Views

Thanks for the reply

Reply