Public Member Functions | Static Public Attributes
ngraph::op::v0::Gelu Class Reference

Gaussian Error Linear Unit f(x) = 0.5 * x * (1 + erf( x / sqrt(2) ) More...

#include <gelu.hpp>

Inheritance diagram for ngraph::op::v0::Gelu:
Inheritance graph
[legend]
Collaboration diagram for ngraph::op::v0::Gelu:
Collaboration graph
[legend]

Public Member Functions

const NodeTypeInfo & get_type_info () const override
 
 Gelu (const Output< Node > &data)
 Constructs an Gelu operation. More...
 
bool visit_attributes (AttributeVisitor &visitor) override
 
virtual OutputVector decompose_op () const override
 
void pre_validate_and_infer_types () override
 
virtual std::shared_ptr< Node > clone_with_new_inputs (const OutputVector &new_args) const override
 

Static Public Attributes

static constexpr NodeTypeInfo type_info {"Gelu", 0}
 

Detailed Description

Gaussian Error Linear Unit f(x) = 0.5 * x * (1 + erf( x / sqrt(2) )

Constructor & Destructor Documentation

◆ Gelu()

ngraph::op::v0::Gelu::Gelu ( const Output< Node > &  data)

Constructs an Gelu operation.

Parameters
dataInput tensor

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