MF 的个人资料CMF.net照片日志列表更多 工具 帮助
3月24日

A Neural Network on GPU

 

A Neural Network on GPU

 
 

Introduction

An Artificial Neural Network is an information processing method that was inspired by the way biological nervous systems function, such as the brain, process information. It is composed of a large number of highly interconnected processing elements (neurons) working in unison to solve specific problems. Neural Networks have been widely used in "analogous" signal classifications, including handwriting, voice and image recognitions. Neural network can also be used in computer games. It enables games with the ability to adaptively learn from player behaviors. This technique has been used in racing games, such that opponent cars controlled by computer can learn how to drive from human players.

Since a Neural Network requires considerable number of vector and matrix operations to get results, it is very suitable to be implemented in a parallel programming model and run on Graphics Processing Units (GPUs). Our goal is to utilize and unleash the power of GPUs to boost the performance of a Neural Network solving handwriting recognition problems.

This project was originally our graphics architecture course project. We ran on GPU the same neural network described by Mike O'Neill in his brilliant article "Neural Network for Recognition of Handwritten Digits".

 

CadLib for creating DXF(Drawing Interchange Format) files

 

CadLib for creating DXF(Drawing Interchange Format) files

 
 
 

Introduction

What is DXF?

Drawing Interchange Format (DXF) files enable the interchange of drawings between AutoCAD and other programs. DXF files can be either ASCII or binary formats. Because ASCII DXF files are more common than the binary format, CadLib uses ASCII DXF format.

What is CadLib?

The CadLib is not a Computer Aided Design (CAD) program. It is a tool for creating DXF files that are used in the CAD programs. It consists of two parts. One of them is a Dynamic Link Library to create the DXF file. The other part is the programming interface. It is a class that integrates the cadio.dll functions. It can be used in Microsoft Visual C++ projects. In addition, the cadio.dll can be used in other Win32 programs.

Why use CadLib?

In some programs, it is needed to create a drawing output for use in other programs such as AutoCad. For example, in a "Building Detail Sheet Generator Program", the program needs to create a drawing output. And the most standard format for communicating drawing data is DXF.

DXF file structure

The DXF format is a tagged data representation of all the information contained in a drawing file. Tagged data means that each data element in the file is preceded by an integer number that is called a group code. A group code's value indicates what type of data element follows. This value also indicates the meaning of a data element for a given object (or record) type. Virtually all user-specified information in a drawing file can be represented in DXF format. (from AutoCad's DXF reference)

A DXF file consists of some sections. Each section has some drawing data in itself. The CadLib uses the following sections:

  1. HEADER
  2. TABLES
  3. BLOCKS
  4. ENTITIES

The main reference for DXF file structure that is used for CadLib is the AutoCad's DXF reference. You can find more information about DXF file structure here.

3月6日

Office Live Workspace (在線上建立並分享您的文件,隨時隨地均可存取使用)

 
 微軟  Office Live Workspace  其功能與 GOOGLE  Google 文件 文件 在線上建立並分享您的文件,隨時隨地均可存取使用    相同
 
 
 
Welcome to Microsoft Office Live Workspace
Office Live Workspace is your online place to store, access, and share 1000+ documents.  Use it to distribute meeting notes, work together on group assignments, or simply store documents that you can access from any computer. Learn more
 
Documents is a great place to quickly store and share individual documents.  For projects that involve multiple documents, try creating a new workspace. Here are some ways to start using Office Live Workspace.

Add a document

Click Add file above and select a file on your computer.

Share a document

Click on the document's name to view it, then click Share. Type your friends’ e-mail addresses to invite them to access this document on Office Live Workspace.

View a document

Click the document's name to view it. Then, to edit in the original application, click Edit.