ArmNN
 20.02
IsFloat16Layer Struct Reference

#include <ConvertConstants.hpp>

Static Public Member Functions

static bool Test (const Layer &layer)
 

Detailed Description

Definition at line 92 of file ConvertConstants.hpp.

Member Function Documentation

◆ Test()

static bool Test ( const Layer layer)
inlinestatic

Definition at line 94 of file ConvertConstants.hpp.

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

95  {
96  return layer.GetDataType() == DataType::Float16;
97  }

The documentation for this struct was generated from the following file: