# Well-formed input into a simple linear layer, output Nan

**URL:** <https://discuss.pytorch.org/t/well-formed-input-into-a-simple-linear-layer-output-nan/74720>\
**Category:** Uncategorized\
**Created:** [March 29, 2020, 5:40pm UTC](https://discuss.pytorch.org/t/well-formed-input-into-a-simple-linear-layer-output-nan/74720 "2020-03-29T17:40:38Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![wu\_hr](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/wu_hr/32/13058_2.png) [@wu\_hr](https://discuss.pytorch.org/u/wu_hr)\
**Post date:** [March 30, 2020, 4:51am UTC](https://discuss.pytorch.org/t/well-formed-input-into-a-simple-linear-layer-output-nan/74720/7 "2020-03-30T04:51:58Z")

</div>

The envs are listed here:

```auto
Collecting environment information...
PyTorch version: 1.4.0
Is debug build: No
CUDA used to build PyTorch: 10.1

OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.10.2

Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: GeForce MX150
Nvidia driver version: 440.59
cuDNN version: Could not collect

Versions of relevant libraries:
[pip3] numpy==1.14.3
[pip3] numpydoc==0.8.0
[pip3] torch==1.4.0
[pip3] torchvision==0.5.0
[conda] blas 1.0 mkl  
[conda] mkl 2018.0.2 1  
[conda] mkl-service 1.1.2 py36h17a0993_4  
[conda] mkl_fft 1.0.1 py36h3010b51_0  
[conda] mkl_random 1.0.1 py36h629b387_0

```

---

_[View the full topic](https://discuss.pytorch.org/t/well-formed-input-into-a-simple-linear-layer-output-nan/74720)._
