Add only-zero data checks and warnings to profiling
Created by: maksgraczyk
When weights or activations of a layer are zeros, profiling either ignores the layer silently or crashes with ambiguous errors.
This PR introduces only-zero data checks and warnings to fix the crash problem and make a user clearly see which layers are ignored because of their data consisting of only zeros.