Reader small image

You're reading from  Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide

Product typeBook
Published inMar 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789802993
Edition1st Edition
Languages
Right arrow
Author (1)
Willem Meints
Willem Meints
author image
Willem Meints

Willem Meints is a software architect and engineer with a wide variety of interests. His background in software engineering hasnt stopped him from exploring new areas like machine learning as part of his daily work. This sparked a deep passion for everything related to artificial intelligence and deep learning. Willem studied electronics after his high-school career but quickly discovered he had more fun building applications. This led to his decision to leave the world of electronics and find a career in software engineering. After he finished his bachelor in software engineering he started working for Info Support where hes been working ever since.
Read more about Willem Meints

Right arrow

Basic neural network concepts in CNTK

In the previous chapter, we looked at the basic concepts of a neural network. Let's map the concepts we've learned to components in the CNTK library, and discover how you can use these concepts to build your own model.

Building neural networks using layer functions

Neural networks are made using several layers of neurons. In CNTK, we can model the layers of a neural network using layer functions defined in the layers module. A layer function in CNTK looks like a regular function. For example, you can create the most basic layer type, Dense, with one line of code:

from cntk.layers import Dense
from cntk import input_variable

features = input_variable(100)
layer = Dense(50)(features...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide
Published in: Mar 2019Publisher: PacktISBN-13: 9781789802993

Author (1)

author image
Willem Meints

Willem Meints is a software architect and engineer with a wide variety of interests. His background in software engineering hasnt stopped him from exploring new areas like machine learning as part of his daily work. This sparked a deep passion for everything related to artificial intelligence and deep learning. Willem studied electronics after his high-school career but quickly discovered he had more fun building applications. This led to his decision to leave the world of electronics and find a career in software engineering. After he finished his bachelor in software engineering he started working for Info Support where hes been working ever since.
Read more about Willem Meints