mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[PyTorch] Remove unused function in import (#65865)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65865 `operator_str` is not used in `import.cpp` and it is also defined in `parse_operators.cpp` so removing it from `import.cpp`. Test Plan: CI passing Reviewed By: iseeyuan Differential Revision: D31293008 fbshipit-source-id: 1c857cbd63c57b8f79c1a068789fc8605605b642
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a5895f85be
commit
ab25516054
@ -88,16 +88,6 @@ using caffe2::serialize::ReadAdapterInterface;
|
||||
|
||||
OpCode parseOpCode(const char* str);
|
||||
|
||||
std::string operator_str(
|
||||
const std::string& name,
|
||||
const std::string& overloadname) {
|
||||
std::string result = name;
|
||||
if (!overloadname.empty()) {
|
||||
result += "." + overloadname;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
TypePtr resolveTypeNameMobile(
|
||||
const c10::QualifiedName& qn,
|
||||
std::shared_ptr<CompilationUnit> compilation_unit) {
|
||||
|
Reference in New Issue
Block a user