Skip to content

Commit

Permalink
turn the positive_only argument in get_tensor_from_files function to …
Browse files Browse the repository at this point in the history
…default false so the flow can read negative values from file
  • Loading branch information
kalhankoul96 committed Feb 6, 2024
1 parent ef1598f commit c276932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sam/onyx/generate_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def convert_aha_glb_output_file(glbfile, output_dir, tiles):

def get_tensor_from_files(name, files_dir, shape, base=10,
format='CSF', early_terminate=None, tensor_ordering=None,
suffix="", positive_only=True, use_fp=False) -> MatrixGenerator:
suffix="", positive_only=False, use_fp=False) -> MatrixGenerator:
all_files = os.listdir(files_dir)
dims = len(shape)

Expand Down

0 comments on commit c276932

Please sign in to comment.