ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::cker::functor::SetZeroFunctor< Device, T > Struct Template Reference

#include <Einsum.h>

Public Member Functions

void operator() (const Device &d, typename TTypes< T >::Flat out)
 

Detailed Description

template<typename Device, typename T>
struct nnfw::cker::functor::SetZeroFunctor< Device, T >

Definition at line 95 of file Einsum.h.

Member Function Documentation

◆ operator()()

template<typename Device , typename T >
void nnfw::cker::functor::SetZeroFunctor< Device, T >::operator() ( const Device &  d,
typename TTypes< T >::Flat  out 
)
inline

Definition at line 98 of file Einsum.h.

99 {
100 out.device(d) = out.constant(T(0));
101 }

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