Skip to content

Commit c398918

Browse files
lakshya97rahul003
authored andcommitted
making this work for mxnet/pytorch by adding the tensor name as well (aws#50)
1 parent 3187f6a commit c398918

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tornasole_core/save_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def from_collections(self, tensor_name):
7777
if tensor_name in coll.tensor_names:
7878
matched_colls.append(coll)
7979
elif match_inc(tensor_name, coll.get_include_regex()):
80+
coll.tensor_names.append(tensor_name)
8081
matched_colls.append(coll)
8182
self.tensor_to_collection[tensor_name] = matched_colls
8283
return self.tensor_to_collection[tensor_name]

0 commit comments

Comments
 (0)