未验证 提交 328236d2 编写于 作者: H HongyuJia 提交者: GitHub

fix typo error in operator.cc (#46995)

上级 b4a1f43f
......@@ -2296,9 +2296,9 @@ Scope* OperatorWithKernel::PrepareData(
<< (new_expected_kernel_key ? *new_expected_kernel_key
: expected_kernel_key);
// In the inference scenerio, the scopes will be reused across the
// batches, so the `new_scope` here will result in GPU memroy explosion
// over the running of operators.
// In the inference scenario, the scopes will be reused across the
// batches, so the `new_scope` here will result in GPU memory explosion
// over the running of operators.
// We use a thread_local cache to fix that issue, the key in the cache is
// the combination of the `scope` argument, from_kernel_type,
// target_kernel_type.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册