Restrictions for the "vid_pipeline" and "neural_network" modules

TM NPU MicroPython

Product
SIMACTIC S7-1500 TM NPU 2.0
Language
en-US
Category
Manual

To conform with the aforementioned allocations, the following restrictions apply:

  • ‘shaves_scaling’: 4

  • ‘shaves_conversion’: 4

  • ‘shaves_nn’: 4

  • ‘use_cnn’ (enforced automatically): (True, True)

Vid_pipeline: When initializing the video pipeline, eight shaves are allocated for scaling and conversion (four each).

Neural_Network: When initializing a neural network, four shaves are allocated for running it. The CNN hardware accelerators are automatically assigned to the first initialized neural network.