parameters: (self)
docstring: Set up for hard Thresholding Functionality
docstring_summary: Set up for hard Thresholding Functionality
docstring_tokens: Set up for hard Thresholding Functionality
function: def hardThrsdGraph(self):
          '''
          Set up for hard Thresholding Functionality
          '''
          self.paramPlaceholders = []
          self.htOps = []
          for i in range(0, self.numMatrices[0]):
              self.paramPlaceholders.append(tf.placeholder(
                  tf.float32, name="Wth_" + str(i)))
          for i in range(self.numMatrices[0], self.totalMatrices):
              self.paramPlaceholders.append(tf.placeholder(
                  tf.float32, name="Uth_" + str(i)))
  
          for i in range(0, self.numMatrices[0]):
              self.htOps.append(
                  self.FastParams[i].assign(self.paramPlaceholders[i]))
          for i in range(self.numMatrices[0], self.totalMatrices):
              self.htOps.append(
                  self.FastParams[i].assign(self.paramPlaceholders[i]))
  
          self.hardThresholdGroup = tf.group(*self.htOps)
function_tokens: def hardThrsdGraph ( self ) : self . paramPlaceholders = [ ] self . htOps = [ ] for i in range ( 0 , self . numMatrices [ 0 ] ) : self . paramPlaceholders . append ( tf . placeholder ( tf . float32 , name = "Wth_" + str ( i ) ) ) for i in range ( self . numMatrices [ 0 ] , self . totalMatrices ) : self . paramPlaceholders . append ( tf . placeholder ( tf . float32 , name = "Uth_" + str ( i ) ) ) for i in range ( 0 , self . numMatrices [ 0 ] ) : self . htOps . append ( self . FastParams [ i ] . assign ( self . paramPlaceholders [ i ] ) ) for i in range ( self . numMatrices [ 0 ] , self . totalMatrices ) : self . htOps . append ( self . FastParams [ i ] . assign ( self . paramPlaceholders [ i ] ) ) self . hardThresholdGroup = tf . group ( * self . htOps )