parameters: (self, data)
return_statement: return tf.concat(outputs, -1)
docstring: encode the features of `Data` to tensors.
      Args:
        data: A `Data` object.
      Returns:
        A Tensor.
docstring_summary: encode the features of `Data` to tensors.
      Args:
        data: A `Data` object.
      Returns:
        A Tensor.
docstring_tokens: encode the features of Data to tensors . Args : data : A Data object . Returns : A Tensor .
function: def forward(self, data):
      """ encode the features of `Data` to tensors.
      Args:
        data: A `Data` object.
      Returns:
        A Tensor.
      """
      outputs = []
      if self._float_fg:
        float_outputs = self._float_fg(data.float_attrs)
        outputs.append(float_outputs)
  
      if self._int_fg:
        ints = [data.int_attrs[:,i] for i in self._int_mapping]
        int_outputs = self._int_fg(ints)
        outputs.append(int_outputs)
  
      if self._fused_int_fg:
        fused_inputs = []
        for dim, ib in self._fused_int_mapping.items():
          fused_inputs.append([data.int_attrs[:,i] for i in ib.index_list])
        fused_int_outputs = self._fused_int_fg(fused_inputs)
        outputs.append(fused_int_outputs)
  
      if self._string_fg:
        string_outputs = self._string_fg(data.string_attrs)
        outputs.append(string_outputs)
  
      return tf.concat(outputs, -1)
function_tokens: def forward ( self , data ) : outputs = [ ] if self . _float_fg : float_outputs = self . _float_fg ( data . float_attrs ) outputs . append ( float_outputs ) if self . _int_fg : ints = [ data . int_attrs [ : , i ] for i in self . _int_mapping ] int_outputs = self . _int_fg ( ints ) outputs . append ( int_outputs ) if self . _fused_int_fg : fused_inputs = [ ] for dim , ib in self . _fused_int_mapping . items ( ) : fused_inputs . append ( [ data . int_attrs [ : , i ] for i in ib . index_list ] ) fused_int_outputs = self . _fused_int_fg ( fused_inputs ) outputs . append ( fused_int_outputs ) if self . _string_fg : string_outputs = self . _string_fg ( data . string_attrs ) outputs . append ( string_outputs ) return tf . concat ( outputs , - 1 )