Definition:
Masks a sequence by using a mask value to skip timesteps.
For each timestep in the input tensor (dimension #1 in the tensor), if all values in the input tensor at that timestep are equal to mask_value, then the timestep will be masked (skipped) in all downstream layers (as long as they support masking).
But, I want to know the real output from Masking that expected.
Below to see how the Masking works.
It makes all values are equal to mask_value to 0
반응형
'IT > Python' 카테고리의 다른 글
dataframe, head(), show all columns (0) | 2019.04.18 |
---|---|
tensorflow Keras - not_equal, cast Test (0) | 2019.03.13 |
여러개의 DB를 Django 장고에 연동시키기 (0) | 2018.11.12 |
/usr/bin/python3: No module named pip (0) | 2018.02.23 |
사진을 보고 낮인지 저녁인지 간단한 코드로 판단 (0) | 2018.02.20 |