Sample List (Ascend 910 AI Processor)

The following table lists the samples mentioned in this document. Visit the Ascend samples repository on Gitee or GitHub for additional samples.

Table 1 Samples

Sample

How to Obtain

Description

Build and Run

gemm

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "gemm" sample in the cplusplus/level1_single_api/1_acl/4_blas/gemm directory.

Matrix-matrix multiplication

Refer to the README file.

vpc_resnet50_imagenet_classification

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "vpc_resnet50_imagenet_classification" sample in the cplusplus/level2_simple_inference/1_classification/vpc_resnet50_imagenet_classification directory.

Image classification with Caffe ResNet-50 (image decoding+resizing+synchronous inference)

Refer to the README file.

vpc_jpeg_resnet50_imagenet_classification

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "vpc_jpeg_resnet50_imagenet_classification" sample in the cplusplus/level2_simple_inference/1_classification/vpc_jpeg_resnet50_imagenet_classification directory.

Image classification with Caffe ResNet-50 (image decoding+cropping and resizing+image encoding+synchronous inference)

Refer to the README file.

vdec_resnet50_classification

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "vdec_resnet50_classification" sample in the cplusplus/level2_simple_inference/1_classification/vdec_resnet50_classification directory.

Image classification with Caffe ResNet-50 (video decoding+synchronous inference)

Refer to the README file.

resnet50_imagenet_classification

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "resnet50_imagenet_classification" sample in the cplusplus/level2_simple_inference/1_classification/resnet50_imagenet_classification directory.

Image classification with Caffe ResNet-50 (synchronous inference)

Refer to the README file.

resnet50_async_imagenet_classification

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "resnet50_async_imagenet_classification" sample in the cplusplus/level2_simple_inference/1_classification/resnet50_async_imagenet_classification directory.

Image classification with Caffe ResNet-50 (asynchronous inference)

Refer to the README file.

batchcrop

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "batchcrop" sample in the cplusplus/level2_simple_inference/0_data_process/batchcrop directory.

Media data processing V1 (single-image, multi-ROI cropping)

Refer to the README file.

smallResolution_cropandpaste

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "smallResolution_cropandpaste" sample in the cplusplus/level2_simple_inference/0_data_process/smallResolution_cropandpaste directory.

Media data processing V1 (cropping and pasting)

Refer to the README file.

YOLOV3_dynamic_batch_detection_picture

Go to the Ascend samples repository on Gitee or GitHub and download the sample package that matches the required version. For the version mapping, see "Release Notes" in the README file. Find the "YOLOV3_dynamic_batch_detection_picture" sample in the cplusplus/level2_simple_inference/2_object_detection/YOLOV3_dynamic_batch_detection_picture directory.

Object detection with Caffe YOLOv3 (dynamic batch/image size)

Refer to the README file.