Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #14904

Merged
merged 5 commits into from
Dec 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensorflow/compiler/xla/service/layout_assignment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ Status LayoutAssignment::AssignLayouts(const LayoutConstraints& constraints,
TF_RET_CHECK(LayoutUtil::HasLayout(instruction->shape()));
}

// Copy the root instrucion's result if the it does not match the result
// Copy the root instruction's result if the it does not match the result
// layout constraint
if (constraints.ResultLayout() != nullptr &&
!constraints.ResultLayout()->MatchesLayoutInShape(
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/contrib/lite/nnapi/NeuralNetworksShim.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ enum {
* The type of operations that can be added to a model.
*/
enum {
/** Adds two tensors, elment-wise.
/** Adds two tensors, element-wise.
*
* Takes two input tensors of identical type and compatible dimensions. The
* output is the sum of both input tensors, optionally modified by an
Expand Down Expand Up @@ -743,7 +743,7 @@ enum {
*/
ANEURALNETWORKS_MAX_POOL_2D = 17,

/** Multiplies two tensors, elment-wise.
/** Multiplies two tensors, element-wise.
*
* Takes two input tensors of identical type and compatible dimensions. The
* output is the product of both input tensors, optionally modified by an
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/core/profiler/internal/tfprof_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ void ExecStep::AddTimeStats(const string& dev, const NodeExecStats& step_stat) {

void ExecStep::AddMemoryStats(const string& dev,
const NodeExecStats& step_stat) {
if (exec_.memory_intialized()) {
if (exec_.memory_initialized()) {
return;
}
exec_.set_memory_intialized(true);
exec_.set_memory_initialized(true);

int accelerator_allocator_cnt = 0;
for (const auto& mem : step_stat.memory()) {
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/core/profiler/tfprof_log.proto
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ message ExecProfile {
// The total number of bytes currently allocated by the allocator if >0.
int64 allocator_bytes_in_use = 15;

bool memory_intialized = 16;
bool memory_initialized = 16;
}

message ExecTime {
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/stream_executor/dnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ class DnnSupport {
// space in order to speed up the convolution operation.
// algorithm: an integer to specify which algorithm should be used for the
// operation. kDefaultAlgorithm means the system will pick an algorithm
// by default. The coding of the algorithm is be interpretted by the
// by default. The coding of the algorithm is be interpreted by the
// underlying implementation.
// output_profile_result: the output profile result for this call. The
// profiling is only enabled when this is not nullptr.
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/ci_build/builds/pip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ do_clean_virtualenv_smoke_test() {
then
echo "Smoke test of tensorflow install in clean virtualenv PASSED."
else
echo "Smoke test of tensroflow install in clean virtualenv FAILED."
echo "Smoke test of tensorflow install in clean virtualenv FAILED."
return 1
fi

Expand Down