ArmNN
 24.08
IsFloat16Layer Struct Reference

#include <ConvertConstants.hpp>

Static Public Member Functions

static bool Test (const Layer &layer)
 

Detailed Description

Definition at line 90 of file ConvertConstants.hpp.

Member Function Documentation

◆ Test()

static bool Test ( const Layer layer)
inlinestatic

Definition at line 92 of file ConvertConstants.hpp.

93  {
94  return layer.GetDataType() == DataType::Float16;
95  }

References armnn::Float16, and Layer::GetDataType().


The documentation for this struct was generated from the following file:
armnn::DataType::Float16
@ Float16