Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
fix a few typos (#2451)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkimballn1 committed Feb 14, 2019
1 parent c367170 commit 75964a2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions contrib/docker/README.md
Expand Up @@ -40,7 +40,7 @@ Most _make_ targets are structured in the form `<action>_<compiler>`. The `<act

* Finally, **`make clean`** is available to clean up the BUILD-* and docker build directories.

Note that all operations performed inside the the docker image are run as a regular user, using the `run-as-user.sh` script. This is done to avoid writing root-owned files in mounted filesystems.
Note that all operations performed inside the docker image are run as a regular user, using the `run-as-user.sh` script. This is done to avoid writing root-owned files in mounted filesystems.

## Examples/Hints

Expand Down Expand Up @@ -124,7 +124,7 @@ BUILD-CLANG: clang 3.9
pre-built LLVM
```

#### CentOS 7.4
#### CentOS 7.4

```
Dockerfile: Dockerfile.ngraph.centos74_gpu
Expand Down
2 changes: 1 addition & 1 deletion src/ngraph/runtime/backend.hpp
Expand Up @@ -151,7 +151,7 @@ class ngraph::runtime::Executable
const ngraph::ResultVector& get_results() const;

protected:
/// \brief Called at the end of compile to the the values to be returned by get_parameters
/// \brief Called at the end of compile to the values to be returned by get_parameters
/// and get_results
/// \param func The function with Results fully resolved.
void set_parameters_and_results(const Function& func);
Expand Down
4 changes: 2 additions & 2 deletions src/ngraph/runtime/cpu/cpu_kernel_emitters.cpp
Expand Up @@ -529,7 +529,7 @@ void ngraph::runtime::cpu::kernel::emit_sum(codegen::CodeWriter& writer,
// If we don't have a zero index in the input, perform the sum
if (find(arg0_shape.begin(), arg0_shape.end(), 0) == arg0_shape.end())
{
// create the the interation variables without writing the for loops
// create the interation variables without writing the for loops
vector<string> index_vars;

for (size_t i = 0; i < arg0_shape.size(); i++)
Expand Down Expand Up @@ -604,7 +604,7 @@ void ngraph::runtime::cpu::kernel::emit_reduce(codegen::CodeWriter& writer,
// If we don't have a zero index in the input, perform the sum
if (find(arg0_shape.begin(), arg0_shape.end(), 0) == arg0_shape.end())
{
// create the the interation variables without writing the for loops
// create the interation variables without writing the for loops
vector<string> index_vars;
for (size_t i = 0; i < arg0_shape.size(); i++)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ngraph/runtime/cpu/pass/cpu_mat_fusion.cpp
Expand Up @@ -306,7 +306,7 @@ bool runtime::cpu::pass::CPURnnMatFusion::run_on_function(std::shared_ptr<Functi
NodeVector params = p.first;
NodeVector& op_nodes = p.second;

// we will sort the captured Add(Dot(X, W) + B) as per the the slice ordering of X
// we will sort the captured Add(Dot(X, W) + B) as per the slice ordering of X
// this will simplify the replace_node logic
auto compare_slices = [&](const std::shared_ptr<Node> node1,
const std::shared_ptr<Node> node2) {
Expand Down

0 comments on commit 75964a2

Please sign in to comment.