Welcome to our Support Center

Get Platform

Description

Gets the type of execution of the model and how it works. If you have a CUDA-compatible graphics card you can perform the calculation with your GPU.

Input parameters

 

Model in : model architecture.

Output parameters

 

Model out : model architecture.

Memory Exec : cluster

Mode : enum,Β mode of operation for internal platform memory management. This involved only GPU device.

      • FreePtrΒ : Dynamic create and free memory access after internal utilisation in individual forward/backward layer process.
      • AvailablePtrΒ : Creates memory without dynamic free process to permit reusability of it.

These both way of memory management also require to useΒ this functionΒ at the end of the whole process to free all GPU platform allocated memory.

Β Device : enum, device where the calculation will be made.

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install HAIBAL library to run it).

Using the β€œGet Platform” function

1 – Define Graph

We define the graph with one input and two Dense layers named Dense1 and Dense2.

2 – Get Function

We use the function “Get Platform” to get the type of execution of the model and how it works.

Table of Contents