code: def test_ptrelu6_3(self):
      inputs = tl.layers.Input([3, 2, 5])
      prelulayer = tl.layers.PTRelu6()
      prelu = prelulayer(inputs)
      model = tl.models.Model(inputs=inputs, outputs=prelu)
      out = model(self.data2, is_train=True)
  
      print(prelulayer)
  
      gt = np.zeros(shape=self.data2.shape)
      for i in range(len(gt)):
          for k in range(len(gt[i])):
              for j in range(len(gt[i][k])):
                  if (
                      self.data2[i][k][j] >= 0
                      and self.data2[i][k][j] <= 6
                  ):
                      gt[i][k][j] = self.data2[i][k][j]
                  elif self.data2[i][k][j] > 6:
                      gt[i][k][
                          j
                      ] = 6 + prelulayer.alpha_high_constrained.numpy()[
                          j
                      ] * (
                          self.data2[i][k][j] - 6
                      )
                  else:
                      gt[i][k][j] = (
                          prelulayer.alpha_low_constrained.numpy()[j]
                          * self.data2[i][k][j]
                      )
  
      self.assertTrue(np.allclose(out.numpy(), gt))
  
file_path: TensorLayer/tests/layers/test_layers_activation.py
imports: import os
  import unittest
  import numpy
  import tensorflow
  import tensorlayer
  from tests.utils import CustomTestCase
label_desc: Use image node_id 11 for calling the Activation_Layer_Test obj's underlying member method code with example usage: obj.test_ptrelu6_3() without return types