Artificial Intelligence TechC++C++11C++14C++17Learn C++

What You Need To Know About C++ Gaussian Error Linear Units

What is a Gaussian Error Linear Unit? How do we use GELU function in ANN? Where can we use GELU in AI technologies? Let’s review activation functions and explain these terms. What is an activation function? An Activation Function ( phi() ) also called as transfer function, or threshold function determines the activation value ( a = phi(sum) ) from a given value (sum) from the Net…
Read more
C++C++11C++14C++17Learn C++

What You Need To Know About std::basic_string In Modern C++

What is basic_string in modern C++? How can I use basic_string in C++? Is std::basic string same as std::string? What is basic_string? The basic_string (std::basic_string and std::pmr::basic_string) is a class template thatstores and manipulates sequences ofalpha numeric string objects (char,w_char,…). For example str::string and std::wstring are the data type that defined…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

How To Use Begin() And End() Iterator Methods Of Vectors

What are the Vectors in C++? How can I use begin() iterator method? How can I use end() iterator method? Can I get the last member of a vector by using end() method? How can I access to the first element and the last place holder element of a vector? Can I print out members of vectors by using begin() and end() methods? Can I count members of vectors without using begin() and end() methods?
Read more