Remove TODO: Adding a clamp operation makes no performance difference.
PiperOrigin-RevId: 333536789 Change-Id: Ia19f7aad7bc13ddeac0f226c04ecb14c5c67445e
This commit is contained in:
parent
252e31f79c
commit
5de1fdaf8a
@ -288,7 +288,6 @@ absl::Status BuildCellStateUpdate(GraphFloat32* graph, ObjectReader* reader,
|
|||||||
return absl::OkStatus();
|
return absl::OkStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(b/157166356): Maybe add OperationType::CLAMP ?
|
|
||||||
Value* max_clipped_state = CreateNewSimilarValue(graph, new_cell_state);
|
Value* max_clipped_state = CreateNewSimilarValue(graph, new_cell_state);
|
||||||
{
|
{
|
||||||
// #4 elementwise minimum: min(#3, clip)
|
// #4 elementwise minimum: min(#3, clip)
|
||||||
@ -398,7 +397,6 @@ absl::Status BuildOutputStateUpdate(GraphFloat32* graph, ObjectReader* reader,
|
|||||||
return absl::OkStatus();
|
return absl::OkStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(b/157166356): Maybe add OperationType::CLAMP ?
|
|
||||||
Value* max_clipped_state =
|
Value* max_clipped_state =
|
||||||
CreateNewSimilarValue(graph, projected_output_state);
|
CreateNewSimilarValue(graph, projected_output_state);
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user