amazon-archives / amazon-dsstne

Deep Scalable Sparse Tensor Network Engine (DSSTNE) is an Amazon developed library for building Deep Learning (DL) machine learning (ML) models
Apache License 2.0
4.41k stars 731 forks source link

Modify NNTypes::CalculateSparseDatapointCounts to throw exception upon attempt to address beyond vector range. #217

Closed chezruss closed 5 years ago

chezruss commented 5 years ago

Issue #, if available:

Description of changes:

The major change is to NNTypes::CalculateSparseDatapointCounts that heretofore silently addressed a vector beyond its range. Now an attempt to address the vector beyond its range throws an exception.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.