Unverified Commit ab99ef1b authored by Bharath Ramsundar's avatar Bharath Ramsundar Committed by GitHub
Browse files

Merge pull request #2610 from atreyamaj/fix_scalenorm

Fixed ScaleNorm Test
parents 86042a06 1398ae7d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -607,9 +607,9 @@ def test_DAG_gather():
  outputs = layer([atom_features, membership])


@pytest.mark.pytorch
def test_layer_norm():
  """Test invoking LayerNorm."""
@pytest.mark.torch
def test_scale_norm():
  """Test invoking ScaleNorm."""
  input_ar = torch.tensor([[1., 99., 10000.], [0.003, 999.37, 23.]])
  layer = torch_layers.ScaleNorm(0.35)
  result1 = layer.forward(input_ar)