XLINKCONSOLE_BASE=$(MV_COMMON_BASE)/components/XLinkConsole
XLINK_SRCS=$(XLINK_BASE)/pc/usb_boot.c
+XLINK_SRCS+=$(XLINK_BASE)/pc/pcie_host.c
XLINK_SRCS+=$(XLINK_BASE)/shared/XLink.c
XLINK_SRCS+=$(XLINK_BASE)/shared/XLinkDispatcher.c
XLINK_SRCS+=$(XLINKCONSOLE_BASE)/pc/XLinkConsole.c
get_mvcmd:
@./get_mvcmd.sh
-basicinstall: $(OBJDIR)/$(OUT)
+basicinstall: $(OBJDIR)/$(OUT) get_mvcmd
mkdir -p $(INSTALLDIR)/include/
mkdir -p $(INSTALLDIR)/include/mvnc2
mkdir -p $(INSTALLDIR)/lib/
udevadm trigger
ldconfig
-install: get_mvcmd basicinstall pythoninstall postinstall
+install: basicinstall pythoninstall postinstall
uninstall:
rm -f $(INSTALLDIR)/lib/$(OUT)
rm -f $(OBJS)
rm -rf $(OBJDIR)
rm -f $(LIB_NAME).so
- find mvnc/ -type f -delete
+ if [ -d "mvnc" ]; then find mvnc/ -type f -delete ; fi
#include <pthread.h>
#endif
+#include "pcie_host.h"
#include "usb_boot.h"
#define MAX_EVENTS 64
/*#################################################################################
################################## USB CDC FUNCTIONS ##############################
##################################################################################*/
+static xLinkPlatformErrorCode_t cdc_convert_error_code(int rc) {
+ switch(rc) {
+ case 0:
+ return X_LINK_PLATFORM_SUCCESS;
+ case -1:
+ return X_LINK_PLATFORM_DEVICE_NOT_FOUND;
+ //No timeout case for cdc
+ default:
+ return X_LINK_PLATFORM_ERROR;
+ }
+}
static int cdc_usb_write(void *f __attribute__((unused)),
void* data, size_t size,
unsigned int timeout __attribute__((unused)))
size_t byteCount = 0;
if(usbFdWrite < 0)
{
- return -1;
+ return cdc_convert_error_code(-1);
}
while(byteCount < size) {
int toWrite = (gl_packetLength && ((size - byteCount) > gl_packetLength)) \
? gl_packetLength : size - byteCount;
int wc = write(usbFdWrite, ((char*)data) + byteCount, toWrite);
if (wc != toWrite) {
- return -2;
+ return cdc_convert_error_code(-2);
}
byteCount += toWrite;
int rc = read(usbFdWrite, &acknowledge, sizeof(acknowledge));
if ( rc < 0) {
- return -2;
+ return cdc_convert_error_code(-2);
}
if (acknowledge == 0xEF) {
//printf("read ack %x\n", acknowledge);
}
else {
printf("read ack err %x %d\n", acknowledge, rc);
- return -2;
+ return cdc_convert_error_code(-2);
} //*/
}
#endif
{
#if (!defined(_WIN32) && !defined(_WIN64))
if(usbFdRead < 0) {
- return -1;
+ return cdc_convert_error_code(-1);
}
size_t byteCount = 0;
int toRead = 0;
{
int rc = read(usbFdRead, &((char*)data)[byteCount], toRead);
if (rc < 0) {
- return -2;
+ return cdc_convert_error_code(-2);
}
toRead -= rc;
byteCount += rc;
//printf("write %x %d\n", acknowledge, wc);
}
else {
- return -2;
+ return cdc_convert_error_code(-2);
} //*/
}
#endif
/*#################################################################################
################################## USB VSC FUNCTIONS ##############################
##################################################################################*/
+static xLinkPlatformErrorCode_t vsc_convert_error_code(int rc) {
+ switch(rc) {
+ case 0:
+ return X_LINK_PLATFORM_SUCCESS;
+ case LIBUSB_ERROR_TIMEOUT:
+ return X_LINK_PLATFORM_TIMEOUT;
+ case LIBUSB_ERROR_NO_DEVICE:
+ return X_LINK_PLATFORM_DEVICE_NOT_FOUND;
+ default:
+ return X_LINK_PLATFORM_ERROR;
+ }
+}
static int vsc_usb_write(void *f, void *data, size_t size, unsigned int timeout)
{
while(size > 0)
timeout);
#endif
if(rc)
- return rc;
+ return vsc_convert_error_code(rc);
data = (char *)data + bt;
size -= bt;
}
timeout);
#endif
if(rc)
- return rc;
+ return vsc_convert_error_code(rc);
data = ((char *)data) + bt;
size -= bt;
}
if (libusb_rc < 0) {
usb_close_device(h);
usb_free_device(dev);
- return 0;
+ return -1;
}
//usb_close_device(h);
//usb_free_device(dev);
return 0;
}
+static int write_pending = 0;
+static int read_pending = 0;
+
/*#################################################################################
################################### PCIe FUNCTIONS ################################
##################################################################################*/
-static int pcie_host_write(void *f __attribute__((unused)),
- void *data, size_t size,
- unsigned int timeout __attribute__((unused)))
+#define UNUSED __attribute__((unused))
+
+static int pcie_host_write(UNUSED void *f, void *data, size_t size,
+ UNUSED unsigned int timeout)
{
- return write(pcieFd, ((char*)data), size);
+ int left = size;
+ while(left > 0)
+ {
+ write_pending = 1;
+
+ int bt = pcie_write(pcieFd, data, left);
+
+ if (bt == -EAGAIN)
+ {
+ // Let read commands be submitted
+ if (read_pending > 0)
+ usleep(1000);
+ continue;
+ }
+
+ write_pending = 0;
+
+ if(bt < 0)
+ return bt;
+ data = ((char *)data) + bt;
+ left -= bt;
+ }
+
+ return size;
}
-static int pcie_host_read(void *f __attribute__((unused)),
- void *data, size_t size,
- unsigned int timeout __attribute__((unused)))
+static int pcie_host_read(UNUSED void *f, void *data, size_t size,
+ UNUSED unsigned int timeout)
{
- return read(pcieFd, ((char*)data), size);
+ int left = size;
+ while(left > 0)
+ {
+ read_pending = 1;
+
+ int bt = pcie_read(pcieFd, data, left);
+
+ if (bt == -EAGAIN) {
+ // Let write commands be submitted
+ if (write_pending > 0)
+ usleep(1000);
+ continue;
+ }
+
+ read_pending = 0;
+
+ if(bt < 0)
+ return bt;
+ data = ((char *)data) + bt;
+ left -= bt;
+ }
+
+ return size;
}
-static int pcie_host_open(const char* devPathRead __attribute__((unused)),
- const char* devPathWrite,
- void** fd __attribute__((unused)))
+static int pcie_host_open(UNUSED const char* devPathRead,
+ const char* devPathWrite,
+ UNUSED void** fd)
{
- printf("pcie_host_open. Starting device test code example...\n");
- pcieFd = open(devPathWrite, O_RDWR);
- if (pcieFd < 0){
- perror("Failed to open the device...");
- return errno;
- }
- //*fd = &pcieFd; //might not need
- return 0;
+ return pcie_init(devPathWrite, &pcieFd);
}
-static int pcie_host_close(void *f __attribute__((unused)))
+static int pcie_host_close(UNUSED void *f)
{
- printf("pcie_host_close \n");
- return close(pcieFd);
+ pcie_close(pcieFd);
+ return 0;
}
+
+#undef UNUSED
/*############################### FUNCTION ARRAYS #################################*/
/*These arrays hold the write/read/open/close operation functions
specific for each communication protocol.
return 0;
}
-
-int getDeviceName(int index, char* name, int nameSize , int pid)
+static int getDeviceName(int index, char* name, int nameSize , int pid)
{
switch(gl_protocol){
case Pcie:
- name = "/dev/ma2x8x_0"; //hardcoded for now
- nameSize = strlen(name);
+ {
+ return pcie_find_device_port(index, name, nameSize);
break;
+ }
case Ipc:
break;
case UsbCDC:
char subaddr[28+2];
int rc;
+ /* Don't try to boot FW if PCIe */
+#ifdef USE_PCIE
+ return 0;
+#endif
if (usbFdRead != -1){
close(usbFdRead);
usbFdRead = -1;
--- /dev/null
+///
+/// @file pcie_host.h
+/// @copyright All code copyright Intel Corporation 2018, all rights reserved.
+/// For License Warranty see: common/license.txt
+///
+#include "XLinkPlatform.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <unistd.h>
+#include <string.h>
+#include <errno.h>
+#include <signal.h>
+#include <fcntl.h>
+#include <ctype.h>
+#include <sys/types.h>
+#include <dirent.h>
+
+#define PCIE_DEVICE_ID 0x6200
+#define PCIE_VENDOR_ID 0x8086
+#define MAX_PATH_SIZE 256
+
+int pcie_write(int fd, void *buf, size_t bufSize)
+{
+ int ret = write(fd, buf, bufSize);
+
+ if (ret < 0)
+ {
+ return -errno;
+ }
+
+ return ret;
+}
+
+int pcie_read(int fd, void *buf, size_t bufSize)
+{
+ int ret = read(fd, buf, bufSize);
+
+ if (ret < 0)
+ {
+ return -errno;
+ }
+
+ return ret;
+}
+
+int pcie_init(const char *slot, int *fd)
+{
+ *fd = open(slot, O_RDWR);
+
+ if (*fd == -1)
+ return -1;
+
+ return 0;
+}
+
+int pcie_close(int fd)
+{
+ close(fd);
+ return 0;
+}
+
+xLinkPlatformErrorCode_t pcie_find_device_port(int index, char* port_name, int size) {
+ xLinkPlatformErrorCode_t rc = X_LINK_PLATFORM_DEVICE_NOT_FOUND;
+ struct dirent *entry;
+ DIR *dp;
+
+ if (port_name == NULL)
+ return X_LINK_PLATFORM_ERROR;
+
+ dp = opendir("/sys/class/mxlk/");
+ if (dp == NULL)
+ {
+ perror("opendir");
+ return X_LINK_PLATFORM_DRIVER_NOT_LOADED;
+ }
+
+ // All entries in this (virtual) directory are generated when the driver
+ // is loaded, and correspond 1:1 to entries in /dev/
+
+ int device_cnt = 0;
+ while((entry = readdir(dp))) {
+ //printf("Entry: %s %d\n", entry->d_name, strncmp(entry->d_name, "mxlink", 6));
+ // Compare the beginning of the name to make sure it is a device name
+ if (strncmp(entry->d_name, "mxlk", 4) == 0)
+ {
+ if (device_cnt == index)
+ {
+ snprintf(port_name, size, "/dev/%s", entry->d_name);
+ //printf("Found port %s for index %d\n", port_name, index);
+ rc = X_LINK_PLATFORM_SUCCESS;
+ break;
+ }
+
+ device_cnt++;
+ }
+ }
+ closedir(dp);
+
+ return rc;
+}
--- /dev/null
+///
+/// @file pcie_host.h
+/// @copyright All code copyright Intel Corporation 2018, all rights reserved.
+/// For License Warranty see: common/license.txt
+///
+#ifndef PCIE_HOST_H
+#define PCIE_HOST_H
+
+#include "XLinkPlatform.h"
+
+int pcie_init(const char *slot, int *fd);
+int pcie_write(int fd, void * buf, size_t bufSize);
+int pcie_read(int fd, void *buf, size_t bufSize);
+int pcie_close(int fd);
+xLinkPlatformErrorCode_t pcie_find_device_port(int index, char* port_name, int size);
+
+#endif
#else
#include <pthread.h>
#include <semaphore.h>
+#include <unistd.h>
#endif
#include "mvMacros.h"
/*If we got here, we will read the data no matter what happens.
If we encounter any problems we will still read the data to keep
the communication working but send a NACK.*/
- stream = getStreamById(event->xLinkFD, event->header.streamId);\
+ stream = getStreamById(event->xLinkFD, event->header.streamId);
ASSERT_X_LINK(stream);
stream->localFillLevel += event->header.size;
}
int dispatcherEventReceive(xLinkEvent_t* event){
static xLinkEvent_t prevEvent;
- int sc = XLinkRead(event->xLinkFD, &event->header, sizeof(event->header), 0);
-
- if(sc < 0 && event->header.type == USB_RESET_RESP) {
- return sc;
+ int sc = X_LINK_PLATFORM_TIMEOUT;
+ while (sc == X_LINK_PLATFORM_TIMEOUT) {
+ sc = XLinkRead(event->xLinkFD, &event->header, sizeof(event->header), USB_DATA_TIMEOUT);
+
+ if(sc < 0) {
+ if (event->header.type == USB_RESET_RESP) {
+ return sc;
+ } else {
+ xLinkDesc_t* link = getLink(event->xLinkFD);
+ if (link->hostClosedFD) {
+ //host intentionally closed usb, finish normally
+ event->header.type = USB_RESET_RESP;
+ return 0;
+ }
+ }
+ }
}
+
+ //If we got here then either: 1) read was successful
+ // 2) failed on other issue that is not timeout.
+ // if it was timeout or device was reset/hostClosedFd it will be caught above.
if(sc < 0) {
- xLinkDesc_t* link = getLink(event->xLinkFD);
- if (link->hostClosedFD) {
- //host intentionally closed usb, finish normally
- event->header.type = USB_RESET_RESP;
- return 0;
- }
mvLog(MVLOG_ERROR,"%s() Read failed %d\n", __func__, (int)sc);
return sc;
}
-
mvLog(MVLOG_DEBUG,"Incoming event %d %d %d %d\n",
(int)event->header.type,
(int)event->header.id,
if (link->availableStreams[stream].id != INVALID_STREAM_ID &&
strcmp(link->availableStreams[stream].name, name) == 0) {
sem_wait(&link->availableStreams[stream].sem);
- return &link->availableStreams[stream];
+ return &link->availableStreams[stream];
}
}
return NULL;
{
return INVALID_STREAM_ID;
}
- mvLog(MVLOG_DEBUG,"%s(): streamName Exists %d\n", __func__, (int)stream->id);
+ mvLog(MVLOG_DEBUG,"%s(): streamName Exists id = %d\n", __func__, (int)stream->id);
}
else
{
event->header.flags.bitField.block = 1;
// TODO: easy to implement non-blocking read here, just return nack
}
- releaseStream(stream);
event->header.flags.bitField.localServe = 1;
+ releaseStream(stream);
break;
case USB_READ_REL_REQ:
stream = getStreamById(event->xLinkFD, event->header.streamId);
ASSERT_X_LINK(stream);
- uint32_t releasedSize;
+ uint32_t releasedSize = 0;
releasePacketFromStream(stream, &releasedSize);
event->header.size = releasedSize;
releaseStream(stream);
deallocateStream(stream);
if (!stream->writeSize) {
stream->id = INVALID_STREAM_ID;
+ stream->name[0] = '\0';
}
}
else
return X_LINK_SUCCESS;
}
-XLinkError_t GetDeviceName(int index, char* name, int nameSize, int pid)
+static XLinkError_t GetDeviceName(int index, char* name, int nameSize, int pid)
{
int rc = -1;
if (!pid)
xLinkDesc_t* link = getLinkById(id);
ASSERT_X_LINK(link != NULL);
link->hostClosedFD = 1;
+ usleep((USB_DATA_TIMEOUT + 500)*1000);
XLinkPlatformResetRemote(link->fd);
return X_LINK_SUCCESS;
}
EVENT_BLOCKED,
EVENT_READY,
EVENT_SERVED,
+ EVENT_NEW,
} xLinkEventState_t;
typedef struct xLinkEventPriv_t {
else \
x--; \
}
+char* StateToStr(int state)
+{
+ switch(state)
+ {
+ case EVENT_PENDING: return "EVENT_PENDING";
+ case EVENT_BLOCKED: return "EVENT_BLOCKED";
+ case EVENT_READY: return "EVENT_READY";
+ case EVENT_SERVED: return "EVENT_SERVED";
+ case EVENT_NEW: return "EVENT_NEW";
+ default: break;
+ }
+ return "";
+}
char* TypeToStr(int type)
{
switch(type)
event->isServed = EVENT_READY;
}
-static void markEventServed(xLinkEventPriv_t* event)
-{
+static void eventPost(xLinkEventPriv_t* event) {
if(event->sem){
if (sem_post(event->sem)) {
mvLog(MVLOG_ERROR,"can't post semaphore\n");
}
}
+}
+static void markEventServed(xLinkEventPriv_t* event)
+{
+ eventPost(event);
event->isServed = EVENT_SERVED;
}
ASSERT_X_LINK(curr != NULL);
ASSERT_X_LINK(isEventTypeRequest(event));
xLinkEventHeader_t *header = &event->packet.header;
+ int served = 0;
if (header->flags.bitField.block){ //block is requested
markEventBlocked(event);
- }else if(header->flags.bitField.localServe == 1 ||
+ } else if(header->flags.bitField.localServe == 1 ||
(header->flags.bitField.ack == 0
&& header->flags.bitField.nack == 1)){ //this event is served locally, or it is failed
- markEventServed(event);
+ eventPost(event);
+ served = 1;
}else if (header->flags.bitField.ack == 1
&& header->flags.bitField.nack == 0){
event->isServed = EVENT_PENDING;
}else{
ASSERT_X_LINK(0);
}
- return 0;
+ return served;
}
static xLinkEventPriv_t* getNextQueueElemToProc(eventQueueHandler_t *q ){
xLinkEventPriv_t* event = NULL;
if (q->cur != q->curProc) {
- event = getNextElementWithState(q->base, q->end, q->curProc, EVENT_SERVED);
+ event = getNextElementWithState(q->base, q->end, q->curProc, EVENT_NEW);
q->curProc = event;
CIRCULAR_INCREMENT(q->curProc, q->end, q->base);
}
eventP->packet = *event;
eventP->origin = o;
q->cur = eventP;
+ eventP->isServed = EVENT_NEW;
CIRCULAR_INCREMENT(q->cur, q->end, q->base);
return ev;
}
res = getResp(&event->packet, &response.packet);
if (isEventTypeRequest(event)){
+ int served = 0;
if (event->origin == EVENT_LOCAL){ //we need to do this for locals only
- dispatcherRequestServe(event, curr);
+ served = dispatcherRequestServe(event, curr);
}
if (res == 0 && event->packet.header.flags.bitField.localServe == 0){
glControlFunc->eventSend(toSend);
}
- }else{
+ if (event->origin == EVENT_REMOTE || served) {
+ event->isServed = EVENT_SERVED;
+ }
+ } else {
if (event->origin == EVENT_REMOTE){ // match remote response with the local request
dispatcherResponseServe(event, curr);
}
+ event->isServed = EVENT_SERVED;
}
//TODO: dispatcher shouldn't know about this packet. Seems to be easily move-able to protocol
#endif
}
-/* end of file */
\ No newline at end of file
+/* end of file */
#define MAX_POOLS_ALLOC 32
#define PACKET_LENGTH (64*1024)
-//PCIe
+//PCIe
#define PCIE_MAX_BUFFER_SIZE (255 * 4096)
#ifdef __PC__
#define MAX_LINKS 16
void* allocateData(uint32_t size, uint32_t alignment);
void deallocateData(void* ptr,uint32_t size, uint32_t alignment);
-typedef enum usbLinkPlatformErrorCode {
+typedef enum xLinkPlatformErrorCode {
X_LINK_PLATFORM_SUCCESS = 0,
- X_LINK_PLATFORM_ERROR,
- X_LINK_PLATFORM_DEVICE_NOT_FOUND,
- X_LINK_PLATFORM_TIMEOUT
-} usbLinkPlatformErrorCode_t;
+ X_LINK_PLATFORM_DEVICE_NOT_FOUND = -1,
+ X_LINK_PLATFORM_ERROR = -2,
+ X_LINK_PLATFORM_TIMEOUT = -3,
+ X_LINK_PLATFORM_DRIVER_NOT_LOADED = -4
+} xLinkPlatformErrorCode_t;
#ifdef __cplusplus
}
{
#endif
-#define XLINK_MAX_STREAMS 8
+#define XLINK_MAX_STREAMS 32
#define USB_LINK_MAX_PACKETS_PER_STREAM 64
typedef enum{
mvLog(MVLOG_INFO, "Stalled devices found, Reseting...");
XLinkResetAll();
#if (!defined(_WIN32) && !defined(_WIN64) )
- usleep(500000); //device takes some time to re-enumrate, wait till it's back
+ usleep(1000000); //device takes some time to re-enumrate, wait till it's back
#endif
iters = 0;
pthread_mutex_unlock(&globalMutex);
#if (!defined(_WIN32) && !defined(_WIN64) )
- usleep(500000); //device takes some time to re-enumrate, wait till it's back
+ usleep(1000000); //device takes some time to re-enumrate, wait till it's back
#endif
return NC_OK;
}
if (sendGraphMonitorRequest(d->graph_monitor_stream_id, &cmd)) {
mvLog(MVLOG_WARN, "can't send graph allocation command");
- pthread_mutex_lock(&d->graph_streamm);
+ pthread_mutex_unlock(&d->graph_streamm);
return NC_ERROR;
}
if (XLinkWriteData(streamId, graphBuffer, graphBufferLength) != 0) {
<link rel="canonical" href="https://movidius.github.io/ncsdk/TOC.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/TOC.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/TOC.html","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/TOC.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
+++ /dev/null
-/*
- generated by rouge http://rouge.jneen.net/
- original base16 by Chris Kempson (https://github.com/chriskempson/base16)
-*/
-.highlight table td {
- padding: 5px; }
-
-.highlight table pre {
- margin: 0; }
-
-.highlight, .highlight .w {
- color: #d0d0d0; }
-
-.highlight .err {
- color: #151515;
- background-color: #ac4142; }
-
-.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
- color: #888; }
-
-.highlight .cp {
- color: #f4bf75; }
-
-.highlight .nt {
- color: #f4bf75; }
-
-.highlight .o, .highlight .ow {
- color: #d0d0d0; }
-
-.highlight .p, .highlight .pi {
- color: #d0d0d0; }
-
-.highlight .gi {
- color: #90a959; }
-
-.highlight .gd {
- color: #ac4142; }
-
-.highlight .gh {
- color: #6a9fb5;
- font-weight: bold; }
-
-.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
- color: #aa759f; }
-
-.highlight .kc {
- color: #d28445; }
-
-.highlight .kt {
- color: #d28445; }
-
-.highlight .kd {
- color: #d28445; }
-
-.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
- color: #90a959; }
-
-.highlight .sr {
- color: #75b5aa; }
-
-.highlight .si {
- color: #8f5536; }
-
-.highlight .se {
- color: #8f5536; }
-
-.highlight .nn {
- color: #f4bf75; }
-
-.highlight .nc {
- color: #f4bf75; }
-
-.highlight .no {
- color: #f4bf75; }
-
-.highlight .na {
- color: #6a9fb5; }
-
-.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
- color: #90a959; }
-
-.highlight .ss {
- color: #90a959; }
-
-html {
- background: #6C7989;
- background: #6C7989 linear_gradient(#6C7989, #434B55) fixed; }
-
-body {
- padding: 50px 0;
- margin: 0;
- font: 14px/1.5 Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
- color: #555;
- font-weight: 300;
- background: inline-image("checker.png") fixed; }
-
-.wrapper {
- width: 640px;
- margin: 0 auto;
- background: #DEDEDE;
- border-radius: 8px;
- box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; }
-
-header, section, footer {
- display: block; }
-
-a {
- color: #069;
- text-decoration: none; }
-
-p {
- margin: 0 0 20px;
- padding: 0; }
-
-strong {
- color: #222;
- font-weight: 700; }
-
-header {
- border-radius: 8px 8px 0 0;
- background: #C6EAFA;
- background: linear_gradient(#DDFBFC, #C6EAFA);
- position: relative;
- padding: 15px 20px;
- border-bottom: 1px solid #B2D2E1; }
- header h1 {
- margin: 0;
- padding: 0;
- font-size: 24px;
- line-height: 1.2;
- color: #069;
- text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0; }
- header.without-description h1 {
- margin: 10px 0; }
- header p {
- margin: 0;
- color: #61778B;
- width: 300px;
- font-size: 13px; }
- header p.view {
- display: none;
- font-weight: 700;
- text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
- -webkit-font-smoothing: antialiased; }
- header p.view a {
- color: #06c; }
- header p.view small {
- font-weight: 400; }
- header ul {
- margin: 0;
- padding: 0;
- list-style: none;
- position: absolute;
- z-index: 1;
- right: 20px;
- top: 20px;
- height: 38px;
- padding: 1px 0;
- background: #5198DF;
- background: linear_gradient(#77B9FB, #3782CD);
- border-radius: 5px;
- box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
- width: auto; }
- header ul:before {
- content: '';
- position: absolute;
- z-index: -1;
- left: -5px;
- top: -4px;
- right: -5px;
- bottom: -6px;
- background: rgba(0, 0, 0, 0.1);
- border-radius: 8px;
- box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0; }
- header ul li {
- width: 79px;
- float: left;
- border-right: 1px solid #3A7CBE;
- height: 38px; }
- header ul li.single {
- border: none; }
- header ul li + li {
- width: 78px;
- border-left: 1px solid #8BBEF3; }
- header ul li + li + li {
- border-right: none;
- width: 79px; }
- header ul a {
- line-height: 1;
- font-size: 11px;
- color: #fff;
- color: rgba(255, 255, 255, 0.8);
- display: block;
- text-align: center;
- font-weight: 400;
- padding-top: 6px;
- height: 40px;
- text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0; }
- header ul a strong {
- font-size: 14px;
- display: block;
- color: #fff;
- -webkit-font-smoothing: antialiased; }
-
-section {
- padding: 15px 20px;
- font-size: 15px;
- border-top: 1px solid #fff;
- background: linear_gradient(#fafafa, #DEDEDE 700px);
- border-radius: 0 0 8px 8px;
- position: relative; }
-
-h1, h2, h3, h4, h5, h6 {
- color: #222;
- padding: 0;
- margin: 0 0 20px;
- line-height: 1.2; }
-
-p, ul, ol, table, pre, dl {
- margin: 0 0 20px; }
-
-h1, h2, h3 {
- line-height: 1.1; }
-
-h1 {
- font-size: 28px; }
-
-h2 {
- color: #393939; }
-
-h3, h4, h5, h6 {
- color: #494949; }
-
-blockquote {
- margin: 0 -20px 20px;
- padding: 15px 20px 1px 40px;
- font-style: italic;
- background: #ccc;
- background: rgba(0, 0, 0, 0.06);
- color: #222; }
-
-img {
- max-width: 100%; }
-
-code, pre {
- font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
- color: #333;
- font-size: 12px;
- overflow-x: auto; }
-
-pre {
- padding: 20px;
- background: #3A3C42;
- color: #f8f8f2;
- margin: 0 -20px 20px; }
- pre code {
- color: #f8f8f2; }
- li pre {
- margin-left: -60px;
- padding-left: 60px; }
-
-table {
- width: 100%;
- border-collapse: collapse; }
-
-th, td {
- text-align: left;
- padding: 5px 10px;
- border-bottom: 1px solid #aaa; }
-
-dt {
- color: #222;
- font-weight: 700; }
-
-th {
- color: #222; }
-
-small {
- font-size: 11px; }
-
-hr {
- border: 0;
- background: #aaa;
- height: 1px;
- margin: 0 0 20px; }
-
-footer {
- width: 640px;
- margin: 0 auto;
- padding: 20px 0 0;
- color: #ccc;
- overflow: hidden; }
- footer a {
- color: #fff;
- font-weight: bold; }
- footer p {
- float: left; }
- footer p + p {
- float: right; }
-
-@media print, screen and (max-width: 740px) {
- body {
- padding: 0; }
-
- .wrapper {
- border-radius: 0;
- box-shadow: none;
- width: 100%; }
-
- footer {
- border-radius: 0;
- padding: 20px;
- width: auto; }
- footer p {
- float: none;
- margin: 0; }
- footer p + p {
- float: none; } }
-@media print, screen and (max-width: 580px) {
- header ul {
- display: none; }
-
- header p.view {
- display: block; }
-
- header p {
- width: 100%; } }
-@media print {
- header p.view a small:before {
- content: 'at https://github.com/'; } }
-header {
- background: #0066D7;
- color: #00FF00; }
-
-header ul {
- background: #2a2e67; }
-
-header a {
- color: #FFFFFF; }
-
-ul a {
- color: #0066d7; }
-
-a {
- color: #0066d7; }
-
-ul li ul {
- margin: 0 0 0px; }
-
-h1 {
- padding-top: 25px; }
-
-h2, h3 {
- padding-top: 10px; }
-
-h1:first-of-type {
- padding-top: 0px; }
-
-p {
- color: #61778B; }
-
-.wrapper {
- width: 900px;
- background: #FAFAFA; }
+++ /dev/null
-fixScale = function(doc) {
-
- var addEvent = 'addEventListener',
- type = 'gesturestart',
- qsa = 'querySelectorAll',
- scales = [1, 1],
- meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
-
- function fix() {
- meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
- doc.removeEventListener(type, fix, true);
- }
-
- if ((meta = meta[meta.length - 1]) && addEvent in doc) {
- fix();
- scales = [.25, 1.6];
- doc[addEvent](type, fix, true);
- }
-
-};
\ No newline at end of file
<link rel="canonical" href="https://movidius.github.io/ncsdk/caffe.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/caffe.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/caffe.html","headline":"Caffe Support","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/caffe.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Caffe Support","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/compiler_error.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/compiler_error.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/compiler_error.html","headline":"mvNCCompile Error Codes","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/compiler_error.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvNCCompile Error Codes","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
+++ /dev/null
-# Require any additional compass plugins here.
-
-# Set this to the root of your project when deployed:
-http_path = "SITE_ROOT"
-css_dir = "stylesheets"
-sass_dir = "sass"
-images_dir = "images"
-javascripts_dir = "javascripts"
-
-# You can select your preferred output style here (can be overridden via the command line):
-# output_style = :expanded or :nested or :compact or :compressed
-
-# To enable relative paths to assets via compass helper functions. Uncomment:
-# relative_assets = true
-
-# To disable debugging comments that display the original location of your selectors. Uncomment:
-# line_comments = false
-
-# If you prefer the indented syntax, you might want to regenerate this
-# project again passing --syntax sass, or you can uncomment this:
-# preferred_syntax = :sass
-# and then run:
-# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
-preferred_syntax = :scss
-
-line_comments = false # by Compass.app
<link rel="canonical" href="https://movidius.github.io/ncsdk/configure_network.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/configure_network.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/configure_network.html","headline":"Configuring Your Network for the Intel® Movidius™ Neural Compute SDK","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/configure_network.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Configuring Your Network for the Intel® Movidius™ Neural Compute SDK","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/docker.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/docker.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/docker.html","headline":"Installation and Configuration with Docker","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/docker.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Installation and Configuration with Docker","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/docker_proxy.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/docker_proxy.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/docker_proxy.html","headline":"Configuring Docker For Use With a Proxy","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/docker_proxy.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Configuring Docker For Use With a Proxy","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/examples.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/examples.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/examples.html","headline":"Examples","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/examples.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Examples","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/" />
<script type="application/ld+json">
-{"description":"Overview of the documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebSite","url":"https://movidius.github.io/ncsdk/","headline":"Introduction","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/","description":"Overview of the documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Introduction","@type":"WebSite","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/install.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/install.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/install.html","headline":"Basic Installation and Configuration","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/install.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Basic Installation and Configuration","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
+++ /dev/null
-# encoding: utf-8
-
-Gem::Specification.new do |s|
- s.name = "jekyll-theme-modernist"
- s.version = "0.1.0"
- s.license = "CC0-1.0"
- s.authors = ["Steve Smith", "GitHub, Inc."]
- s.email = ["opensource+jekyll-theme-modernist@github.com"]
- s.homepage = "https://github.com/pages-themes/modernist"
- s.summary = "Modernist is a Jekyll theme for GitHub Pages"
-
- s.files = `git ls-files -z`.split("\x0").select do |f|
- f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i)
- end
-
- s.platform = Gem::Platform::RUBY
- s.add_runtime_dependency "jekyll", "~> 3.5"
- s.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
-end
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/c_api_migration.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/c_api_migration.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/c_api_migration.html","headline":"Migrating C/C++ Applications from NCAPI v1 to NCAPI v2","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/c_api_migration.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Migrating C/C++ Applications from NCAPI v1 to NCAPI v2","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncAllocateGraph.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncAllocateGraph.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncAllocateGraph.html","headline":"mvncAllocateGraph() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncAllocateGraph.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncAllocateGraph() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncCloseDevice.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncCloseDevice.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncCloseDevice.html","headline":"mvncCloseDevice() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncCloseDevice.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncCloseDevice() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeallocateGraph.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeallocateGraph.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeallocateGraph.html","headline":"mvncDeallocateGraph() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeallocateGraph.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncDeallocateGraph() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeviceOptions.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeviceOptions.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeviceOptions.html","headline":"mvncDeviceOptions enum [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncDeviceOptions.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncDeviceOptions enum [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceName.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceName.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceName.html","headline":"mvncGetDeviceName() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceName.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncGetDeviceName() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceOption.html","headline":"mvncGetDeviceOption() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetDeviceOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncGetDeviceOption() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGlobalOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGlobalOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGlobalOption.html","headline":"mvncGetGlobalOption() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGlobalOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncGetGlobalOption() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGraphOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGraphOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGraphOption.html","headline":"mvncGetGraphOption() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetGraphOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncGetGraphOption() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetResult.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetResult.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetResult.html","headline":"mvncGetResult() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGetResult.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncGetResult() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGlobalOptions.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGlobalOptions.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGlobalOptions.html","headline":"mvncGlobalOptions enum [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGlobalOptions.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncGlobalOptions enum [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGraphOptions.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGraphOptions.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGraphOptions.html","headline":"mvncGraphOptions enum [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncGraphOptions.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncGraphOptions enum [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncLoadTensor.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncLoadTensor.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncLoadTensor.html","headline":"mvncLoadTensor() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncLoadTensor.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncLoadTensor() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncOpenDevice.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncOpenDevice.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncOpenDevice.html","headline":"mvncOpenDevice() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncOpenDevice.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncOpenDevice() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetDeviceOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetDeviceOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetDeviceOption.html","headline":"mvncSetDeviceOption() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetDeviceOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncSetDeviceOption() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGlobalOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGlobalOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGlobalOption.html","headline":"mvncSetGlobalOption() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGlobalOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncSetGlobalOption() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGraphOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGraphOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGraphOption.html","headline":"mvncSetGraphOption() [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncSetGraphOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncSetGraphOption() [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncStatus.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncStatus.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncStatus.html","headline":"mvncStatus enum [C NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/mvncStatus.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvncStatus enum [C NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/readme.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/readme.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/readme.html","headline":"Intel® Movidius™ Neural Compute SDK C API v1","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/c_api/readme.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Intel® Movidius™ Neural Compute SDK C API v1","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.AllocateGraph.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.AllocateGraph.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.AllocateGraph.html","headline":"Device.AllocateGraph() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.AllocateGraph.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.AllocateGraph() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.CloseDevice.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.CloseDevice.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.CloseDevice.html","headline":"Device.CloseDevice() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.CloseDevice.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.CloseDevice() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.GetDeviceOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.GetDeviceOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.GetDeviceOption.html","headline":"Device.GetDeviceOption() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.GetDeviceOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.GetDeviceOption() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.OpenDevice.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.OpenDevice.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.OpenDevice.html","headline":"Device.OpenDevice() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.OpenDevice.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.OpenDevice() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.SetDeviceOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.SetDeviceOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.SetDeviceOption.html","headline":"Device.SetDeviceOption() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.SetDeviceOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.SetDeviceOption() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.__init__.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.__init__.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.__init__.html","headline":"Device.init() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.__init__.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.init() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.html","headline":"Device class [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Device.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device class [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/DeviceOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/DeviceOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/DeviceOption.html","headline":"DeviceOption enum [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/DeviceOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"DeviceOption enum [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/EnumerateDevices.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/EnumerateDevices.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/EnumerateDevices.html","headline":"EnumerateDevices() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/EnumerateDevices.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"EnumerateDevices() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GetGlobalOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GetGlobalOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GetGlobalOption.html","headline":"GetGlobalOption() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GetGlobalOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"GetGlobalOption() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GlobalOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GlobalOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GlobalOption.html","headline":"GlobalOption enum [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GlobalOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"GlobalOption enum [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.DeallocateGraph.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.DeallocateGraph.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.DeallocateGraph.html","headline":"Graph.DeallocateGraph() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.DeallocateGraph.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.DeallocateGraph() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetGraphOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetGraphOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetGraphOption.html","headline":"Graph.GetGraphOption() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetGraphOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.GetGraphOption() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetResult.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetResult.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetResult.html","headline":"Graph.GetResult() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.GetResult.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.GetResult() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.LoadTensor.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.LoadTensor.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.LoadTensor.html","headline":"Graph.LoadTensor() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.LoadTensor.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.LoadTensor() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.SetGraphOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.SetGraphOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.SetGraphOption.html","headline":"Graph.SetGraphOption() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.SetGraphOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.SetGraphOption() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.html","headline":"Graph class [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Graph.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph class [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GraphOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GraphOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GraphOption.html","headline":"GraphOption enum [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/GraphOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"GraphOption enum [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/SetGlobalOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/SetGlobalOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/SetGlobalOption.html","headline":"SetGlobalOption() [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/SetGlobalOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"SetGlobalOption() [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Status.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Status.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Status.html","headline":"Status enum [Python NCAPI v1]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/Status.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Status enum [Python NCAPI v1]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/readme.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/readme.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/readme.html","headline":"Intel® Movidius™ Neural Compute SDK Python API v1","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/py_api/readme.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Intel® Movidius™ Neural Compute SDK Python API v1","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi1/readme.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi1/readme.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/readme.html","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi1/readme.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceClose.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceClose.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceClose.html","headline":"ncDeviceClose() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceClose.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceClose() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceCreate.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceCreate.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceCreate.html","headline":"ncDeviceCreate() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceCreate.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceCreate() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceDestroy.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceDestroy.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceDestroy.html","headline":"ncDeviceDestroy() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceDestroy.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceDestroy() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceGetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceGetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceGetOption.html","headline":"ncDeviceGetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceGetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceGetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHandle_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHandle_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHandle_t.html","headline":"ncDeviceHandle_t struct [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHandle_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceHandle_t struct [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHwVersion_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHwVersion_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHwVersion_t.html","headline":"ncDeviceHwVersion_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceHwVersion_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceHwVersion_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOpen.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOpen.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOpen.html","headline":"ncDeviceOpen() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOpen.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceOpen() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOption_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOption_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOption_t.html","headline":"ncDeviceOption_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceOption_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceOption_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<td>NC_RO_DEVICE_MAX_EXECUTORS_NUM</td>
<td>int</td>
<td>Unbounded positive int</td>
- <td><em>Reserved for future use.</em></td>
+ <td>Maximum number of executor threads supported on the device. The graph option NC_RW_GRAPH_EXECUTORS_NUM should not exceed this maximum value.</td>
</tr>
<tr>
<td>NC_RO_DEVICE_HW_VERSION</td>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceSetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceSetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceSetOption.html","headline":"ncDeviceSetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceSetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceSetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceState_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceState_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceState_t.html","headline":"ncDeviceState_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncDeviceState_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncDeviceState_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoAllocate.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoAllocate.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoAllocate.html","headline":"ncFifoAllocate() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoAllocate.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoAllocate() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoCreate.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoCreate.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoCreate.html","headline":"ncFifoCreate() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoCreate.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoCreate() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDataType_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDataType_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDataType_t.html","headline":"ncFifoDataType_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDataType_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoDataType_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDestroy.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDestroy.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDestroy.html","headline":"ncFifoDestroy() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoDestroy.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoDestroy() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoGetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoGetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoGetOption.html","headline":"ncFifoGetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoGetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoGetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoHandle_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoHandle_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoHandle_t.html","headline":"ncFifoHandle_t struct [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoHandle_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoHandle_t struct [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoOption_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoOption_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoOption_t.html","headline":"ncFifoOption_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoOption_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoOption_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoReadElem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoReadElem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoReadElem.html","headline":"ncFifoReadElem() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoReadElem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoReadElem() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoRemoveElem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoRemoveElem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoRemoveElem.html","headline":"ncFifoRemoveElem() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoRemoveElem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoRemoveElem() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoSetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoSetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoSetOption.html","headline":"ncFifoSetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoSetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoSetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoState_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoState_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoState_t.html","headline":"ncFifoState_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoState_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoState_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoType_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoType_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoType_t.html","headline":"ncFifoType_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoType_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoType_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoWriteElem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoWriteElem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoWriteElem.html","headline":"ncFifoWriteElem() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncFifoWriteElem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncFifoWriteElem() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalGetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalGetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalGetOption.html","headline":"ncGlobalGetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalGetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGlobalGetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalOption_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalOption_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalOption_t.html","headline":"ncGlobalOption_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalOption_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGlobalOption_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalSetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalSetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalSetOption.html","headline":"ncGlobalSetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGlobalSetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGlobalSetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocate.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocate.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocate.html","headline":"ncGraphAllocate() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocate.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphAllocate() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifos.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifos.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifos.html","headline":"ncGraphAllocateWithFifos() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifos.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphAllocateWithFifos() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifosEx.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifosEx.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifosEx.html","headline":"ncGraphAllocateWithFifosEx() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphAllocateWithFifosEx.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphAllocateWithFifosEx() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphCreate.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphCreate.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphCreate.html","headline":"ncGraphCreate() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphCreate.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphCreate() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphDestroy.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphDestroy.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphDestroy.html","headline":"ncGraphDestroy() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphDestroy.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphDestroy() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphGetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphGetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphGetOption.html","headline":"ncGraphGetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphGetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphGetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphHandle_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphHandle_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphHandle_t.html","headline":"ncGraphHandle_t struct [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphHandle_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphHandle_t struct [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphOption_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphOption_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphOption_t.html","headline":"ncGraphOption_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphOption_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphOption_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<td>NC_RW_GRAPH_<br />EXECUTORS_NUM</td>
<td>int</td>
<td>Positive int up to the device’s <a href="ncDeviceOption_t.html">NC_RO_DEVICE_MAX_<br />EXECUTORS_NUM</a></td>
- <td><em>Reserved for future use.</em></td>
+ <td>This value corresponds to the number of executor threads to be used on the device for the graph. Each executor thread will use the number of shaves specified in the graph file (via the -s option on the compiler command.) The number of executors times the number of shaves specified in the graph file can not exceed the total number of shaves on the device (12 for Myriad2 or 16 for MyriadX.)</td>
</tr>
</tbody>
</table>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInference.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInference.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInference.html","headline":"ncGraphQueueInference() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInference.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphQueueInference() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInferenceWithFifoElem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInferenceWithFifoElem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInferenceWithFifoElem.html","headline":"ncGraphQueueInferenceWithFifoElem() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphQueueInferenceWithFifoElem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphQueueInferenceWithFifoElem() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphSetOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphSetOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphSetOption.html","headline":"ncGraphSetOption() [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphSetOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphSetOption() [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphState_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphState_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphState_t.html","headline":"ncGraphState_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncGraphState_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncGraphState_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncLogLevel_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncLogLevel_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncLogLevel_t.html","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncLogLevel_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncStatus_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncStatus_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncStatus_t.html","headline":"ncStatus_t enum [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncStatus_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncStatus_t enum [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncTensorDescriptor_t.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncTensorDescriptor_t.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncTensorDescriptor_t.html","headline":"ncTensorDescriptor_t struct [C NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/ncTensorDescriptor_t.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"ncTensorDescriptor_t struct [C NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/readme.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/readme.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/readme.html","headline":"Intel® Movidius™ Neural Compute SDK C API v2","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/c_api/readme.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Intel® Movidius™ Neural Compute SDK C API v2","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.close.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.close.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.close.html","headline":"Device.close() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.close.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.close() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.destroy.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.destroy.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.destroy.html","headline":"Device.destroy() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.destroy.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.destroy() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.get_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.get_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.get_option.html","headline":"Device.get_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.get_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.get_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.html","headline":"Device class [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device class [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.open.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.open.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.open.html","headline":"Device.open() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.open.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.open() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.set_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.set_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.set_option.html","headline":"Device.set_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Device.set_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Device.set_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceHwVersion.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceHwVersion.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceHwVersion.html","headline":"enum DeviceHwVersion [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceHwVersion.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"enum DeviceHwVersion [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceOption.html","headline":"enum DeviceOption [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"enum DeviceOption [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<td>RO_MAX_EXECUTORS_NUM</td>
<td>int</td>
<td>Unbounded positive int</td>
- <td><em>Reserved for future use.</em></td>
+ <td>Maximum number of executor threads supported on the device. The graph option RW_EXECUTORS_NUM should not exceed this maximum value.</td>
</tr>
<tr>
<td>RO_HW_VERSION</td>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceState.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceState.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceState.html","headline":"enum DeviceState [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/DeviceState.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"enum DeviceState [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.allocate.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.allocate.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.allocate.html","headline":"Fifo.allocate() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.allocate.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo.allocate() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.destroy.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.destroy.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.destroy.html","headline":"Fifo.destroy() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.destroy.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo.destroy() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.get_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.get_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.get_option.html","headline":"Fifo.get_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.get_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo.get_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.html","headline":"Fifo class [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo class [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.read_elem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.read_elem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.read_elem.html","headline":"Fifo.read_elem() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.read_elem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo.read_elem() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.remove_elem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.remove_elem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.remove_elem.html","headline":"Fifo.remove_elem() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.remove_elem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo.remove_elem() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.set_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.set_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.set_option.html","headline":"Fifo.set_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.set_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo.set_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.write_elem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.write_elem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.write_elem.html","headline":"Fifo.write_elem() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Fifo.write_elem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Fifo.write_elem() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoDataType.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoDataType.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoDataType.html","headline":"FifoDataType enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoDataType.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"FifoDataType enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoOption.html","headline":"FifoOption enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"FifoOption enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoState.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoState.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoState.html","headline":"FifoState enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoState.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"FifoState enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoType.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoType.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoType.html","headline":"FifoType enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/FifoType.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"FifoType enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GlobalOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GlobalOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GlobalOption.html","headline":"GlobalOption enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GlobalOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"GlobalOption enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate.html","headline":"Graph.allocate() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.allocate() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate_with_fifos.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate_with_fifos.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate_with_fifos.html","headline":"Graph.allocate_with_fifos() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.allocate_with_fifos.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.allocate_with_fifos() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.destroy.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.destroy.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.destroy.html","headline":"Graph.destroy() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.destroy.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.destroy() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.get_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.get_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.get_option.html","headline":"Graph.get_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.get_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.get_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.html","headline":"Graph class [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph class [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference.html","headline":"Graph.queue_inference() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.queue_inference() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference_with_fifo_elem.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference_with_fifo_elem.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference_with_fifo_elem.html","headline":"Graph.queue_inference_with_fifo_elem() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.queue_inference_with_fifo_elem.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.queue_inference_with_fifo_elem() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.set_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.set_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.set_option.html","headline":"Graph.set_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Graph.set_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Graph.set_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphOption.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphOption.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphOption.html","headline":"GraphOption enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphOption.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"GraphOption enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<td>RW_EXECUTORS_NUM</td>
<td>int</td>
<td>Positive int up to <a href="DeviceOption.html">RO_MAX_EXECUTORS_NUM</a></td>
- <td><em>Reserved for future use.</em></td>
+ <td>This value corresponds to the number of executor threads to be used on the device for the graph. Each executor thread will use the number of shaves specified in the graph file (via the -s option on the compiler command.) The number of executors times the number of shaves specified in the graph file can not exceed the total number of shaves on the device (12 for Myriad2 or 16 for MyriadX.)</td>
</tr>
</tbody>
</table>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphState.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphState.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphState.html","headline":"GraphState enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/GraphState.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"GraphState enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/LogLevel.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/LogLevel.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/LogLevel.html","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/LogLevel.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Status.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Status.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Status.html","headline":"Status enum [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/Status.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Status enum [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/TensorDescriptor.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/TensorDescriptor.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/TensorDescriptor.html","headline":"TensorDescriptor struct [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/TensorDescriptor.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"TensorDescriptor struct [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/enumerate_devices.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/enumerate_devices.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/enumerate_devices.html","headline":"enumerate_devices() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/enumerate_devices.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"enumerate_devices() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_get_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_get_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_get_option.html","headline":"global_get_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_get_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"global_get_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_set_option.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_set_option.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_set_option.html","headline":"global_set_option() [Python NCAPI v2]","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/global_set_option.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"global_set_option() [Python NCAPI v2]","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/readme.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/readme.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/readme.html","headline":"Intel® Movidius™ Neural Compute SDK Python API v2","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/py_api/readme.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Intel® Movidius™ Neural Compute SDK Python API v2","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/ncapi2/readme.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/ncapi2/readme.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/readme.html","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/ncapi2/readme.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/python_api_migration.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/python_api_migration.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/python_api_migration.html","headline":"Migrating Python Applications from NCAPI v1 to NCAPI v2","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/python_api_migration.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Migrating Python Applications from NCAPI v1 to NCAPI v2","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncapi/readme.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncapi/readme.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncapi/readme.html","headline":"Neural Compute API Overview","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncapi/readme.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Neural Compute API Overview","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/ncs.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/ncs.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/ncs.html","headline":"Intel® Movidius™ Neural Compute Stick","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/ncs.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Intel® Movidius™ Neural Compute Stick","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/release_notes.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/release_notes.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/release_notes.html","headline":"Release Notes","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/release_notes.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Release Notes","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<div class="col-md-9" id="tg-sb-content">
<p>============================================================</p>
<h1 id="movidius-neural-compute-sdk-release-notes">Movidius Neural Compute SDK Release Notes</h1>
-<h1 id="v20801-2018-10-04">V2.08.01 2018-10-04</h1>
+<h1 id="v21001-2019-01-27">V2.10.01 2019-01-27</h1>
<p>============================================================</p>
-<p>This release has been refactored and is now licensed under Apache 2.0 license.</p>
-
-<p>As of V2.05.00, SDK has been refactored and contains many new features and structural changes. It is recommended you read the documentation to familiarize with the new features and contents.</p>
+<p>This is a 2.x release of the Intel NCSDK which is not backwards compatible with the 1.x releases of the Intel NCSDK. Please look at the documentation for differences in tools and APIs.</p>
<h2 id="sdk-notes">SDK Notes:</h2>
<h3 id="new-features">New features:</h3>
<ol>
- <li>Tensorflow 1.09 supported. Tensorflow 1.09 is automatically installed on Ubuntu.</li>
- <li>The compiler has been refactored for best performance however some networks may still see slight performance degradation.</li>
-</ol>
-
-<h4 id="networks">Networks:</h4>
-<ol>
- <li>No significant changes.</li>
+ <li>TensorFlow SSD networks added.</li>
+ <li>Multi threaded execution on device. The graph option NC_RW_GRAPH_EXECUTORS_NUM which was previously limited to values 1 or 2 for Myriad X based devices, but can now be set to any value in the range 1-4 inclusive. This value corresponds to the number of executor threads to be used on the device for the graph. Each executor thread will use the number of shaves specified in the graph file (via the -s option on the compiler command.) The number of executors times the number of shaves specified in the graph file can not exceed the total number of shaves on the device (12 for Myriad2 or 16 for MyriadX.) Does not apply to Myriad 2 based devices</li>
</ol>
-<h4 id="layers">Layers:</h4>
+<h3 id="notable-bug-fixes">Notable bug fixes:</h3>
<ol>
- <li>No change.</li>
+ <li>Force numpy 1.15 to avoid known issue with 1.16 release.</li>
+ <li>Force scikit-image to >= 0.13.0 and <= 0.14.0 to address issue with 0.12 RPi.</li>
</ol>
<h2 id="api-notes">API Notes:</h2>
</ol>
<h2 id="network-notes">Network Notes:</h2>
-<p>Support for the following networks has been tested.</p>
<h3 id="caffe">Caffe</h3>
+<h4 id="tested-networks">Tested networks:</h4>
+<ol>
+ <li>AlexNet</li>
+ <li>GoogLeNet v1</li>
+ <li>MobileNet v1</li>
+ <li>Resnet 18</li>
+ <li>Resnet 50</li>
+ <li>SqueezeNet v1.1</li>
+ <li>SSD MobileNet v1</li>
+ <li>Tiny Yolo v1</li>
+ <li>VGG 16 (Configuration D)</li>
+ <li>RefineDet (Hardware only, see erratum #21)</li>
+</ol>
+
+<h4 id="untested-networks-that-likely-work">Untested networks that likely work:</h4>
<ol>
- <li>GoogleNet V1</li>
- <li>SqueezeNet V1.1</li>
<li>LeNet</li>
<li>CaffeNet</li>
<li>VGG (Sousmith VGG_A)</li>
- <li>Alexnet</li>
- <li>TinyYolo v1</li>
- <li>VGG 16 (Configuration D)</li>
- <li>Resnet 18</li>
- <li>Resnet 50</li>
- <li>Mobilenet v1</li>
- <li>SSD Mobilenet v1</li>
+ <li>Tiny Yolo v2</li>
</ol>
-<h3 id="tensorflow-r109">Tensorflow r1.09</h3>
+<h3 id="tensorflow-r109">TensorFlow (r1.09)</h3>
+<h4 id="tested-networks-1">Tested networks:</h4>
<ol>
+ <li>Facenet based on inception-resnet-v1</li>
<li>inception-v1</li>
- <li>inception-v2</li>
+ <li>inception-v2 (GoogLeNet v2)</li>
<li>inception-v3</li>
<li>inception-v4</li>
<li>Inception ResNet v2</li>
- <li>VGG 16 (Configuration D)</li>
<li>Mobilenet_V1_1.0 variants:
<ul>
<li>MobileNet_v1_1.0_224</li>
</ul>
</li>
<li>TinyYolo v2 via Darkflow tranformation</li>
- <li>facenet based on inception-resnet-v1</li>
+ <li>VGG 16 (Configuration D)</li>
+ <li>SSD Inception v2</li>
+ <li>SSD Mobilenet v1</li>
+ <li>SSD Mobilenet v2</li>
</ol>
-<h2 id="firmware-features">Firmware Features:</h2>
+<h2 id="firmware-features-in-shaves">Firmware Features in shaves:</h2>
<ol>
<li>Convolutions
<ul>
- <li>The following convolution cases have been extensively tested (for stride s): 1x1s1, 3x3s1, 5x5s1, 7x7s1, 7x7s2, 7x7s4, 1x3, 3x1, 1x7, 7x1</li>
+ <li>The following convolution cases have been extensively tested (for stride s): 1x1s1,3x3s1,5x5s1,7x7s1, 7x7s2, 7x7s4</li>
<li>Group convolution</li>
<li>Depth Convolution</li>
<li>Dilated convolution</li>
</ul>
</li>
- <li>Max Pooling Radix NxM with Stride S</li>
- <li>Average Pooling: Radix NxM with Stride S, Global average pooling</li>
+ <li>Max Pooling Radix NxM with Stride S (See erratum #15)</li>
+ <li>Average Pooling: Radix NxM with Stride S, Global average pooling (See erratum #15)</li>
<li>Local Response Normalization</li>
- <li>Relu, Relu-X, Prelu (see erratum #09)</li>
+ <li>Relu, Relu-X, Prelu, Leaky-Relu (see erratum #6)</li>
<li>Softmax</li>
<li>Sigmoid</li>
- <li>Tanh (see erratum #09)</li>
+ <li>Tanh (see erratum #6)</li>
<li>Deconvolution</li>
- <li>Slice</li>
+ <li>Slice (in SW via crop layer)</li>
<li>Scale</li>
<li>ElmWise unit : supported operations - sum, prod, max</li>
- <li>Fully Connected Layers (limited support – see erratum #8)</li>
+ <li>Fully Connected Layers (limited support – : see erratum #10)</li>
<li>Reshape</li>
<li>Flatten</li>
<li>Power</li>
- <li>Crop</li>
+ <li>Crop (SW in ChannelMinor format only)</li>
<li>ELU</li>
- <li>Batch Normalization</li>
+ <li>Batch Normalization (fused)</li>
<li>L2 Normalization</li>
<li>Input Layer</li>
</ol>
+<h2 id="firmware-features-in-nces">Firmware Features in NCEs</h2>
+<ol>
+ <li>Convolution</li>
+ <li>Max Pooling Radix NxM with Stride S (See erratum #15)</li>
+ <li>Average Pooling: Radix NxM with Stride S, Global average pooling</li>
+ <li>Fully Connected Layers</li>
+ <li>Relu, Relu-X, Prelu, Leaky-Relu</li>
+ <li>Fused Non-overlapping pooling</li>
+</ol>
+
<h2 id="bug-fixes">Bug Fixes:</h2>
<ol>
- <li>Fixed: Various profiler issues.</li>
+ <li>Docker now works with multiple devices.</li>
</ol>
<h2 id="errata">Errata:</h2>
<li>Depth-wise convolution may not be supported if channel multiplier > 1.</li>
<li>If working behind proxy, proper proxy settings must be applied for the installer to succeed.</li>
<li>Although improved, the installer is known to take a long time on Raspberry Pi. Date/time must be correct for SDK installation to succeed on Raspberry Pi.</li>
- <li>The Docker Non-privileged mode of operation as described in the documentation has an issue with multiple NCS devices.</li>
- <li>Inception V1 obtained values are invalid for mvNCCheck.</li>
<li>Convolution may fail to find a solution for very large inputs.</li>
<li>Depth-wise convolution is tested for 3x3 kernels.</li>
<li>A TanH layer’s “top” & “bottom” blobs must have different names. This is different from a ReLU layer, whose “top” & “bottom” should be named the same as its previous layer.</li>
<li>On upgrade from previous versions of SDK, the installer will detect if openCV 3.3.0 was installed, for example from http://github.com/movidius/ncappzoo/apps/stream_ty_gn/install-opencv-from_source.sh. For this release, the installer will prompt to uninstall this specific version of openCV. This is required for ssd-caffe to run correctly. After installation is complete, openCV 3.3.0 can be re-installed and the ssd-caffe will continue to function.</li>
- <li>The MTCNN network in the app zoo is showing unexpected behavior for this release, and is being investigated. To use MTCNN, please use version 1.12.01 of SDK.</li>
- <li>Although mvNCCheck shows per-pixel error for some metrics for mobilenet_v1_224, classification results are not impacted.</li>
+ <li>The MTCNN network in the app zoo is showing unexpected behaviour for this release, and is being investigated. To use MTCNN, please use version 1.12.00 of SDK.</li>
+ <li>For Caffe networks, although mvNCCheck shows per-pixel error for some metrics for mobilenet_v1_224 and hardware GoogLeNet, classification results are not impacted.</li>
<li>Only Ubuntu 16.04 LTS is supported as a host OS for this release. Ubuntu 18.04 is being evaluated.</li>
- <li>Group Deconvolution with “group” parameter != 1 is not supported on the new parser.</li>
<li>For this release, use of Myriad devices connected to some specific hubs can fail. If you encounter errors, please try direct connect to PC port, or try a different hub.</li>
- <li>Loading multiple graphs into one Myriad device may show stability issues with this release.</li>
+ <li>Layer optimization for layers that run on HW are seen in the profiler graph. Profiler graph, if using new parser, shows multiple connections to and out of depth wise convolutions and some other implicit layers. Note that the different groups of depthwise convolutions (optimized for HW) don’t show up explicitly in the profiler graph.</li>
+ <li>For this release, networks with small input channels on Tensorflow may experience a performance penalty.</li>
+ <li>Non-Overlapping Pooling can run as post operation on HW and as a separate operation in SW. Overlapping pooling is supported as a separate operation on both HW and SW</li>
+ <li>FC with input NxNxD where N is higher than 1 are not supported natively on CNN Engines. Therefore, they run as a convolution
+which requires modification of prototxt for this release.</li>
+ <li>A Caffe Scale layer only supports 1 input tensor.</li>
+ <li>The –accuracy_adjust=VALUES flag should be used if accuracy for HW networks is low when the network is compiled with the
+default parser. A setting of –accuracy_adjust=”ALL:256” has been found to improve the accuracy for most networks.</li>
+ <li>For some networks, compiling and running a graph with 5 and 15 shaves is not supported.</li>
+ <li>Average pooling in CNN Engine would compute incorrect values near the edges as the scale factor applied is constant depending
+on the size of the kernel.</li>
+ <li>RefineDet must be compiled to run in hardware (with the –ma2480 flag) for this release</li>
</ol>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/support.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/support.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/support.html","headline":"Support","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/support.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Support","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tensorflow.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tensorflow.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tensorflow.html","headline":"TensorFlow Support","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tensorflow.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"TensorFlow Support","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tf_compile_guidance.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tf_compile_guidance.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tf_compile_guidance.html","headline":"Guidance for Compiling TensorFlow Networks","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tf_compile_guidance.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Guidance for Compiling TensorFlow Networks","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tf_modelzoo.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tf_modelzoo.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tf_modelzoo.html","headline":"Guidance for Compiling TensorFlow™ Model Zoo Networks","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tf_modelzoo.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Guidance for Compiling TensorFlow™ Model Zoo Networks","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tf_slim.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tf_slim.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tf_slim.html","headline":"Guidance for Compiling TensorFlow-Slim Networks","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tf_slim.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Guidance for Compiling TensorFlow-Slim Networks","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tools/check.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tools/check.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tools/check.html","headline":"mvNCCheck","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tools/check.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvNCCheck","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tools/compile.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tools/compile.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tools/compile.html","headline":"mvNCCompile","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tools/compile.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvNCCompile","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tools/profile.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tools/profile.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tools/profile.html","headline":"mvNCProfile","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tools/profile.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"mvNCProfile","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/tools/tools_overview.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/tools/tools_overview.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/tools/tools_overview.html","headline":"Intel® Movidius™ Neural Compute SDK Toolkit","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/tools/tools_overview.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Intel® Movidius™ Neural Compute SDK Toolkit","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<tbody>
<tr>
<td><a href="compile.html">mvNCCompile</a></td>
- <td>Converts a Caffe/TensorFlow* network and associated weights to an internal Intel® Movidius™ compiled format for use with the <a href="% link ncapi/readme.html %">Intel® Movidius™ Neural Compute API</a>.</td>
+ <td>Converts a Caffe/TensorFlow* network and associated weights to an internal Intel® Movidius™ compiled format for use with the Intel® Movidius™ Neural Compute API.</td>
</tr>
<tr>
<td><a href="profile.html">mvNCProfile</a></td>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/virtualenv.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/virtualenv.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/virtualenv.html","headline":"Installation and Configuration with virtualenv","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/virtualenv.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Installation and Configuration with virtualenv","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
<link rel="canonical" href="https://movidius.github.io/ncsdk/vm_config.html" />
<meta property="og:url" content="https://movidius.github.io/ncsdk/vm_config.html" />
<script type="application/ld+json">
-{"description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","@type":"WebPage","url":"https://movidius.github.io/ncsdk/vm_config.html","headline":"Installation and Configuration with a Virtual Machine","@context":"http://schema.org"}</script>
+{"url":"https://movidius.github.io/ncsdk/vm_config.html","description":"Documentation for the Intel® Movidius™ Neural Compute SDK and Intel® Movidius™ Neural Compute API.","headline":"Installation and Configuration with a Virtual Machine","@type":"WebPage","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<script>
<footer>
<div class="row">
<div class="col-lg-12 footer">
- ©2018 Intel Corporation <br />
+ ©2019 Intel Corporation <br />
* Other names and brands may be claimed as the property of others.
</div>
</div>
printf(" ncStatus value: %d\n", retCode);
exit(-1);
}
-
- // deviceHandle is ready to use now.
+
+ // deviceHandle is ready to use now.
// Pass it to other NC API calls as needed and close it when finished.
printf("Hello NCS! Device opened normally.\n");
// Reads a graph file from the file system and copies it to a buffer
// that is allocated internally via malloc.
-// Param path is a pointer to a null terminate string that must be set to the path to the
+// Param path is a pointer to a null terminate string that must be set to the path to the
// graph file on disk before calling
-// Param length must must point to an integer that will get set to the number of bytes
+// Param length must must point to an integer that will get set to the number of bytes
// allocated for the buffer
// Returns pointer to the buffer allcoated.
// Note: The caller must free the buffer returned.
return buf;
}
-// Reads an image file from disk (8 bit per channel RGB .jpg or .png or other formats
-// supported by stbi_load.) Resizes it, subtracts the mean from each channel, and then
-// converts to an array of half precision floats that is suitable to pass to ncFifoWriteElem.
-// The returned array will contain 3 floats for each pixel in the image the first float
-// for a pixel is it's the Blue channel value the next is Green and then Red. The array
+// Reads an image file from disk (8 bit per channel RGB .jpg or .png or other formats
+// supported by stbi_load.) Resizes it, subtracts the mean from each channel, and then
+// converts to an array of half precision floats that is suitable to pass to ncFifoWriteElem.
+// The returned array will contain 3 floats for each pixel in the image the first float
+// for a pixel is it's the Blue channel value the next is Green and then Red. The array
// contains the pixel values in row major order.
-// Param path is a pointer to a null terminated string that must be set to the path of the
+// Param path is a pointer to a null terminated string that must be set to the path of the
// to read before calling.
-// Param reqsize must be set to the width and height that the image will be resized to.
+// Param reqsize must be set to the width and height that the image will be resized to.
// Its assumed width and height are the same size.
// Param mean must be set to point to an array of 3 floating point numbers. The three
// numbers are the mean values for the blue, green, and red channels in that order.
// Opens one NCS device.
// Param deviceIndex is the zero-based index of the device to open
-// Param deviceHandle is the address of a device handle that will be set
+// Param deviceHandle is the address of a device handle that will be set
// if opening is successful
// Returns true if works or false if doesn't.
bool OpenOneNCS(int deviceIndex, struct ncDeviceHandle_t **deviceHandle)
printf("Error - NCS device at index %d not found\n", deviceIndex);
return false;
}
-
+
// Try to open the NCS device via the device name
retCode = ncDeviceOpen(*deviceHandle);
if (retCode != NC_OK)
- { // failed to open the device.
+ { // failed to open the device.
printf("Error - Could not open NCS device at index %d\n", deviceIndex);
return false;
}
-
- // deviceHandle is ready to use now.
+
+ // deviceHandle is ready to use now.
// Pass it to other NC API calls as needed and close it when finished.
printf("Successfully opened NCS device at index %d %p!\n", deviceIndex, *deviceHandle);
return true;
retCode = ncGraphAllocate(deviceHandle, *graphHandle, graphFileBuf, graphFileLen);
if (retCode != NC_OK)
{ // error allocating graph
- printf("Could not allocate graph for file: %s\n", graphFilename);
+ printf("Could not allocate graph for file: %s\n", graphFilename);
printf("Error from ncGraphAllocate is: %d\n", retCode);
return false;
}
- // successfully allocated graph. Now graphHandle is ready to go.
+ // successfully allocated graph. Now graphHandle is ready to go.
// use graphHandle for other API calls and call ncGraphDestroy
// when done with it.
printf("Successfully allocated graph for %s\n", graphFilename);
// Runs an inference and outputs result to console
-// Param graphHandle is the graphHandle from mvncAllocateGraph for the network that
+// Param graphHandle is the graphHandle from mvncAllocateGraph for the network that
// will be used for the inference
// Param imageFileName is the name of the image file that will be used as input for
// the neural network for the inference
unsigned int length;
// LoadImage will read image from disk, convert channels to floats
- // subtract network mean for each value in each channel. Then,
+ // subtract network mean for each value in each channel. Then,
// return pointer to the buffer of 32Bit floats
float* imageBuf = LoadImage(imageFileName, networkDim, networkMean);
- // calculate the length of the buffer that contains the floats.
- // 3 channels * width * height * sizeof a 32bit float
+ // calculate the length of the buffer that contains the floats.
+ // 3 channels * width * height * sizeof a 32bit float
unsigned int lenBuf = 3*networkDim*networkDim*sizeof(*imageBuf);
// Read descriptor for input tensor
free(imageBuf);
// the inference has been started, now call ncFifoReadElem() for the
- // inference result
+ // inference result
printf("Successfully loaded the tensor for image %s\n", imageFileName);
-
+
unsigned int outputDataLength;
length = sizeof(unsigned int);
retCode = ncFifoGetOption(bufferOut, NC_RO_FIFO_ELEMENT_DATA_SIZE, &outputDataLength, &length);
graphHandleSqueezeNet = NULL;
retCode = ncGraphDestroy(&graphHandleGoogleNet);
graphHandleGoogleNet = NULL;
-
+
retCode = ncDeviceClose(devHandle1);
devHandle1 = NULL;
output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0)
stbir_resize_uint8_srgb_edgemode(
- input_pixels , in_w , in_h , 0,
- output_pixels, out_w, out_h, 0,
+ input_pixels , in_w , in_h , 0,
+ output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0, STBIR_EDGE_CLAMP)
// WRAP/REFLECT/ZERO
Jorge L Rodriguez: Implementation
Sean Barrett: API design, optimizations
Aras Pranckevicius: bugfix
-
+
REVISIONS
0.94 (2017-03-18) fixed warnings
0.93 (2017-03-03) fixed bug with certain combinations of heights
int num_channels);
-// The following functions interpret image data as gamma-corrected sRGB.
+// The following functions interpret image data as gamma-corrected sRGB.
// Specify STBIR_ALPHA_CHANNEL_NONE if you have no alpha channel,
// or otherwise provide the index of the alpha channel. Flags value
// of 0 will probably do the right thing if you're not sure what
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1);
0x44c20798, 0x488e071e, 0x4c1c06b6, 0x4f76065d, 0x52a50610, 0x55ac05cc, 0x5892058f, 0x5b590559,
0x5e0c0a23, 0x631c0980, 0x67db08f6, 0x6c55087f, 0x70940818, 0x74a007bd, 0x787d076c, 0x7c330723,
};
-
+
static stbir_uint8 stbir__linear_to_srgb_uchar(float in)
{
static const stbir__FP32 almostone = { 0x3f7fffff }; // 1-eps
static const stbir__FP32 minval = { (127-13) << 23 };
stbir_uint32 tab,bias,scale,t;
stbir__FP32 f;
-
+
// Clamp to [2^(-13), 1-eps]; these two values map to 0 and 1, respectively.
// The tests are carefully written so that NaNs map to 0, same as in the reference
// implementation.
in = minval.f;
if (in > almostone.f)
in = almostone.f;
-
+
// Do the table lookup and unpack bias, scale
f.f = in;
tab = fp32_to_srgb8_tab4[(f.u - minval.u) >> 20];
bias = (tab >> 16) << 9;
scale = tab & 0xffff;
-
+
// Grab next-highest mantissa bits and perform linear interpolation
t = (f.u >> 12) & 0xff;
return (unsigned char) ((bias + scale*t) >> 16);
return 0;
result = stbir__resize_allocated(&info, input_data, input_stride_in_bytes,
- output_data, output_stride_in_bytes,
+ output_data, output_stride_in_bytes,
alpha_channel, flags, type,
edge_horizontal, edge_vertical,
colorspace, extra_memory, memory_required);
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context)
{
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1)
------------------------------------------------------------------------------
ALTERNATIVE A - MIT License
Copyright (c) 2017 Sean Barrett
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all
+The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
------------------------------------------------------------------------------
ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
-Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
-software, either in source code form or as a compiled binary, for any purpose,
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
-In jurisdictions that recognize copyright laws, the author or authors of this
-software dedicate any and all copyright interest in the software to the public
-domain. We make this dedication for the benefit of the public at large and to
-the detriment of our heirs and successors. We intend this dedication to be an
-overt act of relinquishment in perpetuity of all present and future rights to
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
------------------------------------------------------------------------------
*/
.PHONY: check
check: prototxt caffemodel
@echo "\nmaking check"
-#-${NCCHECK} -w ${CAFFEMODEL_FILENAME} -i ../../data/images/cat.jpg -s 12 -id 281 ${PROTOTXT_FILENAME} -S 255 -M ../../data/ilsvrc12/ilsvrc_2012_mean.npy
- -${NCCHECK} -w ${CAFFEMODEL_FILENAME} -i ../../data/images/cat.jpg -s 12 -id 281 ${PROTOTXT_FILENAME} -M 120 -S 255 -metric top1
+ -${NCCHECK} -w ${CAFFEMODEL_FILENAME} -i ../../data/images/nps_electric_guitar.png -s 12 -id 546 ${PROTOTXT_FILENAME} -M 120 -S 255 -metric top1
.PHONY: run
run: compile
// Try to open the NCS device via the device name
retCode = ncDeviceOpen(deviceHandle);
if (retCode != NC_OK)
- { // failed to open the device.
+ { // failed to open the device.
printf("Could not open NCS device\n");
exit(-1);
}
-
- // deviceHandle is ready to use now.
+
+ // deviceHandle is ready to use now.
// Pass it to other NC API calls as needed and close it when finished.
printf("Successfully opened NCS device!\n");
retCode = ncGraphAllocate(deviceHandle, graphHandle, graphFileBuf, graphFileLen);
if (retCode != NC_OK)
{ // error allocating graph
- printf("Could not allocate graph for file: %s\n", GRAPH_FILE_NAME);
+ printf("Could not allocate graph for file: %s\n", GRAPH_FILE_NAME);
printf("Error from ncGraphAllocate is: %d\n", retCode);
}
else
- { // successfully allocated graph. Now graphHandle is ready to go.
+ { // successfully allocated graph. Now graphHandle is ready to go.
// use graphHandle for other API calls and call mvncDeallocateGraph
// when done with it.
printf("Successfully allocated graph for %s\n", GRAPH_FILE_NAME);
output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0)
stbir_resize_uint8_srgb_edgemode(
- input_pixels , in_w , in_h , 0,
- output_pixels, out_w, out_h, 0,
+ input_pixels , in_w , in_h , 0,
+ output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0, STBIR_EDGE_CLAMP)
// WRAP/REFLECT/ZERO
Jorge L Rodriguez: Implementation
Sean Barrett: API design, optimizations
Aras Pranckevicius: bugfix
-
+
REVISIONS
0.94 (2017-03-18) fixed warnings
0.93 (2017-03-03) fixed bug with certain combinations of heights
int num_channels);
-// The following functions interpret image data as gamma-corrected sRGB.
+// The following functions interpret image data as gamma-corrected sRGB.
// Specify STBIR_ALPHA_CHANNEL_NONE if you have no alpha channel,
// or otherwise provide the index of the alpha channel. Flags value
// of 0 will probably do the right thing if you're not sure what
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1);
0x44c20798, 0x488e071e, 0x4c1c06b6, 0x4f76065d, 0x52a50610, 0x55ac05cc, 0x5892058f, 0x5b590559,
0x5e0c0a23, 0x631c0980, 0x67db08f6, 0x6c55087f, 0x70940818, 0x74a007bd, 0x787d076c, 0x7c330723,
};
-
+
static stbir_uint8 stbir__linear_to_srgb_uchar(float in)
{
static const stbir__FP32 almostone = { 0x3f7fffff }; // 1-eps
static const stbir__FP32 minval = { (127-13) << 23 };
stbir_uint32 tab,bias,scale,t;
stbir__FP32 f;
-
+
// Clamp to [2^(-13), 1-eps]; these two values map to 0 and 1, respectively.
// The tests are carefully written so that NaNs map to 0, same as in the reference
// implementation.
in = minval.f;
if (in > almostone.f)
in = almostone.f;
-
+
// Do the table lookup and unpack bias, scale
f.f = in;
tab = fp32_to_srgb8_tab4[(f.u - minval.u) >> 20];
bias = (tab >> 16) << 9;
scale = tab & 0xffff;
-
+
// Grab next-highest mantissa bits and perform linear interpolation
t = (f.u >> 12) & 0xff;
return (unsigned char) ((bias + scale*t) >> 16);
return 0;
result = stbir__resize_allocated(&info, input_data, input_stride_in_bytes,
- output_data, output_stride_in_bytes,
+ output_data, output_stride_in_bytes,
alpha_channel, flags, type,
edge_horizontal, edge_vertical,
colorspace, extra_memory, memory_required);
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context)
{
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1)
------------------------------------------------------------------------------
ALTERNATIVE A - MIT License
Copyright (c) 2017 Sean Barrett
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all
+The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
------------------------------------------------------------------------------
ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
-Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
-software, either in source code form or as a compiled binary, for any purpose,
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
-In jurisdictions that recognize copyright laws, the author or authors of this
-software dedicate any and all copyright interest in the software to the public
-domain. We make this dedication for the benefit of the public at large and to
-the detriment of our heirs and successors. We intend this dedication to be an
-overt act of relinquishment in perpetuity of all present and future rights to
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
------------------------------------------------------------------------------
*/
// Try to open the NCS device via the device name
retCode = ncDeviceOpen(deviceHandle);
if (retCode != NC_OK)
- { // failed to open the device.
+ { // failed to open the device.
printf("Could not open NCS device\n");
exit(-1);
}
-
- // deviceHandle is ready to use now.
+
+ // deviceHandle is ready to use now.
// Pass it to other NC API calls as needed and close it when finished.
printf("Successfully opened NCS device!\n");
retCode = ncGraphAllocate(deviceHandle, graphHandle, graphFileBuf, graphFileLen);
if (retCode != NC_OK)
{ // error allocating graph
- printf("Could not allocate graph for file: %s\n", GRAPH_FILE_NAME);
+ printf("Could not allocate graph for file: %s\n", GRAPH_FILE_NAME);
printf("Error from ncGraphAllocate is: %d\n", retCode);
}
else
- { // successfully allocated graph. Now graphHandle is ready to go.
+ { // successfully allocated graph. Now graphHandle is ready to go.
// use graphHandle for other API calls and call mvncDeallocateGraph
// when done with it.
printf("Successfully allocated graph for %s\n", GRAPH_FILE_NAME);
output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0)
stbir_resize_uint8_srgb_edgemode(
- input_pixels , in_w , in_h , 0,
- output_pixels, out_w, out_h, 0,
+ input_pixels , in_w , in_h , 0,
+ output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0, STBIR_EDGE_CLAMP)
// WRAP/REFLECT/ZERO
Jorge L Rodriguez: Implementation
Sean Barrett: API design, optimizations
Aras Pranckevicius: bugfix
-
+
REVISIONS
0.94 (2017-03-18) fixed warnings
0.93 (2017-03-03) fixed bug with certain combinations of heights
int num_channels);
-// The following functions interpret image data as gamma-corrected sRGB.
+// The following functions interpret image data as gamma-corrected sRGB.
// Specify STBIR_ALPHA_CHANNEL_NONE if you have no alpha channel,
// or otherwise provide the index of the alpha channel. Flags value
// of 0 will probably do the right thing if you're not sure what
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1);
0x44c20798, 0x488e071e, 0x4c1c06b6, 0x4f76065d, 0x52a50610, 0x55ac05cc, 0x5892058f, 0x5b590559,
0x5e0c0a23, 0x631c0980, 0x67db08f6, 0x6c55087f, 0x70940818, 0x74a007bd, 0x787d076c, 0x7c330723,
};
-
+
static stbir_uint8 stbir__linear_to_srgb_uchar(float in)
{
static const stbir__FP32 almostone = { 0x3f7fffff }; // 1-eps
static const stbir__FP32 minval = { (127-13) << 23 };
stbir_uint32 tab,bias,scale,t;
stbir__FP32 f;
-
+
// Clamp to [2^(-13), 1-eps]; these two values map to 0 and 1, respectively.
// The tests are carefully written so that NaNs map to 0, same as in the reference
// implementation.
in = minval.f;
if (in > almostone.f)
in = almostone.f;
-
+
// Do the table lookup and unpack bias, scale
f.f = in;
tab = fp32_to_srgb8_tab4[(f.u - minval.u) >> 20];
bias = (tab >> 16) << 9;
scale = tab & 0xffff;
-
+
// Grab next-highest mantissa bits and perform linear interpolation
t = (f.u >> 12) & 0xff;
return (unsigned char) ((bias + scale*t) >> 16);
return 0;
result = stbir__resize_allocated(&info, input_data, input_stride_in_bytes,
- output_data, output_stride_in_bytes,
+ output_data, output_stride_in_bytes,
alpha_channel, flags, type,
edge_horizontal, edge_vertical,
colorspace, extra_memory, memory_required);
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context)
{
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1)
------------------------------------------------------------------------------
ALTERNATIVE A - MIT License
Copyright (c) 2017 Sean Barrett
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all
+The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
------------------------------------------------------------------------------
ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
-Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
-software, either in source code form or as a compiled binary, for any purpose,
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
-In jurisdictions that recognize copyright laws, the author or authors of this
-software dedicate any and all copyright interest in the software to the public
-domain. We make this dedication for the benefit of the public at large and to
-the detriment of our heirs and successors. We intend this dedication to be an
-overt act of relinquishment in perpetuity of all present and future rights to
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
------------------------------------------------------------------------------
*/
// Try to open the NCS device via the device name
retCode = ncDeviceOpen(deviceHandle);
if (retCode != NC_OK)
- { // failed to open the device.
+ { // failed to open the device.
printf("Could not open NCS device\n");
exit(-1);
}
-
- // deviceHandle is ready to use now.
+
+ // deviceHandle is ready to use now.
// Pass it to other NC API calls as needed and close it when finished.
printf("Successfully opened NCS device!\n");
retCode = ncGraphAllocate(deviceHandle, graphHandle, graphFileBuf, graphFileLen);
if (retCode != NC_OK)
{ // error allocating graph
- printf("Could not allocate graph for file: %s\n", GRAPH_FILE_NAME);
+ printf("Could not allocate graph for file: %s\n", GRAPH_FILE_NAME);
printf("Error from ncGraphAllocate is: %d\n", retCode);
}
else
- { // successfully allocated graph. Now graphHandle is ready to go.
+ { // successfully allocated graph. Now graphHandle is ready to go.
// use graphHandle for other API calls and call mvncDeallocateGraph
// when done with it.
printf("Successfully allocated graph for %s\n", GRAPH_FILE_NAME);
output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0)
stbir_resize_uint8_srgb_edgemode(
- input_pixels , in_w , in_h , 0,
- output_pixels, out_w, out_h, 0,
+ input_pixels , in_w , in_h , 0,
+ output_pixels, out_w, out_h, 0,
num_channels , alpha_chan , 0, STBIR_EDGE_CLAMP)
// WRAP/REFLECT/ZERO
Jorge L Rodriguez: Implementation
Sean Barrett: API design, optimizations
Aras Pranckevicius: bugfix
-
+
REVISIONS
0.94 (2017-03-18) fixed warnings
0.93 (2017-03-03) fixed bug with certain combinations of heights
int num_channels);
-// The following functions interpret image data as gamma-corrected sRGB.
+// The following functions interpret image data as gamma-corrected sRGB.
// Specify STBIR_ALPHA_CHANNEL_NONE if you have no alpha channel,
// or otherwise provide the index of the alpha channel. Flags value
// of 0 will probably do the right thing if you're not sure what
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context);
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1);
0x44c20798, 0x488e071e, 0x4c1c06b6, 0x4f76065d, 0x52a50610, 0x55ac05cc, 0x5892058f, 0x5b590559,
0x5e0c0a23, 0x631c0980, 0x67db08f6, 0x6c55087f, 0x70940818, 0x74a007bd, 0x787d076c, 0x7c330723,
};
-
+
static stbir_uint8 stbir__linear_to_srgb_uchar(float in)
{
static const stbir__FP32 almostone = { 0x3f7fffff }; // 1-eps
static const stbir__FP32 minval = { (127-13) << 23 };
stbir_uint32 tab,bias,scale,t;
stbir__FP32 f;
-
+
// Clamp to [2^(-13), 1-eps]; these two values map to 0 and 1, respectively.
// The tests are carefully written so that NaNs map to 0, same as in the reference
// implementation.
in = minval.f;
if (in > almostone.f)
in = almostone.f;
-
+
// Do the table lookup and unpack bias, scale
f.f = in;
tab = fp32_to_srgb8_tab4[(f.u - minval.u) >> 20];
bias = (tab >> 16) << 9;
scale = tab & 0xffff;
-
+
// Grab next-highest mantissa bits and perform linear interpolation
t = (f.u >> 12) & 0xff;
return (unsigned char) ((bias + scale*t) >> 16);
return 0;
result = stbir__resize_allocated(&info, input_data, input_stride_in_bytes,
- output_data, output_stride_in_bytes,
+ output_data, output_stride_in_bytes,
alpha_channel, flags, type,
edge_horizontal, edge_vertical,
colorspace, extra_memory, memory_required);
STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
void *alloc_context)
{
return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context)
{
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float x_scale, float y_scale,
void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
stbir_datatype datatype,
int num_channels, int alpha_channel, int flags,
- stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
stbir_filter filter_horizontal, stbir_filter filter_vertical,
stbir_colorspace space, void *alloc_context,
float s0, float t0, float s1, float t1)
------------------------------------------------------------------------------
ALTERNATIVE A - MIT License
Copyright (c) 2017 Sean Barrett
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all
+The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
------------------------------------------------------------------------------
ALTERNATIVE B - Public Domain (www.unlicense.org)
This is free and unencumbered software released into the public domain.
-Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
-software, either in source code form or as a compiled binary, for any purpose,
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
-In jurisdictions that recognize copyright laws, the author or authors of this
-software dedicate any and all copyright interest in the software to the public
-domain. We make this dedication for the benefit of the public at large and to
-the detriment of our heirs and successors. We intend this dedication to be an
-overt act of relinquishment in perpetuity of all present and future rights to
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
------------------------------------------------------------------------------
*/
.PHONY: profile
profile: weights
- ${NCPROFILE} --new-parser -s 12 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
+ ${NCPROFILE} -s 12 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
.PHONY: browse_profile
browse_profile: weights profile
.PHONY: compile
compile: weights
- test -f graph || ${NCCOMPILE} --new-parser -s 12 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
+ test -f graph || ${NCCOMPILE} -s 12 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
.PHONY: check
check: weights
- ${NCCHECK} --new-parser -s 12 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG} -i ../../data/images/cat.jpg -metric top1 -cs 2,1,0
+ ${NCCHECK} -s 12 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG} -i ../../data/images/cat.jpg -metric top1 -cs 2,1,0
.PHONY: run
run: compile
.PHONY: profile
profile: weights
- ${NCPROFILE} --new-parser -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
+ ${NCPROFILE} -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
.PHONY: browse_profile
browse_profile: weights
- ${NCPROFILE} --new-parser -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
+ ${NCPROFILE} -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
firefox output_report.html &
.PHONY: weights
.PHONY: compile
compile: weights
- test -f graph || ${NCCOMPILE} --new-parser -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
+ test -f graph || ${NCCOMPILE} -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG}
.PHONY: check
check: weights
- -${NCCHECK} --new-parser -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG} -i ../../data/images/cat.jpg -metric top1 -cs 0,1,2
+ -${NCCHECK} -s 4 ${MODEL_FILENAME} ${INPUT_NODE_FLAG} ${OUTPUT_NODE_FLAG} -i ../../data/images/cat.jpg -metric top1 -cs 0,1,2
.PHONY: run
run: compile
XLINK_BASE=$(MV_COMMON_BASE)/components/XLink
XLINK_SRCS=$(XLINK_BASE)/pc/usb_boot.c
+XLINK_SRCS+=$(XLINK_BASE)/pc/pcie_host.c
XLINK_SRCS+=$(XLINK_BASE)/shared/XLink.c
XLINK_SRCS+=$(XLINK_BASE)/shared/XLinkDispatcher.c
XLINK_SRCS+=$(XLINK_BASE)/pc/XLinkPlatform.c
-/*
-*
-* Copyright (c) 2017-2018 Intel Corporation. All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+// Copyright (c) 2017-2018 Intel Corporation. All Rights Reserved
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
#include <stdio.h>
#include <stdlib.h>
#include <mvnc.h>
number_of_devices_to_boot = atoi(argv[++i]);
continue;
}
- }
+ }
else {
printf("Error: unsupported option %s\n", argv[i]);
return help();
idx++;
continue;
}
-
+
printf("Hello NCS! Device %d opened normally.\n", idx);
-
+
retCode = ncDeviceClose(deviceHandle);
deviceHandle = NULL;
if (retCode != NC_OK) {
cd ${HOME}/opencv-${VERSION}/
mkdir -p build
cd build
- cmake -D CMAKE_BUILD_TYPE=RELEASE \
+ cmake -DBUILD_opencv_xfeatures2d=OFF -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=OFF \
-D OPENCV_EXTRA_MODULES_PATH=${HOME}/opencv_contrib-${VERSION}/modules \
set_error_handling
### get constants (function is in install-utilities.sh)
initialize_constants
+ ### Ask for sudo priviledges (function is in install-utilities.sh)
+ ask_sudo_permissions
### read config file (function is in install-utilities.sh)
read_ncsdk_config
- # (function is in install-utilities.sh)
- ask_sudo_permissions
### install opencv
function initialize_constants()
{
# file
- ncsdk_download_link="https://downloadmirror.intel.com/28191/eng/NCSDK-2.08.01.02.tar.gz"
+ ncsdk_download_link="https://downloadmirror.intel.com/28532/eng/NCSDK-2.10.01.01.tar.gz"
# VERBOSE value can be changed by editing ncsdk.config which will be read in function read_ncsdk_config()
VERBOSE=no
SUDO_PREFIX=""
PIP_PREFIX=""
if [ $EUID != 0 ]; then
- SUDO_PREFIX="sudo"
+ SUDO_PREFIX="sudo -E"
sudo -v
- if [ "${PIP_SYSTEM_INSTALL}" = "yes" ]; then
- PIP_PREFIX="$SUDO_PREFIX -H -E"
- fi
# Keep-alive: update existing sudo time stamp if set, otherwise do nothing.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
fi
INSTALL_TOOLKIT=yes
PIP_SYSTEM_INSTALL=yes
USE_VIRTUALENV=no
- # check if nproc is available on the system via 'command'
+
+
+ ### set # jobs to make simultaneously, MAKE_NJOBS, defaults to 1.
+ MAKE_NJOBS=1
+ # Use nproc if available, test using 'command'
RC=0
command -v nproc > /dev/null || RC=$?
if [ $RC -eq 0 ] ; then
- # default to using all processors to invoke make with (make -j $MAKE_NJOBS)
+
+ # MAKE_NJOBS set to nproc unless RPi as on RPi make runs faster using nproc-1
MAKE_NJOBS=$(nproc)
- # RPi runs make faster with N-1 cores
- DISTRO="$(lsb_release -i 2>/dev/null | cut -f 2)"
- OS_DISTRO="${DISTRO:-INVALID}"
- [ "${OS_DISTRO,,}" = "raspbian" ] && MAKE_NJOBS=$((MAKE_NJOBS-1))
- else
- # Can't find nproc, default to 1 make process. Can change in ncsdk.conf
- MAKE_NJOBS=1
+
+ RC=0
+ command -v lsb_release > /dev/null || RC=$?
+ if [ $RC -eq 0 ] ; then
+ DISTRO="$(lsb_release -i 2>/dev/null | cut -f 2)"
+ OS_DISTRO="${DISTRO:-INVALID}"
+ [ "${OS_DISTRO,,}" = "raspbian" ] && MAKE_NJOBS=$((MAKE_NJOBS-1))
+ fi
fi
### check configuration file, and discard any malformed lines
### Config file error check done, source it
echo "Reading installer configuration variables from $CONF_FILE"
source $CONF_FILE
+
+ if [ "${SUDO_PREFIX}" != "" ] && [ "${PIP_SYSTEM_INSTALL}" = "yes" ]; then
+ PIP_PREFIX="$SUDO_PREFIX -H"
+ fi
}
# install package lsb-release if application lsb_release isn't installed
RC=0
command -v lsb_release > /dev/null || RC=$?
- [ $RC -ne 0 ] && exec_and_search_errors "$SUDO_PREFIX apt-get $APT_QUIET install -y lsb-release"
+ [ $RC -ne 0 ] && exec_and_search_errors "$SUDO_PREFIX apt-get install -y lsb-release"
DISTRO="$(lsb_release -i 2>/dev/null | cut -f 2)"
VERSION="$(lsb_release -r 2>/dev/null | awk '{ print $2 }' | sed 's/[.]//')"
OS_DISTRO="${DISTRO:-INVALID}"
OS_VERSION="${VERSION:-255}"
if [ "${OS_DISTRO,,}" = "ubuntu" ] && [ ${OS_VERSION} = 1604 ]; then
+ # Require 64-bit Ubuntu OS
+ HARDWARE_PLATFORM=$(uname -i)
+ if [ "${HARDWARE_PLATFORM}" != "x86_64" ] ; then
+ echo -e "${RED} You are not running on a 64-bit OS version which is required. Will exit${NC}"
+ exit 1
+ fi
+ # require AVX support under Ubuntu OS
+ RC=0
+ grep -q avx /proc/cpuinfo || RC=$?
+ if [ ${RC} -ne 0 ] ; then
+ echo -e "${RED}Intel(R) Advanced Vector Extensions, Intel(R) AVX, support required but not detected. Will exit${NC}"
+ exit 1
+ fi
[ "${VERBOSE}" = "yes" ] && echo "Installing on Ubuntu 16.04"
elif [ "${OS_DISTRO,,}" = "raspbian" ] && [ ${OS_VERSION} -ge 91 ]; then
[ "${VERBOSE}" = "yes" ] && echo "Installing on Raspbian Stretch"
### get constants (function is in install-utilities.sh)
initialize_constants
+ ### Ask for sudo priviledges (function is in install-utilities.sh)
+ ask_sudo_permissions
+
### make sure system has required prerequisites
check_prerequisites
### read config file (function is in install-utilities.sh)
read_ncsdk_config
- ### Ask for sudo priviledges (function is in install-utilities.sh)
- ask_sudo_permissions
-
### Set installer verbosity level
APT_QUIET=-qq
PIP_QUIET=--quiet
# download_and_copy_files - download tarball and copy to install dir
function download_and_copy_files()
{
-download_filename=NCSDK-2.08.01.02.tar.gz
+download_filename=NCSDK-2.10.01.01.tar.gz
if [ ! -f ${download_filename} ] ; then
- echo "Downloading ${download_filename}"
- # ncsdk_download_link set in install-utilities.sh function initialize_constants()
- exec_and_search_errors "wget --no-cache -O ${download_filename} $ncsdk_download_link"
+ ncsdk_link_filename=$(echo $ncsdk_download_link | awk -F / '{print $NF}')
+ # make sure ncsdk_link_filename matches download_filename
+ if [ "${ncsdk_link_filename}" = "${download_filename}" ] ; then
+ echo "Downloading ${download_filename}"
+ exec_and_search_errors "wget -q --no-cache -O ${download_filename} $ncsdk_download_link"
+ else
+ echo -e "${RED}Error file download ($ncsdk_link_filename) doesn't match name based on version.txt ($download_filename)."
+ exit 1
+ fi
+ else
+ echo "File ${download_filename} exists, will not download again"
fi
+
# ncsdk_pkg is the filename without the .tar.gz extension
ncsdk_pkg=${download_filename%%.tar.gz}
if [ "${OS_DISTRO,,}" = "ubuntu" ] ; then
exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org -r $DIR/requirements.txt"
+ #NPS exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org --upgrade numpy"
# Install packages for python 2.x, required for NCSDK python API
exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org Enum34>=1.1.6"
- exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org --upgrade numpy>=1.13.0,<=1.13.3"
+ exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org numpy==1.15"
+ #NPS exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org --upgrade numpy"
# verify python3 import scipy._lib.decorator working, a potential problem on Ubuntu only. First check python3 import scipy.
RC=0
exec_and_search_errors "$SUDO_PREFIX apt-get $APT_QUIET install -y $(cat "$DIR/requirements_apt_raspbian.txt")"
exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org Cython"
exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org graphviz"
- exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org scikit-image"
- exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org --upgrade numpy==1.13.1"
- exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org pygraphviz Enum34>=1.1.6 networkx>=2.1,<=2.1"
+ exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org scikit-image>=0.13.0,<=0.14.0"
+ #NPS exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org --upgrade numpy"
+ exec_and_search_errors "$PIP_PREFIX pip3 install $PIP_QUIET --trusted-host files.pythonhosted.org pygraphviz Enum34>=1.1.6 numpy==1.15 networkx>=2.1,<=2.1"
# Install packages for python 2.x, required for NCSDK python API
exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org Enum34>=1.1.6"
- exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org --upgrade numpy==1.13.1"
+ #NPS exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org --upgrade numpy"
+ exec_and_search_errors "$PIP_PREFIX pip2 install $PIP_QUIET --trusted-host files.pythonhosted.org numpy==1.15"
fi
}
# sets FIND_TENSORFLOW__FOUND_SUPPORTED_VERSION=2 when TensorFlow isn't installed
function find_tensorflow()
{
- SUPPORTED_TENSORFLOW_VERSION=1.9.0
+ SUPPORTED_TENSORFLOW_VERSION=1.11.0
RC=0
$PIP_PREFIX pip3 show $1 1> /dev/null || RC=$?
if [ $RC -eq 0 ]; then
h5py>=2.5.0,<=2.7.0
lxml>=3.4.4,<=3.8.0
matplotlib>=1.5.0,<=2.0.2
-numpy>=1.13.0,<=1.13.3
protobuf>3.4.0,<=3.6.1
python-dateutil>=2.4.2,<=2.6.1
-scikit-image>=0.11.3,<=0.13.0
+scikit-image>=0.13.0,<=0.14.0
scipy>=0.14.1,<=0.19.1
six>=1.10.0
networkx>=2.1,<=2.1
pygraphviz>=1.3.1
Enum34>=1.1.6
+numpy==1.15
-unzip coreutils curl git python3 libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler libatlas-base-dev git python3-dev python3-numpy automake cmake make byacc lsb-release python3-scipy libgflags-dev libgoogle-glog-dev liblmdb-dev swig3.0 graphviz libxslt-dev libxml2-dev gfortran python3-yaml python3-nose python-numpy python3-tk python3-pip python-pip tar wget libgraphviz-dev libusb-1.0-0-dev
+unzip coreutils curl git python3 libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler libatlas-base-dev git python3-dev automake cmake make byacc lsb-release python3-scipy libgflags-dev libgoogle-glog-dev liblmdb-dev swig3.0 graphviz libxslt-dev libxml2-dev gfortran python3-yaml python3-nose python3-tk python3-pip python-pip tar wget libgraphviz-dev libusb-1.0-0-dev
set_error_handling
### get constants (function is in install-utilities.sh)
initialize_constants
+ ### Ask for sudo priviledges (function is in install-utilities.sh)
+ ask_sudo_permissions
### read config file (function is in install-utilities.sh)
read_ncsdk_config
- # Ask for sudo priviledges (function is in install-utilities.sh)
- ask_sudo_permissions
}
### get constants, function is in install-utilities.sh
initialize_constants
- ### function is in install-utilities.sh
- read_ncsdk_config
-
### ask for sudo priviledges, function is in install-utilities.sh
ask_sudo_permissions
+ ### function is in install-utilities.sh
+ read_ncsdk_config
+
# override value in ncsdk.config for uninstall
VERBOSE=yes