Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CASE #0
- LOSS tf.Tensor(1.8576978, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[-0.27462882 0.13382944 -0.18821463 0.25130266]
- [ 0.33565304 -0.15924776 0.28579825 -0.33349696]
- [-0.16718312 -0.02833744 -0.48171917 0.19617245]
- [ 0.22221425 -0.13758096 0.54616207 -0.24424782]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.90886533 -0.15003899 0.85841304 -0.7596122 ]
- [-0.48579064 -0.963918 0.7258071 0.4711207 ]
- [ 0.06374787 -0.87162143 -0.49842754 0.94447017]
- [-0.8526071 -0.10417669 0.08525215 -0.35294658]
- [-0.71504194 -0.91407865 0.48065722 0.7772157 ]
- [-0.211678 -0.88805073 -0.6365302 0.9684869 ]]
- [[ 0.14371426 -0.33907956 0.02721161 0.9431912 ]
- [ 0.5950151 -0.5196812 -0.2773601 0.6960502 ]
- [ 0.93197036 0.61325806 -0.9768668 0.91710967]
- [ 0.09379089 0.5965272 0.05482991 0.9964341 ]
- [ 0.269569 -0.529733 0.4407713 0.8434378 ]
- [ 0.95455045 -0.03825713 -0.96736914 0.9066282 ]]], shape=(2, 6, 4), dtype=float32)
- CASE #1
- LOSS tf.Tensor(1.8576978, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[-0.24651453 0.11562193 -0.15497144 0.23229319]
- [ 0.27857018 -0.13284853 0.2602334 -0.30075118]
- [-0.11065739 -0.02781501 -0.41080374 0.17088796]
- [ 0.16102664 -0.10325792 0.4526206 -0.21939588]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.90886533 -0.15003899 0.85841304 -0.7596122 ]
- [-0.48579064 -0.963918 0.7258071 0.4711207 ]
- [ 0.06374787 -0.87162143 -0.49842754 0.94447017]
- [-0.8526071 -0.10417669 0.08525215 -0.35294658]
- [-0.71504194 -0.91407865 0.48065722 0.7772157 ]
- [-0.211678 -0.88805073 -0.6365302 0.9684869 ]]
- [[ 0.14371426 -0.33907956 0.02721161 0.9431912 ]
- [ 0.5950151 -0.5196812 -0.2773601 0.6960502 ]
- [ 0.93197036 0.61325806 -0.9768668 0.91710967]
- [ 0.09379089 0.5965272 0.05482991 0.9964341 ]
- [ 0.269569 -0.529733 0.4407713 0.8434378 ]
- [ 0.95455045 -0.03825713 -0.96736914 0.9066282 ]]], shape=(2, 6, 4), dtype=float32)
- CASE #2
- LOSS tf.Tensor(1.8576978, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[-0.24651453 0.11562193 -0.15497144 0.23229319]
- [ 0.27857018 -0.13284853 0.2602334 -0.30075118]
- [-0.11065739 -0.02781501 -0.41080374 0.17088796]
- [ 0.16102664 -0.10325792 0.4526206 -0.21939588]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.90886533 -0.15003899 0.85841304 -0.7596122 ]
- [-0.48579064 -0.963918 0.7258071 0.4711207 ]
- [ 0.06374787 -0.87162143 -0.49842754 0.94447017]
- [-0.8526071 -0.10417669 0.08525215 -0.35294658]
- [-0.71504194 -0.91407865 0.48065722 0.7772157 ]
- [-0.211678 -0.88805073 -0.6365302 0.9684869 ]]
- [[ 0.14371426 -0.33907956 0.02721161 0.9431912 ]
- [ 0.5950151 -0.5196812 -0.2773601 0.6960502 ]
- [ 0.93197036 0.61325806 -0.9768668 0.91710967]
- [ 0.09379089 0.5965272 0.05482991 0.9964341 ]
- [ 0.269569 -0.529733 0.4407713 0.8434378 ]
- [ 0.95455045 -0.03825713 -0.96736914 0.9066282 ]]], shape=(2, 6, 4), dtype=float32)
- CASE #3
- LOSS tf.Tensor(1.8576978, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[-0.27462882 0.13382944 -0.18821463 0.25130266]
- [ 0.33565304 -0.15924776 0.28579825 -0.33349696]
- [-0.16718312 -0.02833744 -0.48171917 0.19617245]
- [ 0.22221425 -0.13758096 0.54616207 -0.24424782]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.90886533 -0.15003899 0.85841304 -0.7596122 ]
- [-0.48579064 -0.963918 0.7258071 0.4711207 ]
- [ 0.06374787 -0.87162143 -0.49842754 0.94447017]
- [-0.8526071 -0.10417669 0.08525215 -0.35294658]
- [-0.71504194 -0.91407865 0.48065722 0.7772157 ]
- [-0.211678 -0.88805073 -0.6365302 0.9684869 ]]
- [[ 0.14371426 -0.33907956 0.02721161 0.9431912 ]
- [ 0.5950151 -0.5196812 -0.2773601 0.6960502 ]
- [ 0.93197036 0.61325806 -0.9768668 0.91710967]
- [ 0.09379089 0.5965272 0.05482991 0.9964341 ]
- [ 0.269569 -0.529733 0.4407713 0.8434378 ]
- [ 0.95455045 -0.03825713 -0.96736914 0.9066282 ]]], shape=(2, 6, 4), dtype=float32)
- ================================================================================
- CASE #4
- LOSS tf.Tensor(1.3031322, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[-0.07161321 0.11920796 0.00611999 -0.10474246]
- [-0.27238074 -0.02025667 -0.3109602 -0.00538632]
- [ 0.34261662 0.08480601 0.35340673 0.0648931 ]
- [-0.20532534 -0.17010294 -0.26704618 0.08597893]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.00239495 -0.15125908 -0.00678201 0.7642507 ]
- [ 0.7365422 0.5374036 0.8890466 0.36529413]
- [ 0.7287195 -0.7218969 0.753732 -0.45989713]
- [-0.20864785 -0.92871183 0.75721145 0.13256115]
- [ 0.12175808 -0.19267444 0.98364335 0.37927812]
- [ 0.44015625 -0.7260691 0.9689865 -0.1854528 ]]
- [[ 0.33532834 0.46191117 0.55562866 -0.34665063]
- [ 0.01082742 -0.19848084 -0.16099885 -0.72259307]
- [-0.46772876 0.13500686 -0.3014663 -0.8630696 ]
- [-0.43837646 0.7063758 -0.4085825 0.02541626]
- [ 0.34559277 0.9017162 -0.21770068 -0.13044417]
- [ 0.39508358 0.21813887 -0.5855433 -0.8681719 ]]], shape=(2, 6, 4), dtype=float32)
- CASE #4
- LOSS tf.Tensor(1.3031322, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[ 0.33739218 -0.02383555 -0.11801008 -0.17984374]
- [ 0.13800916 -0.10885754 -0.03430624 -0.0058571 ]
- [-0.08781847 0.07534521 0.05123626 0.05364679]
- [ 0.12954757 0.25158355 -0.23287769 0.05087431]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.00239495 -0.15125908 -0.00678201 0.7642507 ]
- [ 0.7365422 0.5374036 0.8890466 0.36529413]
- [ 0.7287195 -0.7218969 0.753732 -0.45989713]
- [-0.20864785 -0.92871183 0.75721145 0.13256115]
- [ 0.12175808 -0.19267444 0.98364335 0.37927812]
- [ 0.44015625 -0.7260691 0.9689865 -0.1854528 ]]
- [[ 0.33532834 0.46191117 0.55562866 -0.34665063]
- [ 0.01082742 -0.19848084 -0.16099885 -0.72259307]
- [-0.46772876 0.13500686 -0.3014663 -0.8630696 ]
- [-0.43837646 0.7063758 -0.4085825 0.02541626]
- [ 0.34559277 0.9017162 -0.21770068 -0.13044417]
- [ 0.39508358 0.21813887 -0.5855433 -0.8681719 ]]], shape=(2, 6, 4), dtype=float32)
- CASE #5
- LOSS tf.Tensor(1.3031322, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[-0.07161321 0.11920796 0.00611999 -0.10474246]
- [-0.27238074 -0.02025667 -0.3109602 -0.00538632]
- [ 0.34261662 0.08480601 0.35340673 0.0648931 ]
- [-0.20532534 -0.17010294 -0.26704618 0.08597893]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.00239495 -0.15125908 -0.00678201 0.7642507 ]
- [ 0.7365422 0.5374036 0.8890466 0.36529413]
- [ 0.7287195 -0.7218969 0.753732 -0.45989713]
- [-0.20864785 -0.92871183 0.75721145 0.13256115]
- [ 0.12175808 -0.19267444 0.98364335 0.37927812]
- [ 0.44015625 -0.7260691 0.9689865 -0.1854528 ]]
- [[ 0.33532834 0.46191117 0.55562866 -0.34665063]
- [ 0.01082742 -0.19848084 -0.16099885 -0.72259307]
- [-0.46772876 0.13500686 -0.3014663 -0.8630696 ]
- [-0.43837646 0.7063758 -0.4085825 0.02541626]
- [ 0.34559277 0.9017162 -0.21770068 -0.13044417]
- [ 0.39508358 0.21813887 -0.5855433 -0.8681719 ]]], shape=(2, 6, 4), dtype=float32)
- CASE #5
- LOSS tf.Tensor(1.3031322, shape=(), dtype=float32)
- GRADS:
- tf.Tensor(
- [[ 0.33739218 -0.02383555 -0.11801008 -0.17984374]
- [ 0.13800916 -0.10885754 -0.03430624 -0.0058571 ]
- [-0.08781847 0.07534521 0.05123626 0.05364679]
- [ 0.12954757 0.25158355 -0.23287769 0.05087431]], shape=(4, 4), dtype=float32)
- OUTS:
- tf.Tensor(
- [[[-0.00239495 -0.15125908 -0.00678201 0.7642507 ]
- [ 0.7365422 0.5374036 0.8890466 0.36529413]
- [ 0.7287195 -0.7218969 0.753732 -0.45989713]
- [-0.20864785 -0.92871183 0.75721145 0.13256115]
- [ 0.12175808 -0.19267444 0.98364335 0.37927812]
- [ 0.44015625 -0.7260691 0.9689865 -0.1854528 ]]
- [[ 0.33532834 0.46191117 0.55562866 -0.34665063]
- [ 0.01082742 -0.19848084 -0.16099885 -0.72259307]
- [-0.46772876 0.13500686 -0.3014663 -0.8630696 ]
- [-0.43837646 0.7063758 -0.4085825 0.02541626]
- [ 0.34559277 0.9017162 -0.21770068 -0.13044417]
- [ 0.39508358 0.21813887 -0.5855433 -0.8681719 ]]], shape=(2, 6, 4), dtype=float32)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement