You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First and foremost, I would like to express my deep appreciation for providing the insightful case studies.
I have recently noticed a change in the latest version of accera that requires some adjustments in the way roles are defined. It appears that the definition of the role has been updated from acc.Array.Role to simply acc.Role, and it is no longer an attribute of the Array. This change necessitates a modification in the code for each case study to ensure compatibility with the current version of accera.
For instance, in the wrong version: Input = acc.Array(role=acc.Array.Role.INPUT, element_type=acc.ScalarType.float32, shape=(input_rows, input_columns, input_channels))
The correct version should now be: Input = acc.Array(role=acc.Role.INPUT, element_type=acc.ScalarType.float32, shape=(input_rows, input_columns, input_channels))
Best Regards,
Batuhan
The text was updated successfully, but these errors were encountered:
Dear Marina,
First and foremost, I would like to express my deep appreciation for providing the insightful case studies.
I have recently noticed a change in the latest version of accera that requires some adjustments in the way roles are defined. It appears that the definition of the role has been updated from acc.Array.Role to simply acc.Role, and it is no longer an attribute of the Array. This change necessitates a modification in the code for each case study to ensure compatibility with the current version of accera.
For instance, in the wrong version:
Input = acc.Array(role=acc.Array.Role.INPUT, element_type=acc.ScalarType.float32, shape=(input_rows, input_columns, input_channels))
The correct version should now be:
Input = acc.Array(role=acc.Role.INPUT, element_type=acc.ScalarType.float32, shape=(input_rows, input_columns, input_channels))
Best Regards,
Batuhan
The text was updated successfully, but these errors were encountered: