Change OpNameToAttrTypeMap from std::unordered_map<string, const AttrTypeMap*> to tensorflow::gtl::FlatMap<string, const AttrTypeMap*>
PiperOrigin-RevId: 268972276
This commit is contained in:
parent
d24c1171ee
commit
f15c3b0d02
@ -32,8 +32,9 @@ namespace {
|
||||
|
||||
mutex g_op_name_to_attr_type_map_lock(LINKER_INITIALIZED);
|
||||
|
||||
std::unordered_map<string, const AttrTypeMap*>* OpNameToAttrTypeMap() {
|
||||
static auto* const m = new std::unordered_map<string, const AttrTypeMap*>;
|
||||
tensorflow::gtl::FlatMap<string, const AttrTypeMap*>* OpNameToAttrTypeMap() {
|
||||
static auto* const m =
|
||||
new tensorflow::gtl::FlatMap<string, const AttrTypeMap*>;
|
||||
return m;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user