ArmNN
 20.11
IsFloat16Layer Struct Reference

#include <ConvertConstants.hpp>

Static Public Member Functions

static bool Test (const Layer &layer)
 

Detailed Description

Definition at line 135 of file ConvertConstants.hpp.

Member Function Documentation

◆ Test()

static bool Test ( const Layer layer)
inlinestatic

Definition at line 137 of file ConvertConstants.hpp.

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

138  {
139  return layer.GetDataType() == DataType::Float16;
140  }

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