Skip to content

Commit

Permalink
Update kws20.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rotx-eva authored Mar 13, 2024
1 parent 4a48d7d commit 36d70a3
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions datasets/kws20.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
###################################################################################################
#
# Copyright (C) 2023-2024 Analog Devices, Inc. All Rights Reserved.
# This software is proprietary and confidential to Analog Devices, Inc. and its licensors.
#
###################################################################################################
#
# Copyright (C) 2019-2023 Maxim Integrated Products, Inc. All Rights Reserved.
#
# Maxim Integrated Products, Inc. Default Copyright Notice:
# https://www.maximintegrated.com/en/aboutus/legal/copyrights.html
#
###################################################################################################
#
# Portions Copyright (c) 2018 Intel Corporation
# Copyright (c) 2018 Intel Corporation
# Portions Copyright (C) 2019-2023 Maxim Integrated Products, Inc.
# Portions Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -445,7 +434,7 @@ def __getitem__(self, index):
inp = inp.type(torch.FloatTensor)

if not self.save_unquantized:
inp = inp / 256
inp /= 256
if self.transform is not None:
inp = self.transform(inp)

Expand Down

0 comments on commit 36d70a3

Please sign in to comment.