From d590f048c927b32436b0d751101dc030321a18d4 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 29 Jan 2018 05:22:05 +0000 Subject: [PATCH] Deploy to GitHub Pages: cce18c9fe6ae763c3cd93038d09a390a5a0ac99e --- develop/doc/_sources/design/support_new_device.md.txt | 8 ++++---- develop/doc/design/support_new_device.html | 8 ++++---- develop/doc_cn/_sources/design/support_new_device.md.txt | 8 ++++---- develop/doc_cn/design/support_new_device.html | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/develop/doc/_sources/design/support_new_device.md.txt b/develop/doc/_sources/design/support_new_device.md.txt index b154f01d32..8983df9004 100644 --- a/develop/doc/_sources/design/support_new_device.md.txt +++ b/develop/doc/_sources/design/support_new_device.md.txt @@ -174,7 +174,7 @@ class MaxOutFunctor { }; ``` -CPU implemention is in .cc file +CPU implementation is in .cc file ``` template @@ -188,7 +188,7 @@ class MaxOutFunctor { }; ``` -CUDA implemention is in .cu file +CUDA implementation is in .cu file ``` template @@ -203,9 +203,9 @@ class MaxOutFunctor { ``` -We first obtain the computing handle from a concrete DeviceContext, and then compute on tensors. +We first obtain the computing handle from a concrete DeviceContext and then compute on tensors. -The implemention of `OpKernel` is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map. +The implementation of `OpKernel` is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map. Fluid provides different register interfaces in op_registry.h diff --git a/develop/doc/design/support_new_device.html b/develop/doc/design/support_new_device.html index 9274dfca43..ae5d59ee67 100644 --- a/develop/doc/design/support_new_device.html +++ b/develop/doc/design/support_new_device.html @@ -358,7 +358,7 @@ }; -

CPU implemention is in .cc file

+

CPU implementation is in .cc file

template <typename T>
 class MaxOutFunctor<platform::CPUDeviceContext, T> {
   public:
@@ -370,7 +370,7 @@
 };
 
-

CUDA implemention is in .cu file

+

CUDA implementation is in .cu file

template <typename T>
 class MaxOutFunctor<platform::CUDADeviceContext, T> {
  public:
@@ -382,8 +382,8 @@
 };                  
 
-

We first obtain the computing handle from a concrete DeviceContext, and then compute on tensors.

-

The implemention of OpKernel is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map.

+

We first obtain the computing handle from a concrete DeviceContext and then compute on tensors.

+

The implementation of OpKernel is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map.

Fluid provides different register interfaces in op_registry.h

Let’s take Crop operator as an example:

In .cc file:

diff --git a/develop/doc_cn/_sources/design/support_new_device.md.txt b/develop/doc_cn/_sources/design/support_new_device.md.txt index b154f01d32..8983df9004 100644 --- a/develop/doc_cn/_sources/design/support_new_device.md.txt +++ b/develop/doc_cn/_sources/design/support_new_device.md.txt @@ -174,7 +174,7 @@ class MaxOutFunctor { }; ``` -CPU implemention is in .cc file +CPU implementation is in .cc file ``` template @@ -188,7 +188,7 @@ class MaxOutFunctor { }; ``` -CUDA implemention is in .cu file +CUDA implementation is in .cu file ``` template @@ -203,9 +203,9 @@ class MaxOutFunctor { ``` -We first obtain the computing handle from a concrete DeviceContext, and then compute on tensors. +We first obtain the computing handle from a concrete DeviceContext and then compute on tensors. -The implemention of `OpKernel` is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map. +The implementation of `OpKernel` is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map. Fluid provides different register interfaces in op_registry.h diff --git a/develop/doc_cn/design/support_new_device.html b/develop/doc_cn/design/support_new_device.html index c3cc7a7171..892fdb8f2f 100644 --- a/develop/doc_cn/design/support_new_device.html +++ b/develop/doc_cn/design/support_new_device.html @@ -377,7 +377,7 @@ }; -

CPU implemention is in .cc file

+

CPU implementation is in .cc file

template <typename T>
 class MaxOutFunctor<platform::CPUDeviceContext, T> {
   public:
@@ -389,7 +389,7 @@
 };
 
-

CUDA implemention is in .cu file

+

CUDA implementation is in .cu file

template <typename T>
 class MaxOutFunctor<platform::CUDADeviceContext, T> {
  public:
@@ -401,8 +401,8 @@
 };                  
 
-

We first obtain the computing handle from a concrete DeviceContext, and then compute on tensors.

-

The implemention of OpKernel is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map.

+

We first obtain the computing handle from a concrete DeviceContext and then compute on tensors.

+

The implementation of OpKernel is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map.

Fluid provides different register interfaces in op_registry.h

Let’s take Crop operator as an example:

In .cc file:

-- GitLab