class_docstr: ```
  Main class used to tune and train Keras models for link prediction
  Main parameters are:
  
  model (Model): A compiled instance of keras.engine.training.Model
  train_data (Iterator): a Iterator instance for training set
  val_data (Iterator):   A Iterator instance for validation set
  ```
class_docstr_tok: ["``","`","Main","class","used","to","tune","and","train","Keras","models","for","link","prediction","Main","parameters","are",":","model","(","Model",")",":","A","compiled","instance","of","keras.engine.training.Model","train_data","(","Iterator",")",":","a","Iterator","instance","for","training","set","val_data","(","Iterator",")",":","A","Iterator","instance","for","validation","set","``","`"]
docstr: ```
  Prints output of layer with index <layer_id> to help debug models.
  Uses first example (example_id=0) from training set, by default.
  ```
docstr_tok: ["``","`","Prints","output","of","layer","with","index","<","layer_id",">","to","help","debug","models",".","Uses","first","example","(","example_id=0",")","from","training","set",",","by","default",".","``","`"]
code: def layer_output(
      self, layer_id, example_id=0, batch_id=0, use_val=False
  ):
      """
      ```
      Prints output of layer with index <layer_id> to help debug models.
      Uses first example (example_id=0) from training set, by default.
      ```
      """
      raise Exception(
          "currently_unsupported: layer_output method is not yet supported for "
          + "graph neural networks in ktrain"
      )
  
file_path: ktrain/ktrain/graph/learner.py
imports: from ..None import utils
  from ..core import GenLearner
  from ..imports import *
label_desc: Use image node_id 3 for calling the LinkPredLearner obj's underlying member method code with example usage: obj.layer_output(layer_id, example_id, batch_id, use_val) without return types