Merge pull request #55767 from Yulv-git:typos2

PiperOrigin-RevId: 445158708
This commit is contained in:
TensorFlower Gardener 2022-04-28 08:37:20 -07:00
commit 19025b6fea
5 changed files with 5 additions and 5 deletions

View File

@ -3570,7 +3570,7 @@ This release introduces several vulnerability fixes:
## Breaking Changes
* The `TF_CPP_MIN_VLOG_LEVEL` environment variable has been renamed to to
* The `TF_CPP_MIN_VLOG_LEVEL` environment variable has been renamed to
`TF_CPP_MAX_VLOG_LEVEL` which correctly describes its effect.
## Bug Fixes and Other Changes

View File

@ -331,7 +331,7 @@ Status PartiallyDeclusterGraph(Graph* graph,
// remove Input, OP, Shape and F from the cluster, if F is a many-to-one
// function.
//
// Note that we do do the right thing for graphs like:
// Note that we do the right thing for graphs like:
//
// Input -> F0 -> F1 -> Reshape
//

View File

@ -55,7 +55,7 @@ class AlgorithmSelectorImpl {
bool IsTrtVersionGE(const TRTVersion& version) const;
// Returns true if we know at compile time that the the algorithm selector
// Returns true if we know at compile time that the algorithm selector
// should be required. This is a conservative estimate.
bool IsAlgorithmSelectorRequired() const;

View File

@ -394,7 +394,7 @@ Status TrtShapeOptimizationProfile::AddProfiles(
return errors::Internal("Failure in adding an optimization profile.");
}
need_profiles_ = config->getNbOptimizationProfiles() > 0;
// Update the the mask that flag shape tensors. The network is known now,
// Update the mask that flag shape tensors. The network is known now,
// the mask will be correct.
SetShapeTensorMask(network);
is_pruned_input_.resize(network->getNbInputs());

View File

@ -1561,7 +1561,7 @@ Status XlaCompiler::SetHostComputeControlDependency(
if (host_compute_control_output_.find(host_compute_name) !=
host_compute_control_output_.end()) {
return errors::InvalidArgument(
"Duplicate control handles registered for for host compute Op ",
"Duplicate control handles registered for host compute Op ",
host_compute_name);
}
host_compute_control_output_[host_compute_name] = handle;