protected String getOpClass ( Op op ) { if ( op instanceof ScalarOp ) { return "ScalarOp" ; } else if ( op instanceof MetaOp ) { return "MetaOp" ; } else if ( op instanceof GridOp ) { return "GridOp" ; } else if ( op instanceof BroadcastOp ) { return "BroadcastOp" ; } else if ( op instanceof RandomOp ) { return "RandomOp" ; } else if ( op instanceof Accumulation ) { return "AccumulationOp" ; } else if ( op instanceof TransformOp ) { if ( op . y ( ) == null ) { return "TransformOp" ; } else return "PairWiseTransformOp" ; } else if ( op instanceof IndexAccumulation ) { return "IndexAccumulationOp" ; } else if ( op instanceof CustomOp ) { return "CustomOp" ; } else return "Unknown Op calls" ; }
This method returns op class opName